跳转到主要内容

章节PHP Manual

Reference

333 页更新于 1 天前

开始阅读

本章内容333

  1. 01 book ENTITY PHP supports libcurl, a library created by Daniel Stenberg, that allows you to connect and communica... 1 天前
  2. 02 configure ENTITY To use PHP's cURL support you must also compile PHP --with-curl[=DIR] where DIR is the location of ... 1 天前
  3. 03 constants ENTITY ENTITY Descriptions and uses for these constants are described within the curl_setopt, curl_multi_... 1 天前
  4. 04 constants_curl_error CURLE_ABORTED_BY_CALLBACK ( int) Aborted by callback. A callback returned "abort" to libcurl. CURLE_BAD_CAL... 1 天前
  5. 05 constants_curl_getinfo CURLINFO_APPCONNECT_TIME ( int) Time in seconds it took from the start until the SSL/SSH connect/handshake ... 1 天前
  6. 06 constants_curl_multi CURLM_ADDED_ALREADY ( int) An easy handle already added to a multi handle was attempted to get added a seco... 1 天前
  7. 07 constants_curl_multi_setopt CURLMOPT_CHUNK_LENGTH_PENALTY_SIZE ( int) Specifies the chunk length threshold for pipelining in bytes. Ava... 1 天前
  8. 08 constants_curl_pause CURLPAUSE_ALL ( int) Pause sending and receiving data. Available as of cURL 7.18.0. CURLPAUSE_CONT ( int) U... 1 天前
  9. 09 constants_curl_setopt CURLOPT_ABSTRACT_UNIX_SOCKET ( int) Enables the use of an abstract Unix domain socket instead of establishi... 1 天前
  10. 10 constants_curl_share_setopt CURL_LOCK_DATA_CONNECT ( int) Shares/unshares the connection cache. Available as of PHP 7.3.0 and cURL 7.10... 1 天前
  11. 11 constants_curlproto CURLPROTO_ALL ( int) Available as of cURL 7.19.4. CURLPROTO_DICT ( int) Available as of cURL 7.19.4. CURLPR... 1 天前
  12. 12 curlfile ENTITY This class or CURLStringFile should be used to upload a file with CURLOPT_POSTFIELDS. Unserializat... 1 天前
  13. 13 construct CURLFile::__construct curl_file_create Create a CURLFile object ENTITY ENTITY public CURLFile::__construct ... 1 天前
  14. 14 getfilename CURLFile::getFilename Get file name ENTITY public string CURLFile::getFilename ENTITY ENTITY ENTITY Returns... 1 天前
  15. 15 getmimetype CURLFile::getMimeType Get MIME type ENTITY public string CURLFile::getMimeType ENTITY ENTITY ENTITY Returns... 1 天前
  16. 16 getpostfilename CURLFile::getPostFilename Get file name for POST ENTITY public string CURLFile::getPostFilename ENTITY ENTI... 1 天前
  17. 17 setmimetype CURLFile::setMimeType Set MIME type ENTITY public void CURLFile::setMimeType string mime_type ENTITY mime_t... 1 天前
  18. 18 setpostfilename CURLFile::setPostFilename Set file name for POST ENTITY public void CURLFile::setPostFilename string posted... 1 天前
  19. 19 curlhandle ENTITY A fully opaque class which replaces curl resources as of PHP 8.0.0. ENTITY final CurlHandle 1 天前
  20. 20 curlmultihandle ENTITY A fully opaque class which replaces curl_multi resources as of PHP 8.0.0. ENTITY final CurlMultiHandle 1 天前
  21. 21 curlsharehandle ENTITY A fully opaque class which replaces curl_share resources as of PHP 8.0.0. ENTITY final CurlShareHandle 1 天前
  22. 22 curlsharepersistenthandle ENTITY Represents a persistent cURL "share" handle, created by curl_share_init_persistent. Unlike CurlSha... 1 天前
  23. 23 curlstringfile ENTITY CURLStringFile makes it possible to upload a file directly from a variable. This is similar to CURL... 1 天前
  24. 24 construct CURLStringFile::__construct Create a CURLStringFile object ENTITY public CURLStringFile::__construct string... 1 天前
  25. 25 examples ENTITY Basic curl examples Once you've compiled PHP with cURL support, you can begin using the cURL functio... 1 天前
  26. 26 curl-close curl_close Close a cURL session ENTITY ENTITY #[\Deprecated(since: '8.5', message: "as it has no effect sin... 1 天前
  27. 27 curl-copy-handle curl_copy_handle Copy a cURL handle along with all of its preferences ENTITY CurlHandle false curl_copy_han... 1 天前
  28. 28 curl-errno curl_errno Return the last error number ENTITY int curl_errno CurlHandle handle Returns the error number fo... 1 天前
  29. 29 curl-error curl_error Return a string containing the last error for the current session ENTITY string curl_error CurlH... 1 天前
  30. 30 curl-escape curl_escape URL encodes the given string ENTITY string false curl_escape CurlHandle handle string string Th... 1 天前
  31. 31 curl-exec curl_exec Perform a cURL session ENTITY string bool curl_exec CurlHandle handle Execute the given cURL sess... 1 天前
  32. 32 curl-getinfo curl_getinfo Get information regarding a specific transfer ENTITY mixed curl_getinfo CurlHandle handle int ... 1 天前
  33. 33 curl-init curl_init Initialize a cURL session ENTITY CurlHandle false curl_init string null url ENTITY Initializes a ... 1 天前
  34. 34 curl-multi-add-handle curl_multi_add_handle Add a normal cURL handle to a cURL multi handle ENTITY int curl_multi_add_handle Curl... 1 天前
  35. 35 curl-multi-close curl_multi_close Remove all cURL handles from a multi handle ENTITY void curl_multi_close CurlMultiHandle m... 1 天前
  36. 36 curl-multi-errno curl_multi_errno Return the last multi curl error number ENTITY int curl_multi_errno CurlMultiHandle multi_... 1 天前
  37. 37 curl-multi-exec curl_multi_exec Processes each of the handles in the stack ENTITY int curl_multi_exec CurlMultiHandle multi... 1 天前
  38. 38 curl-multi-get-handles curl_multi_get_handles Return an array of CurlHandle objects currently attached to a CurlMultiHandle ENTITY... 1 天前
  39. 39 curl-multi-getcontent curl_multi_getcontent Return the content of a cURL handle if CURLOPT_RETURNTRANSFER is set ENTITY string nu... 1 天前
  40. 40 curl-multi-info-read curl_multi_info_read Get information about the current transfers ENTITY array false curl_multi_info_read Cu... 1 天前
  41. 41 curl-multi-init curl_multi_init Returns a new cURL multi handle ENTITY CurlMultiHandle curl_multi_init Allows the processin... 1 天前
  42. 42 curl-multi-remove-handle curl_multi_remove_handle Remove a handle from a set of cURL handles ENTITY int curl_multi_remove_handle Cur... 1 天前
  43. 43 curl-multi-select curl_multi_select Wait until reading or writing is possible for any cURL multi handle connection ENTITY int... 1 天前
  44. 44 curl-multi-setopt curl_multi_setopt Set a cURL multi option ENTITY bool curl_multi_setopt CurlMultiHandle multi_handle int op... 1 天前
  45. 45 curl-multi-strerror curl_multi_strerror Return string describing error code ENTITY string null curl_multi_strerror int error_co... 1 天前
  46. 46 curl-pause curl_pause Pause and unpause a connection ENTITY int curl_pause CurlHandle handle int flags Pause or unpaus... 1 天前
  47. 47 curl-reset curl_reset Reset all options of a libcurl session handle ENTITY void curl_reset CurlHandle handle This func... 1 天前
  48. 48 curl-setopt-array curl_setopt_array Set multiple options for a cURL transfer ENTITY bool curl_setopt_array CurlHandle handle ... 1 天前
  49. 49 curl-setopt curl_setopt Set an option for a cURL transfer ENTITY bool curl_setopt CurlHandle handle int option mixed va... 1 天前
  50. 50 curl-share-close curl_share_close Close a cURL share handle ENTITY ENTITY #[\Deprecated(since: '8.5', message: "as it has no... 1 天前
  51. 51 curl-share-errno curl_share_errno Return the last share curl error number ENTITY int curl_share_errno CurlShareHandle share_... 1 天前
  52. 52 curl-share-init-persistent curl_share_init_persistent Initialize a persistent cURL share handle ENTITY CurlSharePersistentHandle curl_... 1 天前
  53. 53 curl-share-init curl_share_init Initialize a cURL share handle ENTITY CurlShareHandle curl_share_init Allows to share data ... 1 天前
  54. 54 curl-share-setopt curl_share_setopt Set an option for a cURL share handle ENTITY bool curl_share_setopt CurlShareHandle share... 1 天前
  55. 55 curl-share-strerror curl_share_strerror Return string describing the given error code ENTITY string null curl_share_strerror in... 1 天前
  56. 56 curl-strerror curl_strerror Return string describing the given error code ENTITY string null curl_strerror int error_code... 1 天前
  57. 57 curl-unescape curl_unescape Decodes the given URL encoded string ENTITY string false curl_unescape CurlHandle handle stri... 1 天前
  58. 58 curl-upkeep curl_upkeep Performs any connection upkeep checks ENTITY bool curl_upkeep CurlHandle handle Available if bu... 1 天前
  59. 59 curl-version curl_version Gets cURL version information ENTITY array false curl_version Returns information about the cU... 1 天前
  60. 60 ini ENTITY ENTITY ENTITY ENTITY ENTITY ENTITY curl.cainfo NULL INI_SYSTEM cURL Configuration Options ENTITY ENT... 1 天前
  61. 61 reference ENTITY 1 天前
  62. 62 setup ENTITY ENTITY In order to use PHP's cURL functions you need to install the libcurl package. PHP requires li... 1 天前
  63. 63 book ENTITY This extension implements the JavaScript Object Notation (JSON) data-interchange format. PHP comes w... 1 天前
  64. 64 constants ENTITY ENTITY The following constants indicate the type of error returned by json_last_error or stored as ... 1 天前
  65. 65 json-decode json_decode Decodes a JSON string ENTITY mixed json_decode string json bool null associative ENTITY int dep... 1 天前
  66. 66 json-encode json_encode Returns the JSON representation of a value ENTITY string false json_encode mixed value int flag... 1 天前
  67. 67 json-last-error-msg json_last_error_msg Returns the error string of the last json_validate(), json_encode() or json_decode() ca... 1 天前
  68. 68 json-last-error json_last_error Returns the last error occurred ENTITY int json_last_error Returns the last error (if any) ... 1 天前
  69. 69 json-validate json_validate Checks if a string contains valid JSON ENTITY bool json_validate string json int depth 512 in... 1 天前
  70. 70 jsonexception ENTITY Exception thrown if JSON_THROW_ON_ERROR option is set for json_encode or json_decode. code conta... 1 天前
  71. 71 jsonserializable ENTITY Objects implementing JsonSerializable can customize their JSON representation when encoded with jso... 1 天前
  72. 72 jsonserialize JsonSerializable::jsonSerialize Specify data which should be serialized to JSON ENTITY public mixed JsonSer... 1 天前
  73. 73 reference ENTITY 1 天前
  74. 74 setup ENTITY ENTITY The JSON extension is a core PHP extension, so it is always enabled. Prior to PHP 8.0.0, the ... 1 天前
  75. 75 book ENTITY While there are many languages in which every necessary character can be represented by a one-to-one... 1 天前
  76. 76 configure ENTITY mbstring is a non-default extension. This means it is not enabled by default. You must explicitly en... 1 天前
  77. 77 constants ENTITY ENTITY MB_OVERLOAD_MAIL ( int) Removed as of PHP 8.0.0. MB_OVERLOAD_STRING ( int) Removed as of PHP ... 1 天前
  78. 78 PHP Character Encoding Requirements Encodings of the following types are safely used with PHP. A singlebyte encoding, which has ASCII-compatibl... 1 天前
  79. 79 Summaries of supported encodings Name in the IANA character set registry Underlying character set Description Additional note ISO-10646-UCS-... 1 天前
  80. 80 mb-check-encoding mb_check_encoding Check if strings are valid for the specified encoding ENTITY bool mb_check_encoding array... 1 天前
  81. 81 mb-chr mb_chr Return character by Unicode code point value ENTITY string false mb_chr int codepoint string null en... 1 天前
  82. 82 mb-convert-case mb_convert_case Perform case folding on a string ENTITY string mb_convert_case string string int mode strin... 1 天前
  83. 83 mb-convert-encoding mb_convert_encoding Convert a string from one character encoding to another ENTITY array string false mb_co... 1 天前
  84. 84 mb-convert-kana mb_convert_kana Convert "kana" one from another ("zen-kaku", "han-kaku" and more) ENTITY string mb_convert_... 1 天前
  85. 85 mb-convert-variables mb_convert_variables Convert character code in variable(s) ENTITY string false mb_convert_variables string ... 1 天前
  86. 86 mb-decode-mimeheader mb_decode_mimeheader Decode string in MIME header field ENTITY string mb_decode_mimeheader string string De... 1 天前
  87. 87 mb-decode-numericentity mb_decode_numericentity Decode HTML numeric string reference to character ENTITY string mb_decode_numericen... 1 天前
  88. 88 mb-detect-encoding mb_detect_encoding Detect character encoding ENTITY string false mb_detect_encoding string string array str... 1 天前
  89. 89 mb-detect-order mb_detect_order Set/Get character encoding detection order ENTITY array bool mb_detect_order array string n... 1 天前
  90. 90 mb-encode-mimeheader mb_encode_mimeheader Encode string for MIME header ENTITY string mb_encode_mimeheader string string string ... 1 天前
  91. 91 mb-encode-numericentity mb_encode_numericentity Encode character to HTML numeric string reference ENTITY string mb_encode_numericen... 1 天前
  92. 92 mb-encoding-aliases mb_encoding_aliases Get aliases of a known encoding type ENTITY array mb_encoding_aliases string encoding R... 1 天前
  93. 93 mb-ereg-match mb_ereg_match Regular expression match for multibyte string ENTITY bool mb_ereg_match string pattern string... 1 天前
  94. 94 mb-ereg-replace-callback mb_ereg_replace_callback Perform a regular expression search and replace with multibyte support using a cal... 1 天前
  95. 95 mb-ereg-replace mb_ereg_replace Replace regular expression with multibyte support ENTITY string false null mb_ereg_replace ... 1 天前
  96. 96 mb-ereg-search-getpos mb_ereg_search_getpos Returns start point for next regular expression match ENTITY int mb_ereg_search_getpo... 1 天前
  97. 97 mb-ereg-search-getregs mb_ereg_search_getregs Retrieve the result from the last multibyte regular expression match ENTITY array fa... 1 天前
  98. 98 mb-ereg-search-init mb_ereg_search_init Setup string and regular expression for a multibyte regular expression match ENTITY boo... 1 天前
  99. 99 mb-ereg-search-pos mb_ereg_search_pos Returns position and length of a matched part of the multibyte regular expression for a ... 1 天前
  100. 100 mb-ereg-search-regs mb_ereg_search_regs Returns the matched part of a multibyte regular expression ENTITY array false mb_ereg_s... 1 天前
  101. 101 mb-ereg-search-setpos mb_ereg_search_setpos Set start point of next regular expression match ENTITY bool mb_ereg_search_setpos in... 1 天前
  102. 102 mb-ereg-search mb_ereg_search Multibyte regular expression match for predefined multibyte string ENTITY bool mb_ereg_searc... 1 天前
  103. 103 mb-ereg mb_ereg Regular expression match with multibyte support ENTITY bool mb_ereg string pattern string string ar... 1 天前
  104. 104 mb-eregi-replace mb_eregi_replace Replace regular expression with multibyte support ignoring case ENTITY string false null m... 1 天前
  105. 105 mb-eregi mb_eregi Regular expression match ignoring case with multibyte support ENTITY bool mb_eregi string pattern ... 1 天前
  106. 106 mb-get-info mb_get_info Get internal settings of mbstring ENTITY array string int false null mb_get_info string type "a... 1 天前
  107. 107 mb-http-input mb_http_input Detect HTTP input character encoding ENTITY array string false mb_http_input string null type... 1 天前
  108. 108 mb-http-output mb_http_output Set/Get HTTP output character encoding ENTITY string bool mb_http_output string null encodin... 1 天前
  109. 109 mb-internal-encoding mb_internal_encoding Set/Get internal character encoding ENTITY string bool mb_internal_encoding string nul... 1 天前
  110. 110 mb-language mb_language Set/Get current language ENTITY string bool mb_language string null language ENTITY Set/Get the... 1 天前
  111. 111 mb-lcfirst mb_lcfirst Make a string's first character lowercase ENTITY string mb_lcfirst string string string null enc... 1 天前
  112. 112 mb-list-encodings mb_list_encodings Returns an array of all supported encodings ENTITY array mb_list_encodings Returns an arr... 1 天前
  113. 113 mb-ltrim mb_ltrim Strip whitespace (or other characters) from the beginning of a string ENTITY string mb_ltrim strin... 1 天前
  114. 114 mb-ord mb_ord Get Unicode code point of character ENTITY int false mb_ord string string string null encoding ENTIT... 1 天前
  115. 115 mb-output-handler mb_output_handler Callback function converts character encoding in output buffer ENTITY string mb_output_ha... 1 天前
  116. 116 mb-parse-str mb_parse_str Parse GET/POST/COOKIE data and set global variable ENTITY bool mb_parse_str string string arra... 1 天前
  117. 117 mb-preferred-mime-name mb_preferred_mime_name Get MIME charset string ENTITY string false mb_preferred_mime_name string encoding G... 1 天前
  118. 118 mb-regex-encoding mb_regex_encoding Set/Get character encoding for multibyte regex ENTITY string bool mb_regex_encoding strin... 1 天前
  119. 119 mb-regex-set-options mb_regex_set_options Set/Get the default options for mbregex functions ENTITY string mb_regex_set_options s... 1 天前
  120. 120 mb-rtrim mb_rtrim Strip whitespace (or other characters) from the end of a string ENTITY string mb_rtrim string stri... 1 天前
  121. 121 mb-scrub mb_scrub Replace ill-formed byte sequences with the substitute character ENTITY string mb_scrub string stri... 1 天前
  122. 122 mb-send-mail mb_send_mail Send encoded mail ENTITY bool mb_send_mail string to string subject string message array strin... 1 天前
  123. 123 mb-split mb_split Split multibyte string using regular expression ENTITY array false mb_split string pattern string ... 1 天前
  124. 124 mb-str-pad mb_str_pad Pad a multibyte string to a certain length with another multibyte string ENTITY string mb_str_pa... 1 天前
  125. 125 mb-str-split mb_str_split Given a multibyte string, return an array of its characters ENTITY array mb_str_split string s... 1 天前
  126. 126 mb-strcut mb_strcut Get part of string ENTITY string mb_strcut string string int start int null length ENTITY string ... 1 天前
  127. 127 mb-strimwidth mb_strimwidth Get truncated string with specified width ENTITY string mb_strimwidth string string int start... 1 天前
  128. 128 mb-stripos mb_stripos Finds position of first occurrence of a string within another, case insensitive ENTITY int false... 1 天前
  129. 129 mb-stristr mb_stristr Finds first occurrence of a string within another, case insensitive ENTITY string false mb_stris... 1 天前
  130. 130 mb-strlen mb_strlen Get string length ENTITY int mb_strlen string string string null encoding ENTITY Gets the length ... 1 天前
  131. 131 mb-strpos mb_strpos Find position of first occurrence of string in a string ENTITY int false mb_strpos string haystac... 1 天前
  132. 132 mb-strrchr mb_strrchr Finds the last occurrence of a character in a string within another ENTITY string false mb_strrc... 1 天前
  133. 133 mb-strrichr mb_strrichr Finds the last occurrence of a character in a string within another, case insensitive ENTITY st... 1 天前
  134. 134 mb-strripos mb_strripos Finds position of last occurrence of a string within another, case insensitive ENTITY int false... 1 天前
  135. 135 mb-strrpos mb_strrpos Find position of last occurrence of a string in a string ENTITY int false mb_strrpos string hays... 1 天前
  136. 136 mb-strstr mb_strstr Finds first occurrence of a string within another ENTITY string false mb_strstr string haystack s... 1 天前
  137. 137 mb-strtolower mb_strtolower Make a string lowercase ENTITY string mb_strtolower string string string null encoding ENTITY... 1 天前
  138. 138 mb-strtoupper mb_strtoupper Make a string uppercase ENTITY string mb_strtoupper string string string null encoding ENTITY... 1 天前
  139. 139 mb-strwidth mb_strwidth Return width of string ENTITY int mb_strwidth string string string null encoding ENTITY Returns... 1 天前
  140. 140 mb-substitute-character mb_substitute_character Set/Get substitution character ENTITY string int bool mb_substitute_character strin... 1 天前
  141. 141 mb-substr-count mb_substr_count Count the number of substring occurrences ENTITY int mb_substr_count string haystack string... 1 天前
  142. 142 mb-substr mb_substr Get part of string ENTITY string mb_substr string string int start int null length ENTITY string ... 1 天前
  143. 143 mb-trim mb_trim Strip whitespace (or other characters) from the beginning and end of a string ENTITY string mb_trim... 1 天前
  144. 144 mb-ucfirst mb_ucfirst Make a string's first character uppercase ENTITY string mb_ucfirst string string string null enc... 1 天前
  145. 145 HTTP Input and Output HTTP input/output character encoding conversion may convert binary data also. Users are supposed to control... 1 天前
  146. 146 ini ENTITY ENTITY ENTITY ENTITY ENTITY ENTITY mbstring.language "neutral" INI_ALL mbstring.detect_order NULL IN... 1 天前
  147. 147 Basics of Japanese multi-byte encodings Japanese characters can only be represented by multibyte encodings, and multiple encoding standards are use... 1 天前
  148. 148 Function Overloading Feature ENTITY You might often find it difficult to get an existing PHP application to work in a given multibyte en... 1 天前
  149. 149 reference Multibyte character encoding schemes and their related issues are fairly complicated, and are beyond the sc... 1 天前
  150. 150 setup ENTITY ENTITY ENTITY 1 天前
  151. 151 Supported Character Encodings Currently the following character encodings are supported by the mbstring module. Any of those Character e... 1 天前
  152. 152 book ENTITY The mysqli extension allows you to access the functionality provided by MySQL 4.1 and above. More i... 1 天前
  153. 153 configure ENTITY The mysqli extension was introduced with PHP version 5.0.0. The MySQL Native Driver was included in... 1 天前
  154. 154 constants ENTITY ENTITY MYSQLI_READ_DEFAULT_GROUP ( int) Read options from the named group from my.cnf or the file s... 1 天前
  155. 155 mysqli-execute mysqli_execute ENTITY mysqli_stmt_execute ENTITY ENTITY ENTITY mysqli_stmt_execute. ENTITY mysqli_stmt_exe... 1 天前
  156. 156 mysqli-get-client-stats mysqli_get_client_stats Returns client per-process statistics ENTITY array mysqli_get_client_stats Returns ... 1 天前
  157. 157 mysqli-get-links-stats mysqli_get_links_stats Return information about open and cached links ENTITY array mysqli_get_links_stats m... 1 天前
  158. 158 ini ENTITY ENTITY ENTITY ENTITY ENTITY ENTITY mysqli.allow_local_infile "0" INI_SYSTEM Before PHP 7.2.16 and 7.... 1 天前
  159. 159 mysqli ENTITY Represents a connection between PHP and a MySQL database. ENTITY mysqli ENTITY public readonly int s... 1 天前
  160. 160 affected-rows mysqli::$affected_rows mysqli_affected_rows Gets the number of affected rows in a previous MySQL operation ... 1 天前
  161. 161 autocommit mysqli::autocommit mysqli_autocommit Turns on or off auto-committing database modifications ENTITY ENTITY p... 1 天前
  162. 162 begin-transaction mysqli::begin_transaction mysqli_begin_transaction Starts a transaction ENTITY ENTITY public bool mysqli::b... 1 天前
  163. 163 change-user mysqli::change_user mysqli_change_user Changes the user of the database connection ENTITY ENTITY public boo... 1 天前
  164. 164 character-set-name mysqli::character_set_name mysqli_character_set_name Returns the current character set of the database conn... 1 天前
  165. 165 close mysqli::close mysqli_close Closes a previously opened database connection ENTITY ENTITY public true mysqli:... 1 天前
  166. 166 commit mysqli::commit mysqli_commit Commits the current transaction ENTITY ENTITY public bool mysqli::commit int f... 1 天前
  167. 167 connect-errno mysqli::$connect_errno mysqli_connect_errno Returns the error code from last connect call ENTITY ENTITY int... 1 天前
  168. 168 connect-error mysqli::$connect_error mysqli_connect_error Returns a description of the last connection error ENTITY ENTIT... 1 天前
  169. 169 construct mysqli::__construct mysqli::connect mysqli_connect Open a new connection to the MySQL server ENTITY ENTITY ... 1 天前
  170. 170 debug mysqli::debug mysqli_debug Performs debugging operations ENTITY ENTITY public true mysqli::debug string opt... 1 天前
  171. 171 dump-debug-info mysqli::dump_debug_info mysqli_dump_debug_info Dump debugging information into the log ENTITY ENTITY public... 1 天前
  172. 172 errno mysqli::$errno mysqli_errno Returns the error code for the most recent function call ENTITY ENTITY int mysq... 1 天前
  173. 173 error-list mysqli::$error_list mysqli_error_list Returns a list of errors from the last command executed ENTITY ENTITY... 1 天前
  174. 174 error mysqli::$error mysqli_error Returns a string description of the last error ENTITY ENTITY string mysqli-ENTI... 1 天前
  175. 175 escape-string mysqli::escape_string mysqli_escape_string ENTITY mysqli_real_escape_string ENTITY ENTITY mysqli_real_esca... 1 天前
  176. 176 execute-query mysqli::execute_query mysqli_execute_query Prepares, binds parameters, and executes SQL statement ENTITY EN... 1 天前
  177. 177 field-count mysqli::$field_count mysqli_field_count Returns the number of columns for the most recent query ENTITY ENTI... 1 天前
  178. 178 get-charset mysqli::get_charset mysqli_get_charset Returns a character set object ENTITY ENTITY public object null mysq... 1 天前
  179. 179 get-client-info mysqli::$client_info mysqli::get_client_info mysqli_get_client_info Get MySQL client info ENTITY ENTITY str... 1 天前
  180. 180 get-client-version mysqli::$client_version mysqli_get_client_version Returns the MySQL client version as an integer ENTITY ENT... 1 天前
  181. 181 get-connection-stats mysqli::get_connection_stats mysqli_get_connection_stats Returns statistics about the client connection ENT... 1 天前
  182. 182 get-host-info mysqli::$host_info mysqli_get_host_info Returns a string representing the type of connection used ENTITY EN... 1 天前
  183. 183 get-proto-info mysqli::$protocol_version mysqli_get_proto_info Returns the version of the MySQL protocol used ENTITY ENTIT... 1 天前
  184. 184 get-server-info mysqli::$server_info mysqli::get_server_info mysqli_get_server_info Returns the version of the MySQL server... 1 天前
  185. 185 get-server-version mysqli::$server_version mysqli_get_server_version Returns the version of the MySQL server as an integer ENT... 1 天前
  186. 186 get-warnings mysqli::get_warnings mysqli_get_warnings Get result of SHOW WARNINGS ENTITY ENTITY public mysqli_warning fa... 1 天前
  187. 187 info mysqli::$info mysqli_info Retrieves information about the most recently executed query ENTITY ENTITY string... 1 天前
  188. 188 init mysqli::init mysqli_init Initializes MySQLi and returns an object for use with mysqli_real_connect() ENTITY... 1 天前
  189. 189 insert-id mysqli::$insert_id mysqli_insert_id Returns the value generated for an AUTO_INCREMENT column by the last qu... 1 天前
  190. 190 kill mysqli::kill mysqli_kill Asks the server to kill a MySQL thread ENTITY ENTITY ENTITY #[\Deprecated(since: '... 1 天前
  191. 191 more-results mysqli::more_results mysqli_more_results Check if there are any more query results from a multi query ENTIT... 1 天前
  192. 192 multi-query mysqli::multi_query mysqli_multi_query Performs one or more queries on the database ENTITY ENTITY public bo... 1 天前
  193. 193 next-result mysqli::next_result mysqli_next_result Prepare next result from multi_query ENTITY ENTITY public bool mysql... 1 天前
  194. 194 options mysqli::options mysqli_options Set options ENTITY ENTITY public bool mysqli::options int option string int ... 1 天前
  195. 195 ping mysqli::ping mysqli_ping Pings a server connection, or tries to reconnect if the connection has gone down E... 1 天前
  196. 196 poll mysqli::poll mysqli_poll Poll connections ENTITY ENTITY public static int false mysqli::poll array null rea... 1 天前
  197. 197 prepare mysqli::prepare mysqli_prepare Prepares an SQL statement for execution ENTITY ENTITY public mysqli_stmt fal... 1 天前
  198. 198 query mysqli::query mysqli_query Performs a query on the database ENTITY ENTITY public mysqli_result bool mysqli:... 1 天前
  199. 199 quote-string mysqli::quote_string mysqli_quote_string Quotes and escapes a string for use in an SQL statement ENTITY ENT... 1 天前
  200. 200 real-connect mysqli::real_connect mysqli_real_connect Opens a connection to the MySQL server ENTITY ENTITY public bool m... 1 天前
  201. 201 real-escape-string mysqli::real_escape_string mysqli_real_escape_string Escapes special characters in a string for use in an S... 1 天前
  202. 202 real-query mysqli::real_query mysqli_real_query Execute an SQL query ENTITY ENTITY public bool mysqli::real_query stri... 1 天前
  203. 203 reap-async-query mysqli::reap_async_query mysqli_reap_async_query Get result from async query ENTITY ENTITY public mysqli_re... 1 天前
  204. 204 refresh mysqli::refresh mysqli_refresh Refreshes ENTITY ENTITY ENTITY #[\Deprecated(since: '8.4', message: 'use FLU... 1 天前
  205. 205 release-savepoint mysqli::release_savepoint mysqli_release_savepoint Removes the named savepoint from the set of savepoints o... 1 天前
  206. 206 rollback mysqli::rollback mysqli_rollback Rolls back current transaction ENTITY ENTITY public bool mysqli::rollback ... 1 天前
  207. 207 savepoint mysqli::savepoint mysqli_savepoint Set a named transaction savepoint ENTITY ENTITY public bool mysqli::save... 1 天前
  208. 208 select-db mysqli::select_db mysqli_select_db Selects the default database for database queries ENTITY ENTITY public b... 1 天前
  209. 209 set-charset mysqli::set_charset mysqli_set_charset Sets the client character set ENTITY ENTITY public bool mysqli::set_... 1 天前
  210. 210 set-opt mysqli::set_opt mysqli_set_opt ENTITY mysqli_options ENTITY ENTITY mysqli_options. 1 天前
  211. 211 sqlstate mysqli::$sqlstate mysqli_sqlstate Returns the SQLSTATE error from previous MySQL operation ENTITY ENTITY st... 1 天前
  212. 212 ssl-set mysqli::ssl_set mysqli_ssl_set Used for establishing secure connections using SSL ENTITY ENTITY public true... 1 天前
  213. 213 stat mysqli::stat mysqli_stat Gets the current system status ENTITY ENTITY public string false mysqli::stat ENTI... 1 天前
  214. 214 stmt-init mysqli::stmt_init mysqli_stmt_init Initializes a statement and returns an object for use with mysqli_stmt_p... 1 天前
  215. 215 store-result mysqli::store_result mysqli_store_result Transfers a result set from the last query ENTITY ENTITY public my... 1 天前
  216. 216 thread-id mysqli::$thread_id mysqli_thread_id Returns the thread ID for the current connection ENTITY ENTITY int mysq... 1 天前
  217. 217 thread-safe mysqli::thread_safe mysqli_thread_safe Returns whether thread safety is given or not ENTITY ENTITY public b... 1 天前
  218. 218 use-result mysqli::use_result mysqli_use_result Initiate a result set retrieval ENTITY ENTITY public mysqli_result fal... 1 天前
  219. 219 warning-count mysqli::$warning_count mysqli_warning_count Returns the number of warnings generated by the most recently e... 1 天前
  220. 220 mysqli_driver ENTITY The mysqli_driver class is an instance of the monostate pattern, i.e. there is only one driver whic... 1 天前
  221. 221 embedded-server-end mysqli_driver::embedded_server_end mysqli_embedded_server_end Stop embedded server ENTITY ENTITY ENTITY pub... 1 天前
  222. 222 embedded-server-start mysqli_driver::embedded_server_start mysqli_embedded_server_start Initialize and start embedded server ENTI... 1 天前
  223. 223 report-mode mysqli_driver::$report_mode mysqli_report Sets mysqli error reporting mode ENTITY ENTITY int mysqli_driver-... 1 天前
  224. 224 mysqli_result ENTITY Represents the result set obtained from a query against the database. ENTITY mysqli_result implement... 1 天前
  225. 225 construct mysqli_result::__construct Constructs a mysqli_result object ENTITY public mysqli_result::__construct mysql... 1 天前
  226. 226 current-field mysqli_result::$current_field mysqli_field_tell Get current field offset of a result pointer ENTITY ENTITY ... 1 天前
  227. 227 data-seek mysqli_result::data_seek mysqli_data_seek Adjusts the result pointer to an arbitrary row in the result ENTI... 1 天前
  228. 228 fetch-all mysqli_result::fetch_all mysqli_fetch_all Fetch all result rows as an associative array, a numeric array, o... 1 天前
  229. 229 fetch-array mysqli_result::fetch_array mysqli_fetch_array Fetch the next row of a result set as an associative, a numer... 1 天前
  230. 230 fetch-assoc mysqli_result::fetch_assoc mysqli_fetch_assoc Fetch the next row of a result set as an associative array EN... 1 天前
  231. 231 fetch-column mysqli_result::fetch_column mysqli_fetch_column Fetch a single column from the next row of a result set ENT... 1 天前
  232. 232 fetch-field-direct mysqli_result::fetch_field_direct mysqli_fetch_field_direct Fetch meta-data for a single field ENTITY ENTIT... 1 天前
  233. 233 fetch-field mysqli_result::fetch_field mysqli_fetch_field Returns the next field in the result set ENTITY ENTITY public... 1 天前
  234. 234 fetch-fields mysqli_result::fetch_fields mysqli_fetch_fields Returns an array of objects representing the fields in a re... 1 天前
  235. 235 fetch-object mysqli_result::fetch_object mysqli_fetch_object Fetch the next row of a result set as an object ENTITY ENTI... 1 天前
  236. 236 fetch-row mysqli_result::fetch_row mysqli_fetch_row Fetch the next row of a result set as an enumerated array ENTITY ... 1 天前
  237. 237 field-count mysqli_result::$field_count mysqli_num_fields Gets the number of fields in the result set ENTITY ENTITY int... 1 天前
  238. 238 field-seek mysqli_result::field_seek mysqli_field_seek Set result pointer to a specified field offset ENTITY ENTITY pu... 1 天前
  239. 239 free mysqli_result::free mysqli_result::close mysqli_result::free_result mysqli_free_result Frees the memory ass... 1 天前
  240. 240 getiterator mysqli_result::getIterator Retrieve an external iterator ENTITY public Iterator mysqli_result::getIterator ... 1 天前
  241. 241 lengths mysqli_result::$lengths mysqli_fetch_lengths Returns the lengths of the columns of the current row in the r... 1 天前
  242. 242 num-rows mysqli_result::$num_rows mysqli_num_rows Gets the number of rows in the result set ENTITY ENTITY int string... 1 天前
  243. 243 mysqli_sql_exception ENTITY The mysqli exception handling class. ENTITY final mysqli_sql_exception extends RuntimeException ENTI... 1 天前
  244. 244 getsqlstate mysqli_sql_exception::getSqlState Returns the SQLSTATE error code ENTITY public string mysqli_sql_exception... 1 天前
  245. 245 mysqli_stmt ENTITY Represents a prepared statement. ENTITY mysqli_stmt ENTITY public readonly int string affected_rows ... 1 天前
  246. 246 affected-rows mysqli_stmt::$affected_rows mysqli_stmt_affected_rows Returns the total number of rows changed, deleted, in... 1 天前
  247. 247 attr-get mysqli_stmt::attr_get mysqli_stmt_attr_get Used to get the current value of a statement attribute ENTITY EN... 1 天前
  248. 248 attr-set mysqli_stmt::attr_set mysqli_stmt_attr_set Used to modify the behavior of a prepared statement ENTITY ENTIT... 1 天前
  249. 249 bind-param mysqli_stmt::bind_param mysqli_stmt_bind_param Binds variables to a prepared statement as parameters ENTITY... 1 天前
  250. 250 bind-result mysqli_stmt::bind_result mysqli_stmt_bind_result Binds variables to a prepared statement for result storage... 1 天前
  251. 251 close mysqli_stmt::close mysqli_stmt_close Closes a prepared statement ENTITY ENTITY public true mysqli_stmt::clo... 1 天前
  252. 252 construct mysqli_stmt::__construct Constructs a new mysqli_stmt object ENTITY public mysqli_stmt::__construct mysqli ... 1 天前
  253. 253 data-seek mysqli_stmt::data_seek mysqli_stmt_data_seek Adjusts the result pointer to an arbitrary row in the buffered... 1 天前
  254. 254 errno mysqli_stmt::$errno mysqli_stmt_errno Returns the error code for the most recent statement call ENTITY ENTI... 1 天前
  255. 255 error-list mysqli_stmt::$error_list mysqli_stmt_error_list Returns a list of errors from the last statement executed E... 1 天前
  256. 256 error mysqli_stmt::$error mysqli_stmt_error Returns a string description for last statement error ENTITY ENTITY s... 1 天前
  257. 257 execute mysqli_stmt::execute mysqli_stmt_execute Executes a prepared statement ENTITY ENTITY public bool mysqli_stm... 1 天前
  258. 258 fetch mysqli_stmt::fetch mysqli_stmt_fetch Fetch results from a prepared statement into the bound variables ENTIT... 1 天前
  259. 259 field-count mysqli_stmt::$field_count mysqli_stmt_field_count Returns the number of columns in the given statement ENTI... 1 天前
  260. 260 free-result mysqli_stmt::free_result mysqli_stmt_free_result Frees stored result memory for the given statement handle ... 1 天前
  261. 261 get-result mysqli_stmt::get_result mysqli_stmt_get_result Gets a result set from a prepared statement as a mysqli_resu... 1 天前
  262. 262 get-warnings mysqli_stmt::get_warnings mysqli_stmt_get_warnings Get result of SHOW WARNINGS ENTITY ENTITY public mysqli_... 1 天前
  263. 263 insert-id mysqli_stmt::$insert_id mysqli_stmt_insert_id Returns the value generated for an AUTO_INCREMENT column by t... 1 天前
  264. 264 more-results mysqli_stmt::more_results mysqli_stmt_more_results Check if there are more query results from a multiple qu... 1 天前
  265. 265 next-result mysqli_stmt::next_result mysqli_stmt_next_result Reads the next result from a multiple query ENTITY ENTITY ... 1 天前
  266. 266 num-rows mysqli_stmt::$num_rows mysqli_stmt::num_rows mysqli_stmt_num_rows Returns the number of rows fetched from t... 1 天前
  267. 267 param-count mysqli_stmt::$param_count mysqli_stmt_param_count Returns the number of parameters for the given statement ... 1 天前
  268. 268 prepare mysqli_stmt::prepare mysqli_stmt_prepare Prepares an SQL statement for execution ENTITY ENTITY public bool ... 1 天前
  269. 269 reset mysqli_stmt::reset mysqli_stmt_reset Resets a prepared statement ENTITY ENTITY public bool mysqli_stmt::res... 1 天前
  270. 270 result-metadata mysqli_stmt::result_metadata mysqli_stmt_result_metadata Returns result set metadata from a prepared statem... 1 天前
  271. 271 send-long-data mysqli_stmt::send_long_data mysqli_stmt_send_long_data Send data in blocks ENTITY ENTITY public bool mysqli... 1 天前
  272. 272 sqlstate mysqli_stmt::$sqlstate mysqli_stmt_sqlstate Returns SQLSTATE error from previous statement operation ENTITY... 1 天前
  273. 273 store-result mysqli_stmt::store_result mysqli_stmt_store_result Stores a result set in an internal buffer ENTITY ENTITY ... 1 天前
  274. 274 mysqli_warning ENTITY Represents a MySQL warning. ENTITY final mysqli_warning ENTITY public string message public string s... 1 天前
  275. 275 construct mysqli_warning::__construct Private constructor to disallow direct instantiation ENTITY private mysqli_warn... 1 天前
  276. 276 next mysqli_warning::next Fetch next warning ENTITY public bool mysqli_warning::next Change warning information ... 1 天前
  277. 277 Overview This section provides an introduction to the options available to you when developing a PHP application tha... 1 天前
  278. 278 The mysqli Extension and Persistent Connections The idea behind persistent connections is that a connection between a client process and a database can be ... 1 天前
  279. 279 Quick start guide This quick start guide will help with choosing and gaining familiarity with the PHP MySQL API. This quick s... 1 天前
  280. 280 reference ENTITY 1 天前
  281. 281 setup ENTITY ENTITY In order to have these functions available, you must compile PHP with support for the mysqli ... 1 天前
  282. 282 book ENTITY Session support in PHP consists of a way to preserve certain data across subsequent accesses. A visi... 1 天前
  283. 283 configure ENTITY ENTITY --disable-session To use shared memory allocation (mm) for session storage configure PHP --... 1 天前
  284. 284 constants ENTITY ENTITY SID ( string) Constant containing either the session name and session ID in the form of "nam... 1 天前
  285. 285 examples ENTITY Basic usage Sessions are a simple way to store data for individual users against a unique session ID... 1 天前
  286. 286 session-abort session_abort Discard session array changes and finish session ENTITY bool session_abort session_abort fini... 1 天前
  287. 287 session-cache-expire session_cache_expire Get and/or set current cache expire ENTITY int false session_cache_expire int null val... 1 天前
  288. 288 session-cache-limiter session_cache_limiter Get and/or set the current cache limiter ENTITY string false session_cache_limiter st... 1 天前
  289. 289 session-commit session_commit ENTITY session_write_close ENTITY ENTITY session_write_close. 1 天前
  290. 290 session-create-id session_create_id Create new session id ENTITY string false session_create_id string prefix "" session_crea... 1 天前
  291. 291 session-decode session_decode Decodes session data from a session encoded string ENTITY bool session_decode string data se... 1 天前
  292. 292 session-destroy session_destroy Destroys all data registered to a session ENTITY bool session_destroy session_destroy destr... 1 天前
  293. 293 session-encode session_encode Encodes the current session data as a session encoded string ENTITY string false session_enc... 1 天前
  294. 294 session-gc session_gc Perform session data garbage collection ENTITY int false session_gc By default, PHP uses session... 1 天前
  295. 295 session-get-cookie-params session_get_cookie_params Get the session cookie parameters ENTITY array session_get_cookie_params Gets the... 1 天前
  296. 296 session-id session_id Get and/or set the current session id ENTITY string false session_id string null id ENTITY sessi... 1 天前
  297. 297 session-module-name session_module_name Get and/or set the current session module ENTITY string false session_module_name strin... 1 天前
  298. 298 session-name session_name Get and/or set the current session name ENTITY string false session_name string null name ENTI... 1 天前
  299. 299 session-regenerate-id session_regenerate_id Update the current session id with a newly generated one ENTITY bool session_regenera... 1 天前
  300. 300 session-register-shutdown session_register_shutdown Session shutdown function ENTITY void session_register_shutdown Registers sessio... 1 天前
  301. 301 session-reset session_reset Re-initialize session array with original values ENTITY bool session_reset session_reset rein... 1 天前
  302. 302 session-save-path session_save_path Get and/or set the current session save path ENTITY string false session_save_path string... 1 天前
  303. 303 session-set-cookie-params session_set_cookie_params Set the session cookie parameters ENTITY bool session_set_cookie_params int lifet... 1 天前
  304. 304 session-set-save-handler session_set_save_handler Sets user-level session storage functions ENTITY bool session_set_save_handler cal... 1 天前
  305. 305 session-start session_start Start new or resume existing session ENTITY bool session_start array options [] session_start... 1 天前
  306. 306 session-status session_status Returns the current session status ENTITY int session_status session_status is used to retur... 1 天前
  307. 307 session-unset session_unset Free all session variables ENTITY bool session_unset The session_unset function frees all se... 1 天前
  308. 308 session-write-close session_write_close Write session data and end session ENTITY bool session_write_close End the current sess... 1 天前
  309. 309 ini ENTITY ENTITY ENTITY ENTITY ENTITY ENTITY session.save_path "" INI_ALL session.name "PHPSESSID" INI_ALL ses... 1 天前
  310. 310 reference ENTITY 1 天前
  311. 311 Sessions and Security External links: Session fixation HTTP session management represents the core of web security. All possible ... 1 天前
  312. 312 sessionhandler ENTITY SessionHandler is a special class that can be used to expose the current internal PHP session save h... 1 天前
  313. 313 close SessionHandler::close Close the session ENTITY public bool SessionHandler::close Closes the current session... 1 天前
  314. 314 create-sid SessionHandler::create_sid Return a new session ID ENTITY public string SessionHandler::create_sid Generate... 1 天前
  315. 315 destroy SessionHandler::destroy Destroy a session ENTITY public bool SessionHandler::destroy string id Destroys a s... 1 天前
  316. 316 gc SessionHandler::gc Cleanup old sessions ENTITY public int false SessionHandler::gc int max_lifetime Cleans ... 1 天前
  317. 317 open SessionHandler::open Initialize session ENTITY public bool SessionHandler::open string path string name Cre... 1 天前
  318. 318 read SessionHandler::read Read session data ENTITY public string false SessionHandler::read string id Reads the ... 1 天前
  319. 319 write SessionHandler::write Write session data ENTITY public bool SessionHandler::write string id string data Wri... 1 天前
  320. 320 sessionhandlerinterface ENTITY SessionHandlerInterface is an interface which defines the minimal prototype for creating a custom se... 1 天前
  321. 321 close SessionHandlerInterface::close Close the session ENTITY public bool SessionHandlerInterface::close Closes t... 1 天前
  322. 322 destroy SessionHandlerInterface::destroy Destroy a session ENTITY public bool SessionHandlerInterface::destroy stri... 1 天前
  323. 323 gc SessionHandlerInterface::gc Cleanup old sessions ENTITY public int false SessionHandlerInterface::gc int ma... 1 天前
  324. 324 open SessionHandlerInterface::open Initialize session ENTITY public bool SessionHandlerInterface::open string pa... 1 天前
  325. 325 read SessionHandlerInterface::read Read session data ENTITY public string false SessionHandlerInterface::read st... 1 天前
  326. 326 write SessionHandlerInterface::write Write session data ENTITY public bool SessionHandlerInterface::write string ... 1 天前
  327. 327 sessionidinterface ENTITY SessionIdInterface is an interface which defines optional methods for creating a custom session hand... 1 天前
  328. 328 create-sid SessionIdInterface::create_sid Create session ID ENTITY public string SessionIdInterface::create_sid Create... 1 天前
  329. 329 sessionupdatetimestamphandlerinterface ENTITY SessionUpdateTimestampHandlerInterface is an interface which defines optional methods for creating a... 1 天前
  330. 330 updatetimestamp SessionUpdateTimestampHandlerInterface::updateTimestamp Update timestamp ENTITY public bool SessionUpdateTi... 1 天前
  331. 331 validateid SessionUpdateTimestampHandlerInterface::validateId Validate ID ENTITY public bool SessionUpdateTimestampHan... 1 天前
  332. 332 setup ENTITY ENTITY ENTITY [!NOTE] Optionally you can use shared memory allocation (mm), developed by Ralf S. Eng... 1 天前
  333. 333 Session Upload Progress When the session.upload_progress.enabled INI option is enabled, PHP will be able to track the upload progre... 1 天前