, doe@example.com Note: This string must not include the header name.",
"name": "addresses"
}
],
"path": "php/function.mailparse-rfc822-parse-addresses",
"syntax": "array mailparse_rfc822_parse_addresses ( string $addresses )",
"type": "Mail"
},
"mailparse_stream_encode": {
"descr": "Streams data from the source file pointer, apply encoding and write to the destination file pointer.",
"name": "mailparse_stream_encode",
"params": [
{
"descr": "A valid file handle. The file is streamed through the parser.",
"name": "sourcefp"
},
{
"descr": "The destination file handle in which the encoded data will be written.",
"name": "destfp"
},
{
"descr": "One of the character encodings supported by the mbstring module.",
"name": "encoding"
}
],
"path": "php/function.mailparse-stream-encode",
"syntax": "bool mailparse_stream_encode ( resource $sourcefp , resource $destfp , string $encoding )",
"type": "Mail"
},
"mailparse_uudecode_all": {
"descr": "Scans the data from the given file pointer and extract each embedded uuencoded file into a temporary file.",
"name": "mailparse_uudecode_all",
"params": [
{
"descr": "A valid file pointer.",
"name": "fp"
}
],
"path": "php/function.mailparse-uudecode-all",
"syntax": "array mailparse_uudecode_all ( resource $fp )",
"type": "Mail"
},
"max": {
"descr": "If the first and only parameter is an array, max() returns the highest value in that array. If at least two parameters are provided, max() returns the biggest of these values.",
"name": "max",
"params": [
{
"descr": "An array containing the values.",
"name": "values"
},
{
"descr": "Any comparable value.",
"name": "value1"
},
{
"descr": "Any comparable value.",
"name": "value2"
},
{
"descr": "Any comparable value.",
"name": "..."
}
],
"path": "php/function.max",
"syntax": "mixed max ( array $values )",
"type": "Mathematics"
},
"mb_check_encoding": {
"descr": "Checks if the specified byte stream is valid for the specified encoding. It is useful to prevent so-called \"Invalid Encoding Attack\".",
"name": "mb_check_encoding",
"params": [
{
"descr": "The byte stream to check. If it is omitted, this function checks all the input from the beginning of the request.",
"name": "var"
},
{
"descr": "The expected encoding.",
"name": "encoding"
}
],
"path": "php/function.mb-check-encoding",
"syntax": "bool mb_check_encoding ([ string $var = NULL [, string $encoding = mb_internal_encoding() ]] )",
"type": "Encoding"
},
"mb_convert_case": {
"descr": "Performs case folding on a string, converted in the way specified by mode.",
"name": "mb_convert_case",
"params": [
{
"descr": "The string being converted.",
"name": "str"
},
{
"descr": "The mode of the conversion. It can be one of MB_CASE_UPPER, MB_CASE_LOWER, or MB_CASE_TITLE.",
"name": "mode"
},
{
"descr": "The encoding parameter is the character encoding. ",
"name": "encoding"
}
],
"path": "php/function.mb-convert-case",
"syntax": "string mb_convert_case ( string $str , int $mode [, string $encoding = mb_internal_encoding() ] )",
"type": "Encoding"
},
"mb_convert_encoding": {
"descr": "Converts the character encoding of string str to to_encoding from optionally from_encoding.",
"name": "mb_convert_encoding",
"params": [
{
"descr": "The string being encoded.",
"name": "str"
},
{
"descr": "The type of encoding that str is being converted to.",
"name": "to_encoding"
},
{
"descr": "Is specified by character code names before conversion. ",
"name": "from_encoding"
}
],
"path": "php/function.mb-convert-encoding",
"syntax": "string mb_convert_encoding ( string $str , string $to_encoding [, mixed $from_encoding = mb_internal_encoding() ] )",
"type": "Encoding"
},
"mb_convert_kana": {
"descr": "Performs a \"han-kaku\" - \"zen-kaku\" conversion for string str. This function is only useful for Japanese.",
"name": "mb_convert_kana",
"params": [
{
"descr": "The string being converted.",
"name": "str"
},
{
"descr": "The conversion option. Specify with a combination of following options. ",
"name": "option"
},
{
"descr": "The encoding parameter is the character encoding. ",
"name": "encoding"
}
],
"path": "php/function.mb-convert-kana",
"syntax": "string mb_convert_kana ( string $str [, string $option = \"KV\" [, string $encoding = mb_internal_encoding() ]] )",
"type": "Encoding"
},
"mb_convert_variables": {
"descr": "Converts character encoding of variables vars in encoding from_encoding to encoding to_encoding.",
"name": "mb_convert_variables",
"params": [
{
"descr": "The encoding that the string is being converted to.",
"name": "to_encoding"
},
{
"descr": "from_encoding is specified as an array or comma separated string, it tries to detect encoding from from-coding. ",
"name": "from_encoding"
},
{
"descr": "vars is the reference to the variable being converted. ",
"name": "vars"
},
{
"descr": "Additional vars.",
"name": "..."
}
],
"path": "php/function.mb-convert-variables",
"syntax": "string mb_convert_variables ( string $to_encoding , mixed $from_encoding , mixed &$vars [, mixed &$... ] )",
"type": "Encoding"
},
"mb_decode_mimeheader": {
"descr": "Decodes encoded-word string str in MIME header.",
"name": "mb_decode_mimeheader",
"params": [
{
"descr": "The string being decoded.",
"name": "str"
}
],
"path": "php/function.mb-decode-mimeheader",
"syntax": "string mb_decode_mimeheader ( string $str )",
"type": "Encoding"
},
"mb_decode_numericentity": {
"descr": "Convert numeric string reference of string str in a specified block to character.",
"name": "mb_decode_numericentity",
"params": [
{
"descr": "The string being decoded.",
"name": "str"
},
{
"descr": "convmap is an array that specifies the code area to convert.",
"name": "convmap"
},
{
"descr": "The encoding parameter is the character encoding. ",
"name": "encoding"
}
],
"path": "php/function.mb-decode-numericentity",
"syntax": "string mb_decode_numericentity ( string $str , array $convmap [, string $encoding = mb_internal_encoding() ] )",
"type": "Encoding"
},
"mb_detect_encoding": {
"descr": "Detects character encoding in string str.",
"name": "mb_detect_encoding",
"params": [
{
"descr": "The string being detected.",
"name": "str"
},
{
"descr": "encoding_list is list of character encoding. ",
"name": "encoding_list"
},
{
"descr": "strict specifies whether to use the strict encoding detection or not. ",
"name": "strict"
}
],
"path": "php/function.mb-detect-encoding",
"syntax": "string mb_detect_encoding ( string $str [, mixed $encoding_list = mb_detect_order() [, bool $strict = false ]] )",
"type": "Encoding"
},
"mb_detect_order": {
"descr": "Sets the automatic character encoding detection order to encoding_list.",
"name": "mb_detect_order",
"params": [
{
"descr": "encoding_list is an array or comma separated list of character encoding. ",
"name": "encoding_list"
}
],
"path": "php/function.mb-detect-order",
"syntax": "mixed mb_detect_order ([ mixed $encoding_list = mb_detect_order() ] )",
"type": "Encoding"
},
"mb_encode_mimeheader": {
"descr": "Encodes a given string str by the MIME header encoding scheme.",
"name": "mb_encode_mimeheader",
"params": [
{
"descr": "The string being encoded.",
"name": "str"
},
{
"descr": "charset specifies the name of the character set in which str is represented in. ",
"name": "charset"
},
{
"descr": "transfer_encoding specifies the scheme of MIME encoding. ",
"name": "transfer_encoding"
},
{
"descr": "linefeed specifies the EOL (end-of-line) marker with which mb_encode_mimeheader() performs line-folding (a \u00bb RFC term, the act of breaking a line longer than a certain length into multiple lines. ",
"name": "linefeed"
},
{
"descr": "Indentation of the first line (number of characters in the header before str).",
"name": "indent"
}
],
"path": "php/function.mb-encode-mimeheader",
"syntax": "string mb_encode_mimeheader ( string $str [, string $charset = mb_internal_encoding() [, string $transfer_encoding = \"B\" [, string $linefeed = \"\\r\\n\" [, int $indent = 0 ]]]] )",
"type": "Encoding"
},
"mb_encode_numericentity": {
"descr": "Converts specified character codes in string str from HTML numeric character reference to character code.",
"name": "mb_encode_numericentity",
"params": [
{
"descr": "The string being encoded.",
"name": "str"
},
{
"descr": "convmap is array specifies code area to convert.",
"name": "convmap"
},
{
"descr": "The encoding parameter is the character encoding. ",
"name": "encoding"
}
],
"path": "php/function.mb-encode-numericentity",
"syntax": "string mb_encode_numericentity ( string $str , array $convmap [, string $encoding = mb_internal_encoding() [, bool $is_hex = FALSE ]] )",
"type": "Encoding"
},
"mb_encoding_aliases": {
"descr": "Returns an array of aliases for a known encoding type.",
"name": "mb_encoding_aliases",
"params": [
{
"descr": "The encoding type being checked, for aliases.",
"name": "encoding"
}
],
"path": "php/function.mb-encoding-aliases",
"syntax": "array mb_encoding_aliases ( string $encoding )",
"type": "Encoding"
},
"mb_ereg": {
"descr": "",
"name": "mb_ereg",
"params": [
{
"descr": "The search pattern.",
"name": "pattern"
},
{
"descr": "The search string.",
"name": "string"
},
{
"descr": "Contains a substring of the matched string.",
"name": "regs"
}
],
"path": "php/function.mb-ereg",
"syntax": "int mb_ereg ( string $pattern , string $string [, array $regs ] )",
"type": "Encoding"
},
"mb_ereg_match": {
"descr": "A regular expression match for a multibyte string",
"name": "mb_ereg_match",
"params": [
{
"descr": "The regular expression pattern.",
"name": "pattern"
},
{
"descr": "The string being evaluated.",
"name": "string"
}
],
"path": "php/function.mb-ereg-match",
"syntax": "bool mb_ereg_match ( string $pattern , string $string [, string $option = \"msr\" ] )",
"type": "Encoding"
},
"mb_ereg_replace": {
"descr": "",
"name": "mb_ereg_replace",
"params": [
{
"descr": "The regular expression pattern. ",
"name": "pattern"
},
{
"descr": "The replacement text.",
"name": "replacement"
},
{
"descr": "The string being checked.",
"name": "string"
},
{
"descr": "Matching condition can be set by option parameter. ",
"name": "option"
}
],
"path": "php/function.mb-ereg-replace",
"syntax": "string mb_ereg_replace ( string $pattern , string $replacement , string $string [, string $option = \"msr\" ] )",
"type": "Encoding"
},
"mb_ereg_replace_callback": {
"descr": "Scans string for matches to pattern, then replaces the matched text with the output of callback function.",
"name": "mb_ereg_replace_callback",
"params": [
{
"descr": "The regular expression pattern. ",
"name": "pattern"
},
{
"descr": "A callback that will be called and passed an array of matched elements in the subject string. ",
"name": "callback"
},
{
"descr": "The string being checked.",
"name": "string"
},
{
"descr": "Matching condition can be set by option parameter. ",
"name": "option"
}
],
"path": "php/function.mb-ereg-replace-callback",
"syntax": "string mb_ereg_replace_callback ( string $pattern , callable $callback , string $string [, string $option = \"msr\" ] )",
"type": "Encoding"
},
"mb_ereg_search": {
"descr": "Performs a multibyte regular expression match for a predefined multibyte string.",
"name": "mb_ereg_search",
"params": [
{
"descr": "The search pattern.",
"name": "pattern"
},
{
"descr": "The search option.",
"name": "option"
}
],
"path": "php/function.mb-ereg-search",
"syntax": "bool mb_ereg_search ([ string $pattern [, string $option = \"ms\" ]] )",
"type": "Encoding"
},
"mb_ereg_search_getpos": {
"descr": "",
"name": "mb_ereg_search_getpos",
"params": [],
"path": "php/function.mb-ereg-search-getpos",
"syntax": "int mb_ereg_search_getpos ( void )",
"type": "Encoding"
},
"mb_ereg_search_getregs": {
"descr": "",
"name": "mb_ereg_search_getregs",
"params": [],
"path": "php/function.mb-ereg-search-getregs",
"syntax": "array mb_ereg_search_getregs ( void )",
"type": "Encoding"
},
"mb_ereg_search_init": {
"descr": "mb_ereg_search_init() sets string and pattern for a multibyte regular expression. These values are used for mb_ereg_search(), mb_ereg_search_pos(), and mb_ereg_search_regs().",
"name": "mb_ereg_search_init",
"params": [
{
"descr": "The search string.",
"name": "string"
},
{
"descr": "The search pattern.",
"name": "pattern"
},
{
"descr": "The search option.",
"name": "option"
}
],
"path": "php/function.mb-ereg-search-init",
"syntax": "bool mb_ereg_search_init ( string $string [, string $pattern [, string $option = \"msr\" ]] )",
"type": "Encoding"
},
"mb_ereg_search_pos": {
"descr": "Returns position and length of a matched part of the multibyte regular expression for a predefined multibyte string",
"name": "mb_ereg_search_pos",
"params": [
{
"descr": "The search pattern.",
"name": "pattern"
},
{
"descr": "The search option.",
"name": "option"
}
],
"path": "php/function.mb-ereg-search-pos",
"syntax": "array mb_ereg_search_pos ([ string $pattern [, string $option = \"ms\" ]] )",
"type": "Encoding"
},
"mb_ereg_search_regs": {
"descr": "Returns the matched part of a multibyte regular expression.",
"name": "mb_ereg_search_regs",
"params": [
{
"descr": "The search pattern.",
"name": "pattern"
},
{
"descr": "The search option.",
"name": "option"
}
],
"path": "php/function.mb-ereg-search-regs",
"syntax": "array mb_ereg_search_regs ([ string $pattern [, string $option = \"ms\" ]] )",
"type": "Encoding"
},
"mb_ereg_search_setpos": {
"descr": "",
"name": "mb_ereg_search_setpos",
"params": [
{
"descr": "The position to set.",
"name": "position"
}
],
"path": "php/function.mb-ereg-search-setpos",
"syntax": "bool mb_ereg_search_setpos ( int $position )",
"type": "Encoding"
},
"mb_eregi": {
"descr": "",
"name": "mb_eregi",
"params": [
{
"descr": "The regular expression pattern.",
"name": "pattern"
},
{
"descr": "The string being searched.",
"name": "string"
},
{
"descr": "Contains a substring of the matched string.",
"name": "regs"
}
],
"path": "php/function.mb-eregi",
"syntax": "int mb_eregi ( string $pattern , string $string [, array $regs ] )",
"type": "Encoding"
},
"mb_eregi_replace": {
"descr": "",
"name": "mb_eregi_replace",
"params": [
{
"descr": "The regular expression pattern. ",
"name": "pattern"
},
{
"descr": "The replacement text.",
"name": "replace"
},
{
"descr": "The searched string.",
"name": "string"
},
{
"descr": "option has the same meaning as in mb_ereg_replace().",
"name": "option"
}
],
"path": "php/function.mb-eregi-replace",
"syntax": "string mb_eregi_replace ( string $pattern , string $replace , string $string [, string $option = \"msri\" ] )",
"type": "Encoding"
},
"mb_get_info": {
"descr": "",
"name": "mb_get_info",
"params": [
{
"descr": "If type isn't specified or is specified to \"all\", an array having the elements \"internal_encoding\", \"http_output\", \"http_input\", \"func_overload\", \"mail_charset\", \"mail_header_encoding\", \"mail_body_encoding\" will be returned. If type is specified as \"http_output\", \"http_input\", \"internal_encoding\", \"func_overload\", the specified setting parameter will be returned.",
"name": "type"
}
],
"path": "php/function.mb-get-info",
"syntax": "mixed mb_get_info ([ string $type = \"all\" ] )",
"type": "Encoding"
},
"mb_http_input": {
"descr": "",
"name": "mb_http_input",
"params": [
{
"descr": "Input string specifies the input type. ",
"name": "type"
}
],
"path": "php/function.mb-http-input",
"syntax": "mixed mb_http_input ([ string $type = \"\" ] )",
"type": "Encoding"
},
"mb_http_output": {
"descr": "Set/Get the HTTP output character encoding. Output after this function is converted to encoding.",
"name": "mb_http_output",
"params": [
{
"descr": "If encoding is set, mb_http_output() sets the HTTP output character encoding to encoding. ",
"name": "encoding"
}
],
"path": "php/function.mb-http-output",
"syntax": "mixed mb_http_output ([ string $encoding = mb_http_output() ] )",
"type": "Encoding"
},
"mb_internal_encoding": {
"descr": "Set/Get the internal character encoding",
"name": "mb_internal_encoding",
"params": [
{
"descr": "encoding is the character encoding name used for the HTTP input character encoding conversion, HTTP output character encoding conversion, and the default character encoding for string functions defined by the mbstring module. You should notice that the internal encoding is totally different from the one for multibyte regex.",
"name": "encoding"
}
],
"path": "php/function.mb-internal-encoding",
"syntax": "mixed mb_internal_encoding ([ string $encoding = mb_internal_encoding() ] )",
"type": "Encoding"
},
"mb_language": {
"descr": "Set/Get the current language.",
"name": "mb_language",
"params": [
{
"descr": "Used for encoding e-mail messages. ",
"name": "language"
}
],
"path": "php/function.mb-language",
"syntax": "mixed mb_language ([ string $language = mb_language() ] )",
"type": "Encoding"
},
"mb_list_encodings": {
"descr": "Returns an array containing all supported encodings.",
"name": "mb_list_encodings",
"params": [],
"path": "php/function.mb-list-encodings",
"syntax": "array mb_list_encodings ( void )",
"type": "Encoding"
},
"mb_output_handler": {
"descr": "mb_output_handler() is ob_start() callback function. mb_output_handler() converts characters in the output buffer from internal character encoding to HTTP output character encoding.",
"name": "mb_output_handler",
"params": [
{
"descr": "The contents of the output buffer.",
"name": "contents"
},
{
"descr": "The status of the output buffer.",
"name": "status"
}
],
"path": "php/function.mb-output-handler",
"syntax": "string mb_output_handler ( string $contents , int $status )",
"type": "Encoding"
},
"mb_parse_str": {
"descr": "Parses GET/POST/COOKIE data and sets global variables. Since PHP does not provide raw POST/COOKIE data, it can only be used for GET data for now. It parses URL encoded data, detects encoding, converts coding to internal encoding and set values to the result array or global variables.",
"name": "mb_parse_str",
"params": [
{
"descr": "The URL encoded data.",
"name": "encoded_string"
},
{
"descr": "An array containing decoded and character encoded converted values.",
"name": "result"
}
],
"path": "php/function.mb-parse-str",
"syntax": "bool mb_parse_str ( string $encoded_string [, array &$result ] )",
"type": "Encoding"
},
"mb_preferred_mime_name": {
"descr": "Get a MIME charset string for a specific encoding.",
"name": "mb_preferred_mime_name",
"params": [
{
"descr": "The encoding being checked.",
"name": "encoding"
}
],
"path": "php/function.mb-preferred-mime-name",
"syntax": "string mb_preferred_mime_name ( string $encoding )",
"type": "Encoding"
},
"mb_regex_encoding": {
"descr": "Set/Get character encoding for a multibyte regex.",
"name": "mb_regex_encoding",
"params": [
{
"descr": "The encoding parameter is the character encoding. ",
"name": "encoding"
}
],
"path": "php/function.mb-regex-encoding",
"syntax": "mixed mb_regex_encoding ([ string $encoding = mb_regex_encoding() ] )",
"type": "Encoding"
},
"mb_regex_set_options": {
"descr": "",
"name": "mb_regex_set_options",
"params": [
{
"descr": "The options to set. This is a a string where each character is an option. ",
"name": "options"
}
],
"path": "php/function.mb-regex-set-options",
"syntax": "string mb_regex_set_options ([ string $options = mb_regex_set_options() ] )",
"type": "Encoding"
},
"mb_send_mail": {
"descr": "Sends email. Headers and messages are converted and encoded according to the mb_language() setting. It's a wrapper function for mail(), so see also mail() for details.",
"name": "mb_send_mail",
"params": [
{
"descr": "The mail addresses being sent to. ",
"name": "to"
},
{
"descr": "The subject of the mail.",
"name": "subject"
},
{
"descr": "The message of the mail.",
"name": "message"
},
{
"descr": "String to be inserted at the end of the email header. ",
"name": "additional_headers (optional)"
},
{
"descr": "additional_parameter is a MTA command line parameter. ",
"name": "additional_parameter"
}
],
"path": "php/function.mb-send-mail",
"syntax": "bool mb_send_mail ( string $to , string $subject , string $message [, string $additional_headers = NULL [, string $additional_parameter = NULL ]] )",
"type": "Encoding"
},
"mb_split": {
"descr": "",
"name": "mb_split",
"params": [
{
"descr": "The regular expression pattern.",
"name": "pattern"
},
{
"descr": "The string being split.",
"name": "string"
},
{
"descr": "If optional parameter limit is specified, it will be split in limit elements as maximum.",
"name": "limit"
}
],
"path": "php/function.mb-split",
"syntax": "array mb_split ( string $pattern , string $string [, int $limit = -1 ] )",
"type": "Encoding"
},
"mb_strcut": {
"descr": "mb_strcut() extracts a substring from a string similarly to mb_substr(), but operates on bytes instead of characters. If the cut position happens to be between two bytes of a multi-byte character, the cut is performed starting from the first byte of that character. This is also the difference to the substr() function, which would simply cut the string between the bytes and thus result in a malformed byte sequence.",
"name": "mb_strcut",
"params": [
{
"descr": "The string being cut.",
"name": "str"
},
{
"descr": "Starting position in bytes.",
"name": "start"
},
{
"descr": "Length in bytes. If omitted or NULL is passed, extract all bytes to the end of the string.",
"name": "length"
},
{
"descr": "The encoding parameter is the character encoding. ",
"name": "encoding"
}
],
"path": "php/function.mb-strcut",
"syntax": "string mb_strcut ( string $str , int $start [, int $length = NULL [, string $encoding = mb_internal_encoding() ]] )",
"type": "Encoding"
},
"mb_strimwidth": {
"descr": "Truncates string str to specified width.",
"name": "mb_strimwidth",
"params": [
{
"descr": "The string being decoded.",
"name": "str"
},
{
"descr": "The start position offset. Number of characters from the beginning of string. ",
"name": "start"
},
{
"descr": "The width of the desired trim.",
"name": "width"
},
{
"descr": "A string that is added to the end of string when string is truncated.",
"name": "trimmarker"
},
{
"descr": "The encoding parameter is the character encoding. ",
"name": "encoding"
}
],
"path": "php/function.mb-strimwidth",
"syntax": "string mb_strimwidth ( string $str , int $start , int $width [, string $trimmarker = \"\" [, string $encoding = mb_internal_encoding() ]] )",
"type": "Encoding"
},
"mb_stripos": {
"descr": "mb_stripos() returns the numeric position of the first occurrence of needle in the haystack string. Unlike mb_strpos(), mb_stripos() is case-insensitive. If needle is not found, it returns FALSE.",
"name": "mb_stripos",
"params": [
{
"descr": "The string from which to get the position of the first occurrence of needle",
"name": "haystack"
},
{
"descr": "The string to find in haystack",
"name": "needle"
},
{
"descr": "The position in haystack to start searching",
"name": "offset"
},
{
"descr": "Character encoding name to use. ",
"name": "encoding"
}
],
"path": "php/function.mb-stripos",
"syntax": "int mb_stripos ( string $haystack , string $needle [, int $offset = 0 [, string $encoding = mb_internal_encoding() ]] )",
"type": "Encoding"
},
"mb_stristr": {
"descr": "mb_stristr() finds the first occurrence of needle in haystack and returns the portion of haystack. Unlike mb_strstr(), mb_stristr() is case-insensitive. If needle is not found, it returns FALSE.",
"name": "mb_stristr",
"params": [
{
"descr": "The string from which to get the first occurrence of needle",
"name": "haystack"
},
{
"descr": "The string to find in haystack",
"name": "needle"
},
{
"descr": "Determines which portion of haystack this function returns. ",
"name": "before_needle"
},
{
"descr": "Character encoding name to use. ",
"name": "encoding"
}
],
"path": "php/function.mb-stristr",
"syntax": "string mb_stristr ( string $haystack , string $needle [, bool $before_needle = false [, string $encoding = mb_internal_encoding() ]] )",
"type": "Encoding"
},
"mb_strlen": {
"descr": "Gets the length of a string.",
"name": "mb_strlen",
"params": [
{
"descr": "The string being checked for length.",
"name": "str"
},
{
"descr": "The encoding parameter is the character encoding. ",
"name": "encoding"
}
],
"path": "php/function.mb-strlen",
"syntax": "mixed mb_strlen ( string $str [, string $encoding = mb_internal_encoding() ] )",
"type": "Encoding"
},
"mb_strpos": {
"descr": "Finds position of the first occurrence of a string in a string.",
"name": "mb_strpos",
"params": [
{
"descr": "The string being checked.",
"name": "haystack"
},
{
"descr": "The string to find in haystack. ",
"name": "needle"
},
{
"descr": "The search offset. If it is not specified, 0 is used.",
"name": "offset"
},
{
"descr": "The encoding parameter is the character encoding. ",
"name": "encoding"
}
],
"path": "php/function.mb-strpos",
"syntax": "int mb_strpos ( string $haystack , string $needle [, int $offset = 0 [, string $encoding = mb_internal_encoding() ]] )",
"type": "Encoding"
},
"mb_strrchr": {
"descr": "mb_strrchr() finds the last occurrence of needle in haystack and returns the portion of haystack. If needle is not found, it returns FALSE.",
"name": "mb_strrchr",
"params": [
{
"descr": "The string from which to get the last occurrence of needle",
"name": "haystack"
},
{
"descr": "The string to find in haystack",
"name": "needle"
},
{
"descr": "Determines which portion of haystack this function returns. ",
"name": "part"
},
{
"descr": "Character encoding name to use. ",
"name": "encoding"
}
],
"path": "php/function.mb-strrchr",
"syntax": "string mb_strrchr ( string $haystack , string $needle [, bool $part = false [, string $encoding = mb_internal_encoding() ]] )",
"type": "Encoding"
},
"mb_strrichr": {
"descr": "mb_strrichr() finds the last occurrence of needle in haystack and returns the portion of haystack. Unlike mb_strrchr(), mb_strrichr() is case-insensitive. If needle is not found, it returns FALSE.",
"name": "mb_strrichr",
"params": [
{
"descr": "The string from which to get the last occurrence of needle",
"name": "haystack"
},
{
"descr": "The string to find in haystack",
"name": "needle"
},
{
"descr": "Determines which portion of haystack this function returns. ",
"name": "part"
},
{
"descr": "Character encoding name to use. ",
"name": "encoding"
}
],
"path": "php/function.mb-strrichr",
"syntax": "string mb_strrichr ( string $haystack , string $needle [, bool $part = false [, string $encoding = mb_internal_encoding() ]] )",
"type": "Encoding"
},
"mb_strripos": {
"descr": "mb_strripos() performs multi-byte safe strripos() operation based on number of characters. needle position is counted from the beginning of haystack. First character's position is 0. Second character position is 1. Unlike mb_strrpos(), mb_strripos() is case-insensitive.",
"name": "mb_strripos",
"params": [
{
"descr": "The string from which to get the position of the last occurrence of needle",
"name": "haystack"
},
{
"descr": "The string to find in haystack",
"name": "needle"
},
{
"descr": "The position in haystack to start searching",
"name": "offset"
},
{
"descr": "Character encoding name to use. ",
"name": "encoding"
}
],
"path": "php/function.mb-strripos",
"syntax": "int mb_strripos ( string $haystack , string $needle [, int $offset = 0 [, string $encoding = mb_internal_encoding() ]] )",
"type": "Encoding"
},
"mb_strrpos": {
"descr": "Performs a multibyte safe strrpos() operation based on the number of characters. needle position is counted from the beginning of haystack. First character's position is 0. Second character position is 1.",
"name": "mb_strrpos",
"params": [
{
"descr": "The string being checked, for the last occurrence of needle",
"name": "haystack"
},
{
"descr": "The string to find in haystack.",
"name": "needle"
},
{
"descr": "May be specified to begin searching an arbitrary number of characters into the string. ",
"name": "offset"
},
{
"descr": "The encoding parameter is the character encoding. ",
"name": "encoding"
}
],
"path": "php/function.mb-strrpos",
"syntax": "int mb_strrpos ( string $haystack , string $needle [, int $offset = 0 [, string $encoding = mb_internal_encoding() ]] )",
"type": "Encoding"
},
"mb_strstr": {
"descr": "mb_strstr() finds the first occurrence of needle in haystack and returns the portion of haystack. If needle is not found, it returns FALSE.",
"name": "mb_strstr",
"params": [
{
"descr": "The string from which to get the first occurrence of needle",
"name": "haystack"
},
{
"descr": "The string to find in haystack",
"name": "needle"
},
{
"descr": "Determines which portion of haystack this function returns. ",
"name": "before_needle"
},
{
"descr": "Character encoding name to use. ",
"name": "encoding"
}
],
"path": "php/function.mb-strstr",
"syntax": "string mb_strstr ( string $haystack , string $needle [, bool $before_needle = false [, string $encoding = mb_internal_encoding() ]] )",
"type": "Encoding"
},
"mb_strtolower": {
"descr": "Returns str with all alphabetic characters converted to lowercase.",
"name": "mb_strtolower",
"params": [
{
"descr": "The string being lowercased.",
"name": "str"
},
{
"descr": "The encoding parameter is the character encoding. ",
"name": "encoding"
}
],
"path": "php/function.mb-strtolower",
"syntax": "string mb_strtolower ( string $str [, string $encoding = mb_internal_encoding() ] )",
"type": "Encoding"
},
"mb_strtoupper": {
"descr": "Returns str with all alphabetic characters converted to uppercase.",
"name": "mb_strtoupper",
"params": [
{
"descr": "The string being uppercased.",
"name": "str"
},
{
"descr": "The encoding parameter is the character encoding. ",
"name": "encoding"
}
],
"path": "php/function.mb-strtoupper",
"syntax": "string mb_strtoupper ( string $str [, string $encoding = mb_internal_encoding() ] )",
"type": "Encoding"
},
"mb_strwidth": {
"descr": "Returns the width of string str.",
"name": "mb_strwidth",
"params": [
{
"descr": "The string being decoded.",
"name": "str"
},
{
"descr": "The encoding parameter is the character encoding. ",
"name": "encoding"
}
],
"path": "php/function.mb-strwidth",
"syntax": "int mb_strwidth ( string $str [, string $encoding = mb_internal_encoding() ] )",
"type": "Encoding"
},
"mb_substitute_character": {
"descr": "Specifies a substitution character when input character encoding is invalid or character code does not exist in output character encoding. Invalid characters may be substituted NULL (no output), string or integer value (Unicode character code value).",
"name": "mb_substitute_character",
"params": [
{
"descr": "Specify the Unicode value as an integer, or as one of the following strings: \"none\": no output \"long\": Output character code value (Example: U+3000, JIS+7E7E) \"entity\": Output character entity (Example: \u0200)",
"name": "substrchar"
}
],
"path": "php/function.mb-substitute-character",
"syntax": "mixed mb_substitute_character ([ mixed $substrchar = mb_substitute_character() ] )",
"type": "Encoding"
},
"mb_substr": {
"descr": "Performs a multi-byte safe substr() operation based on number of characters. Position is counted from the beginning of str. First character's position is 0. Second character position is 1, and so on.",
"name": "mb_substr",
"params": [
{
"descr": "The string to extract the substring from.",
"name": "str"
},
{
"descr": "Position of first character to use from str.",
"name": "start"
},
{
"descr": "Maximum number of characters to use from str. ",
"name": "length"
},
{
"descr": "The encoding parameter is the character encoding. ",
"name": "encoding"
}
],
"path": "php/function.mb-substr",
"syntax": "string mb_substr ( string $str , int $start [, int $length = NULL [, string $encoding = mb_internal_encoding() ]] )",
"type": "Encoding"
},
"mb_substr_count": {
"descr": "Counts the number of times the needle substring occurs in the haystack string.",
"name": "mb_substr_count",
"params": [
{
"descr": "The string being checked.",
"name": "haystack"
},
{
"descr": "The string being found.",
"name": "needle"
},
{
"descr": "The encoding parameter is the character encoding. ",
"name": "encoding"
}
],
"path": "php/function.mb-substr-count",
"syntax": "int mb_substr_count ( string $haystack , string $needle [, string $encoding = mb_internal_encoding() ] )",
"type": "Encoding"
},
"mcrypt_cbc": {
"descr": "The first prototype is when linked against libmcrypt 2.2.x, the second when linked against libmcrypt 2.4.x or higher. The mode should be either MCRYPT_ENCRYPT or MCRYPT_DECRYPT.",
"name": "mcrypt_cbc",
"params": [],
"path": "php/function.mcrypt-cbc",
"syntax": "string mcrypt_cbc ( int $cipher , string $key , string $data , int $mode [, string $iv ] )",
"type": "Cryptography"
},
"mcrypt_cfb": {
"descr": "The first prototype is when linked against libmcrypt 2.2.x, the second when linked against libmcrypt 2.4.x or higher. The mode should be either MCRYPT_ENCRYPT or MCRYPT_DECRYPT.",
"name": "mcrypt_cfb",
"params": [],
"path": "php/function.mcrypt-cfb",
"syntax": "string mcrypt_cfb ( int $cipher , string $key , string $data , int $mode , string $iv )",
"type": "Cryptography"
},
"mcrypt_create_iv": {
"descr": "Creates an initialization vector (IV) from a random source.",
"name": "mcrypt_create_iv",
"params": [
{
"descr": "The size of the IV.",
"name": "size"
},
{
"descr": "The source of the IV. The source can be MCRYPT_RAND (system random number generator), MCRYPT_DEV_RANDOM (read data from /dev/random) and MCRYPT_DEV_URANDOM (read data from /dev/urandom). ",
"name": "source"
}
],
"path": "php/function.mcrypt-create-iv",
"syntax": "string mcrypt_create_iv ( int $size [, int $source = MCRYPT_DEV_RANDOM ] )",
"type": "Cryptography"
},
"mcrypt_decrypt": {
"descr": "Decrypts the data and returns the unencrypted data.",
"name": "mcrypt_decrypt",
"params": [
{
"descr": "One of the MCRYPT_ciphername constants, or the name of the algorithm as string.",
"name": "cipher"
},
{
"descr": "The key with which the data was encrypted. ",
"name": "key"
},
{
"descr": "The data that will be decrypted with the given cipher and mode. ",
"name": "data"
},
{
"descr": "One of the MCRYPT_MODE_modename constants, or one of the following strings: \"ecb\", \"cbc\", \"cfb\", \"ofb\", \"nofb\" or \"stream\".",
"name": "mode"
},
{
"descr": "Used for the initialization in CBC, CFB, OFB modes, and in some algorithms in STREAM mode. ",
"name": "iv"
}
],
"path": "php/function.mcrypt-decrypt",
"syntax": "string mcrypt_decrypt ( string $cipher , string $key , string $data , string $mode [, string $iv ] )",
"type": "Cryptography"
},
"mcrypt_ecb": {
"descr": "The first prototype is when linked against libmcrypt 2.2.x, the second when linked against libmcrypt 2.4.x or higher. The mode should be either MCRYPT_ENCRYPT or MCRYPT_DECRYPT.",
"name": "mcrypt_ecb",
"params": [],
"path": "php/function.mcrypt-ecb",
"syntax": "string mcrypt_ecb ( int $cipher , string $key , string $data , int $mode )",
"type": "Cryptography"
},
"mcrypt_enc_get_algorithms_name": {
"descr": "This function returns the name of the algorithm.",
"name": "mcrypt_enc_get_algorithms_name",
"params": [
{
"descr": "The encryption descriptor.",
"name": "td"
}
],
"path": "php/function.mcrypt-enc-get-algorithms-name",
"syntax": "string mcrypt_enc_get_algorithms_name ( resource $td )",
"type": "Cryptography"
},
"mcrypt_enc_get_block_size": {
"descr": "Gets the blocksize of the opened algorithm.",
"name": "mcrypt_enc_get_block_size",
"params": [
{
"descr": "The encryption descriptor.",
"name": "td"
}
],
"path": "php/function.mcrypt-enc-get-block-size",
"syntax": "int mcrypt_enc_get_block_size ( resource $td )",
"type": "Cryptography"
},
"mcrypt_enc_get_iv_size": {
"descr": "This function returns the size of the IV of the algorithm specified by the encryption descriptor in bytes. An IV is used in cbc, cfb and ofb modes, and in some algorithms in stream mode.",
"name": "mcrypt_enc_get_iv_size",
"params": [
{
"descr": "The encryption descriptor.",
"name": "td"
}
],
"path": "php/function.mcrypt-enc-get-iv-size",
"syntax": "int mcrypt_enc_get_iv_size ( resource $td )",
"type": "Cryptography"
},
"mcrypt_enc_get_key_size": {
"descr": "Gets the maximum supported key size of the algorithm in bytes.",
"name": "mcrypt_enc_get_key_size",
"params": [
{
"descr": "The encryption descriptor.",
"name": "td"
}
],
"path": "php/function.mcrypt-enc-get-key-size",
"syntax": "int mcrypt_enc_get_key_size ( resource $td )",
"type": "Cryptography"
},
"mcrypt_enc_get_modes_name": {
"descr": "This function returns the name of the mode.",
"name": "mcrypt_enc_get_modes_name",
"params": [
{
"descr": "The encryption descriptor.",
"name": "td"
}
],
"path": "php/function.mcrypt-enc-get-modes-name",
"syntax": "string mcrypt_enc_get_modes_name ( resource $td )",
"type": "Cryptography"
},
"mcrypt_enc_get_supported_key_sizes": {
"descr": "Gets the supported key sizes of the opened algorithm.",
"name": "mcrypt_enc_get_supported_key_sizes",
"params": [
{
"descr": "The encryption descriptor.",
"name": "td"
}
],
"path": "php/function.mcrypt-enc-get-supported-key-sizes",
"syntax": "array mcrypt_enc_get_supported_key_sizes ( resource $td )",
"type": "Cryptography"
},
"mcrypt_enc_is_block_algorithm": {
"descr": "Tells whether the algorithm of the opened mode is a block algorithm.",
"name": "mcrypt_enc_is_block_algorithm",
"params": [
{
"descr": "The encryption descriptor.",
"name": "td"
}
],
"path": "php/function.mcrypt-enc-is-block-algorithm",
"syntax": "bool mcrypt_enc_is_block_algorithm ( resource $td )",
"type": "Cryptography"
},
"mcrypt_enc_is_block_algorithm_mode": {
"descr": "Tells whether the algorithm of the opened mode works on blocks (e.g. FALSE for stream, and TRUE for cbc, cfb, ofb)..",
"name": "mcrypt_enc_is_block_algorithm_mode",
"params": [
{
"descr": "The encryption descriptor.",
"name": "td"
}
],
"path": "php/function.mcrypt-enc-is-block-algorithm-mode",
"syntax": "bool mcrypt_enc_is_block_algorithm_mode ( resource $td )",
"type": "Cryptography"
},
"mcrypt_enc_is_block_mode": {
"descr": "Tells whether the opened mode outputs blocks (e.g. TRUE for cbc and ecb, and FALSE for cfb and stream).",
"name": "mcrypt_enc_is_block_mode",
"params": [
{
"descr": "The encryption descriptor.",
"name": "td"
}
],
"path": "php/function.mcrypt-enc-is-block-mode",
"syntax": "bool mcrypt_enc_is_block_mode ( resource $td )",
"type": "Cryptography"
},
"mcrypt_enc_self_test": {
"descr": "This function runs the self test on the algorithm specified by the descriptor td.",
"name": "mcrypt_enc_self_test",
"params": [
{
"descr": "The encryption descriptor.",
"name": "td"
}
],
"path": "php/function.mcrypt-enc-self-test",
"syntax": "int mcrypt_enc_self_test ( resource $td )",
"type": "Cryptography"
},
"mcrypt_encrypt": {
"descr": "Encrypts the data and returns it.",
"name": "mcrypt_encrypt",
"params": [
{
"descr": "One of the MCRYPT_ciphername constants, or the name of the algorithm as string.",
"name": "cipher"
},
{
"descr": "The key with which the data will be encrypted. ",
"name": "key"
},
{
"descr": "The data that will be encrypted with the given cipher and mode. ",
"name": "data"
},
{
"descr": "One of the MCRYPT_MODE_modename constants, or one of the following strings: \"ecb\", \"cbc\", \"cfb\", \"ofb\", \"nofb\" or \"stream\".",
"name": "mode"
},
{
"descr": "Used for the initialization in CBC, CFB, OFB modes, and in some algorithms in STREAM mode. ",
"name": "iv"
}
],
"path": "php/function.mcrypt-encrypt",
"syntax": "string mcrypt_encrypt ( string $cipher , string $key , string $data , string $mode [, string $iv ] )",
"type": "Cryptography"
},
"mcrypt_generic": {
"descr": "This function encrypts data. The data is padded with \"\\0\" to make sure the length of the data is n * blocksize. This function returns the encrypted data. Note that the length of the returned string can in fact be longer than the input, due to the padding of the data.",
"name": "mcrypt_generic",
"params": [
{
"descr": "The encryption descriptor. The encryption handle should always be initialized with mcrypt_generic_init() with a key and an IV before calling this function. ",
"name": "td"
},
{
"descr": "The data to encrypt.",
"name": "data"
}
],
"path": "php/function.mcrypt-generic",
"syntax": "string mcrypt_generic ( resource $td , string $data )",
"type": "Cryptography"
},
"mcrypt_generic_deinit": {
"descr": "This function terminates encryption specified by the encryption descriptor (td). It clears all buffers, but does not close the module. You need to call mcrypt_module_close() yourself. (But PHP does this for you at the end of the script.)",
"name": "mcrypt_generic_deinit",
"params": [
{
"descr": "The encryption descriptor.",
"name": "td"
}
],
"path": "php/function.mcrypt-generic-deinit",
"syntax": "bool mcrypt_generic_deinit ( resource $td )",
"type": "Cryptography"
},
"mcrypt_generic_end": {
"descr": "",
"name": "mcrypt_generic_end",
"params": [],
"path": "php/function.mcrypt-generic-end",
"syntax": "bool mcrypt_generic_end ( resource $td )",
"type": "Cryptography"
},
"mcrypt_generic_init": {
"descr": "You need to call this function before every call to mcrypt_generic() or mdecrypt_generic().",
"name": "mcrypt_generic_init",
"params": [
{
"descr": "The encryption descriptor.",
"name": "td"
},
{
"descr": "The maximum length of the key should be the one obtained by calling mcrypt_enc_get_key_size() and every value smaller than this is legal.",
"name": "key"
},
{
"descr": "The IV should normally have the size of the algorithms block size, but you must obtain the size by calling mcrypt_enc_get_iv_size(). ",
"name": "iv"
}
],
"path": "php/function.mcrypt-generic-init",
"syntax": "int mcrypt_generic_init ( resource $td , string $key , string $iv )",
"type": "Cryptography"
},
"mcrypt_get_block_size": {
"descr": "The first prototype is when linked against libmcrypt 2.2.x, the second when linked against libmcrypt 2.4.x or 2.5.x.",
"name": "mcrypt_get_block_size",
"params": [
{
"descr": "One of the MCRYPT_ciphername constants, or the name of the algorithm as string.",
"name": "cipher"
},
{
"descr": "One of the MCRYPT_MODE_modename constants, or one of the following strings: \"ecb\", \"cbc\", \"cfb\", \"ofb\", \"nofb\" or \"stream\".",
"name": "mode"
}
],
"path": "php/function.mcrypt-get-block-size",
"syntax": "int mcrypt_get_block_size ( int $cipher )",
"type": "Cryptography"
},
"mcrypt_get_cipher_name": {
"descr": "mcrypt_get_cipher_name() is used to get the name of the specified cipher.",
"name": "mcrypt_get_cipher_name",
"params": [
{
"descr": "One of the MCRYPT_ciphername constants, or the name of the algorithm as string.",
"name": "cipher"
}
],
"path": "php/function.mcrypt-get-cipher-name",
"syntax": "string mcrypt_get_cipher_name ( int $cipher )",
"type": "Cryptography"
},
"mcrypt_get_iv_size": {
"descr": "Gets the size of the IV belonging to a specific cipher/mode combination.",
"name": "mcrypt_get_iv_size",
"params": [
{
"descr": "One of the MCRYPT_ciphername constants, or the name of the algorithm as string.",
"name": "cipher"
},
{
"descr": "One of the MCRYPT_MODE_modename constants, or one of the following strings: \"ecb\", \"cbc\", \"cfb\", \"ofb\", \"nofb\" or \"stream\". ",
"name": "mode"
}
],
"path": "php/function.mcrypt-get-iv-size",
"syntax": "int mcrypt_get_iv_size ( string $cipher , string $mode )",
"type": "Cryptography"
},
"mcrypt_get_key_size": {
"descr": "The first prototype is when linked against libmcrypt 2.2.x, the second when linked against libmcrypt 2.4.x or 2.5.x.",
"name": "mcrypt_get_key_size",
"params": [
{
"descr": "One of the MCRYPT_ciphername constants, or the name of the algorithm as string.",
"name": "cipher"
},
{
"descr": "One of the MCRYPT_MODE_modename constants, or one of the following strings: \"ecb\", \"cbc\", \"cfb\", \"ofb\", \"nofb\" or \"stream\".",
"name": "mode"
}
],
"path": "php/function.mcrypt-get-key-size",
"syntax": "int mcrypt_get_key_size ( int $cipher )",
"type": "Cryptography"
},
"mcrypt_list_algorithms": {
"descr": "Gets the list of all supported algorithms in the lib_dir parameter.",
"name": "mcrypt_list_algorithms",
"params": [
{
"descr": "Specifies the directory where all algorithms are located. ",
"name": "lib_dir"
}
],
"path": "php/function.mcrypt-list-algorithms",
"syntax": "array mcrypt_list_algorithms ([ string $lib_dir = ini_get(\"mcrypt.algorithms_dir\") ] )",
"type": "Cryptography"
},
"mcrypt_list_modes": {
"descr": "Gets the list of all supported modes in the lib_dir parameter.",
"name": "mcrypt_list_modes",
"params": [
{
"descr": "Specifies the directory where all modes are located. ",
"name": "lib_dir"
}
],
"path": "php/function.mcrypt-list-modes",
"syntax": "array mcrypt_list_modes ([ string $lib_dir = ini_get(\"mcrypt.modes_dir\") ] )",
"type": "Cryptography"
},
"mcrypt_module_close": {
"descr": "Closes the specified encryption handle.",
"name": "mcrypt_module_close",
"params": [
{
"descr": "The encryption descriptor.",
"name": "td"
}
],
"path": "php/function.mcrypt-module-close",
"syntax": "bool mcrypt_module_close ( resource $td )",
"type": "Cryptography"
},
"mcrypt_module_get_algo_block_size": {
"descr": "Gets the blocksize of the specified algorithm.",
"name": "mcrypt_module_get_algo_block_size",
"params": [
{
"descr": "The algorithm name.",
"name": "algorithm"
},
{
"descr": "This optional parameter can contain the location where the mode module is on the system.",
"name": "lib_dir"
}
],
"path": "php/function.mcrypt-module-get-algo-block-size",
"syntax": "int mcrypt_module_get_algo_block_size ( string $algorithm [, string $lib_dir ] )",
"type": "Cryptography"
},
"mcrypt_module_get_algo_key_size": {
"descr": "Gets the maximum supported keysize of the opened mode.",
"name": "mcrypt_module_get_algo_key_size",
"params": [
{
"descr": "The algorithm name.",
"name": "algorithm"
},
{
"descr": "This optional parameter can contain the location where the mode module is on the system.",
"name": "lib_dir"
}
],
"path": "php/function.mcrypt-module-get-algo-key-size",
"syntax": "int mcrypt_module_get_algo_key_size ( string $algorithm [, string $lib_dir ] )",
"type": "Cryptography"
},
"mcrypt_module_get_supported_key_sizes": {
"descr": "Returns an array with the key sizes supported by the specified algorithm. If it returns an empty array then all key sizes between 1 and mcrypt_module_get_algo_key_size() are supported by the algorithm.",
"name": "mcrypt_module_get_supported_key_sizes",
"params": [
{
"descr": "The algorithm to be used.",
"name": "algorithm"
},
{
"descr": "The optional lib_dir parameter can contain the location where the algorithm module is on the system.",
"name": "lib_dir"
}
],
"path": "php/function.mcrypt-module-get-supported-key-sizes",
"syntax": "array mcrypt_module_get_supported_key_sizes ( string $algorithm [, string $lib_dir ] )",
"type": "Cryptography"
},
"mcrypt_module_is_block_algorithm": {
"descr": "This function returns TRUE if the specified algorithm is a block algorithm, or FALSE if it is a stream one.",
"name": "mcrypt_module_is_block_algorithm",
"params": [
{
"descr": "The algorithm to check.",
"name": "algorithm"
},
{
"descr": "The optional lib_dir parameter can contain the location where the algorithm module is on the system.",
"name": "lib_dir"
}
],
"path": "php/function.mcrypt-module-is-block-algorithm",
"syntax": "bool mcrypt_module_is_block_algorithm ( string $algorithm [, string $lib_dir ] )",
"type": "Cryptography"
},
"mcrypt_module_is_block_algorithm_mode": {
"descr": "This function returns TRUE if the mode is for use with block algorithms, otherwise it returns FALSE. (e.g. FALSE for stream, and TRUE for cbc, cfb, ofb).",
"name": "mcrypt_module_is_block_algorithm_mode",
"params": [
{
"descr": "The mode to check.",
"name": "mode"
},
{
"descr": "The optional lib_dir parameter can contain the location where the algorithm module is on the system.",
"name": "lib_dir"
}
],
"path": "php/function.mcrypt-module-is-block-algorithm-mode",
"syntax": "bool mcrypt_module_is_block_algorithm_mode ( string $mode [, string $lib_dir ] )",
"type": "Cryptography"
},
"mcrypt_module_is_block_mode": {
"descr": "This function returns TRUE if the mode outputs blocks of bytes or FALSE if it outputs just bytes. (e.g. TRUE for cbc and ecb, and FALSE for cfb and stream).",
"name": "mcrypt_module_is_block_mode",
"params": [
{
"descr": "One of the MCRYPT_MODE_modename constants, or one of the following strings: \"ecb\", \"cbc\", \"cfb\", \"ofb\", \"nofb\" or \"stream\".",
"name": "mode"
},
{
"descr": "The optional lib_dir parameter can contain the location where the algorithm module is on the system.",
"name": "lib_dir"
}
],
"path": "php/function.mcrypt-module-is-block-mode",
"syntax": "bool mcrypt_module_is_block_mode ( string $mode [, string $lib_dir ] )",
"type": "Cryptography"
},
"mcrypt_module_open": {
"descr": "This function opens the module of the algorithm and the mode to be used. The name of the algorithm is specified in algorithm, e.g. \"twofish\" or is one of the MCRYPT_ciphername constants. The module is closed by calling mcrypt_module_close().",
"name": "mcrypt_module_open",
"params": [
{
"descr": "One of the MCRYPT_ciphername constants, or the name of the algorithm as string.",
"name": "algorithm"
},
{
"descr": "The algorithm_directory parameter is used to locate the encryption module. ",
"name": "algorithm_directory"
},
{
"descr": "One of the MCRYPT_MODE_modename constants, or one of the following strings: \"ecb\", \"cbc\", \"cfb\", \"ofb\", \"nofb\" or \"stream\".",
"name": "mode"
},
{
"descr": "The mode_directory parameter is used to locate the encryption module. ",
"name": "mode_directory"
}
],
"path": "php/function.mcrypt-module-open",
"syntax": "resource mcrypt_module_open ( string $algorithm , string $algorithm_directory , string $mode , string $mode_directory )",
"type": "Cryptography"
},
"mcrypt_module_self_test": {
"descr": "This function runs the self test on the algorithm specified.",
"name": "mcrypt_module_self_test",
"params": [
{
"descr": "One of the MCRYPT_ciphername constants, or the name of the algorithm as string.",
"name": "algorithm"
},
{
"descr": "The optional lib_dir parameter can contain the location where the algorithm module is on the system.",
"name": "lib_dir"
}
],
"path": "php/function.mcrypt-module-self-test",
"syntax": "bool mcrypt_module_self_test ( string $algorithm [, string $lib_dir ] )",
"type": "Cryptography"
},
"mcrypt_ofb": {
"descr": "The first prototype is when linked against libmcrypt 2.2.x, the second when linked against libmcrypt 2.4.x or higher. The mode should be either MCRYPT_ENCRYPT or MCRYPT_DECRYPT.",
"name": "mcrypt_ofb",
"params": [],
"path": "php/function.mcrypt-ofb",
"syntax": "string mcrypt_ofb ( int $cipher , string $key , string $data , int $mode , string $iv )",
"type": "Cryptography"
},
"md5": {
"descr": "Calculates the MD5 hash of str using the \u00bb RSA Data Security, Inc. MD5 Message-Digest Algorithm, and returns that hash.",
"name": "md5",
"params": [
{
"descr": "The string.",
"name": "str"
},
{
"descr": "If the optional raw_output is set to TRUE, then the md5 digest is instead returned in raw binary format with a length of 16.",
"name": "raw_output"
}
],
"path": "php/function.md5",
"syntax": "string md5 ( string $str [, bool $raw_output = false ] )",
"type": "String"
},
"md5_file": {
"descr": "Calculates the MD5 hash of the file specified by the filename parameter using the \u00bb RSA Data Security, Inc. MD5 Message-Digest Algorithm, and returns that hash. The hash is a 32-character hexadecimal number.",
"name": "md5_file",
"params": [
{
"descr": "The filename",
"name": "filename"
},
{
"descr": "When TRUE, returns the digest in raw binary format with a length of 16.",
"name": "raw_output"
}
],
"path": "php/function.md5-file",
"syntax": "string md5_file ( string $filename [, bool $raw_output = false ] )",
"type": "String"
},
"mdecrypt_generic": {
"descr": "This function decrypts data. Note that the length of the returned string can in fact be longer than the unencrypted string, due to the padding of the data.",
"name": "mdecrypt_generic",
"params": [
{
"descr": "An encryption descriptor returned by mcrypt_module_open()",
"name": "td"
},
{
"descr": "Encrypted data.",
"name": "data"
}
],
"path": "php/function.mdecrypt-generic",
"syntax": "string mdecrypt_generic ( resource $td , string $data )",
"type": "Cryptography"
},
"memory_get_peak_usage": {
"descr": "Returns the peak of memory, in bytes, that's been allocated to your PHP script.",
"name": "memory_get_peak_usage",
"params": [
{
"descr": "Set this to TRUE to get the real size of memory allocated from system. ",
"name": "real_usage"
}
],
"path": "php/function.memory-get-peak-usage",
"syntax": "int memory_get_peak_usage ([ bool $real_usage = false ] )",
"type": "Language"
},
"memory_get_usage": {
"descr": "Returns the amount of memory, in bytes, that's currently being allocated to your PHP script.",
"name": "memory_get_usage",
"params": [
{
"descr": "Set this to TRUE to get the real size of memory allocated from system. ",
"name": "real_usage"
}
],
"path": "php/function.memory-get-usage",
"syntax": "int memory_get_usage ([ bool $real_usage = false ] )",
"type": "Language"
},
"metaphone": {
"descr": "Calculates the metaphone key of str.",
"name": "metaphone",
"params": [
{
"descr": "The input string.",
"name": "str"
},
{
"descr": "This parameter restricts the returned metaphone key to phonemes characters in length. ",
"name": "phonemes"
}
],
"path": "php/function.metaphone",
"syntax": "string metaphone ( string $str [, int $phonemes = 0 ] )",
"type": "String"
},
"method_exists": {
"descr": "Checks if the class method exists in the given object.",
"name": "method_exists",
"params": [
{
"descr": "An object instance or a class name",
"name": "object"
},
{
"descr": "The method name",
"name": "method_name"
}
],
"path": "php/function.method-exists",
"syntax": "bool method_exists ( mixed $object , string $method_name )",
"type": "Classes and Functions"
},
"microtime": {
"descr": "microtime() returns the current Unix timestamp with microseconds. This function is only available on operating systems that support the gettimeofday() system call.",
"name": "microtime",
"params": [
{
"descr": "If used and set to TRUE, microtime() will return a float instead of a string, as described in the return values section below.",
"name": "get_as_float"
}
],
"path": "php/function.microtime",
"syntax": "mixed microtime ([ bool $get_as_float = false ] )",
"type": "Date and Time"
},
"mime_content_type": {
"descr": "Returns the MIME content type for a file as determined by using information from the magic.mime file.",
"name": "mime_content_type",
"params": [
{
"descr": "Path to the tested file.",
"name": "filename"
}
],
"path": "php/function.mime-content-type",
"syntax": "string mime_content_type ( string $filename )",
"type": "File System"
},
"min": {
"descr": "If the first and only parameter is an array, min() returns the lowest value in that array. If at least two parameters are provided, min() returns the smallest of these values.",
"name": "min",
"params": [
{
"descr": "An array containing the values.",
"name": "values"
},
{
"descr": "Any comparable value.",
"name": "value1"
},
{
"descr": "Any comparable value.",
"name": "value2"
},
{
"descr": "Any comparable value.",
"name": "..."
}
],
"path": "php/function.min",
"syntax": "mixed min ( array $values )",
"type": "Mathematics"
},
"mkdir": {
"descr": "Attempts to create the directory specified by pathname.",
"name": "mkdir",
"params": [
{
"descr": "The directory path.",
"name": "pathname"
},
{
"descr": "The mode is 0777 by default, which means the widest possible access. ",
"name": "mode"
},
{
"descr": "Allows the creation of nested directories specified in the pathname.",
"name": "recursive"
},
{
"descr": "Note: Context support was added with PHP 5.0.0. ",
"name": "context"
}
],
"path": "php/function.mkdir",
"syntax": "bool mkdir ( string $pathname [, int $mode = 0777 [, bool $recursive = false [, resource $context ]]] )",
"type": "File System"
},
"mktime": {
"descr": "Returns the Unix timestamp corresponding to the arguments given. This timestamp is a long integer containing the number of seconds between the Unix Epoch (January 1 1970 00:00:00 GMT) and the time specified.",
"name": "mktime",
"params": [
{
"descr": "The number of the hour relative to the start of the day determined by month, day and year. ",
"name": "hour"
},
{
"descr": "The number of the minute relative to the start of the hour. ",
"name": "minute"
},
{
"descr": "The number of seconds relative to the start of the minute. ",
"name": "second"
},
{
"descr": "The number of the month relative to the end of the previous year. ",
"name": "month"
},
{
"descr": "The number of the day relative to the end of the previous month. ",
"name": "day"
},
{
"descr": "The number of the year, may be a two or four digit value, with values between 0-69 mapping to 2000-2069 and 70-100 to 1970-2000. ",
"name": "year"
},
{
"descr": "This parameter can be set to 1 if the time is during daylight savings time (DST), 0 if it is not, or -1 (the default) if it is unknown whether the time is within daylight savings time or not. ",
"name": "is_dst"
}
],
"path": "php/function.mktime",
"syntax": "int mktime ([ int $hour = date(\"H\") [, int $minute = date(\"i\") [, int $second = date(\"s\") [, int $month = date(\"n\") [, int $day = date(\"j\") [, int $year = date(\"Y\") [, int $is_dst = -1 ]]]]]]] )",
"type": "Date and Time"
},
"money_format": {
"descr": "money_format() returns a formatted version of number. This function wraps the C library function strfmon(), with the difference that this implementation converts only one number at a time.",
"name": "money_format",
"params": [
{
"descr": "The format specification consists of the following sequence: a % character optional flags optional field width optional left precision optional right precision a required conversion character Flags One or more of the optional flags below can be used: =f The character = followed by a (single byte) character f to be used as the numeric fill character. The default fill character is space.",
"name": "format"
},
{
"descr": "Disable the use of grouping characters (as defined by the current locale).",
"name": "^"
},
{
"descr": "Specify the formatting style for positive and negative numbers. ",
"name": "+ or ("
},
{
"descr": "Suppress the currency symbol from the output string.",
"name": "!"
},
{
"descr": "If present, it will make all fields left-justified (padded to the right), as opposed to the default which is for the fields to be right-justified (padded to the left).",
"name": "-"
},
{
"descr": "A decimal digit string specifying a minimum field width. ",
"name": "w"
},
{
"descr": "The maximum number of digits (n) expected to the left of the decimal character (e.g. ",
"name": "#n"
},
{
"descr": "A period followed by the number of digits (p) after the decimal character. ",
"name": ".p"
},
{
"descr": "The number is formatted according to the locale's international currency format (e.g. ",
"name": "i"
},
{
"descr": "The number is formatted according to the locale's national currency format (e.g. ",
"name": "n"
},
{
"descr": "Returns the % character.",
"name": "%"
},
{
"descr": "The number to be formatted.",
"name": "number"
}
],
"path": "php/function.money-format",
"syntax": "string money_format ( string $format , float $number )",
"type": "String"
},
"move_uploaded_file": {
"descr": "This function checks to ensure that the file designated by filename is a valid upload file (meaning that it was uploaded via PHP's HTTP POST upload mechanism). If the file is valid, it will be moved to the filename given by destination.",
"name": "move_uploaded_file",
"params": [
{
"descr": "The filename of the uploaded file.",
"name": "filename"
},
{
"descr": "The destination of the moved file.",
"name": "destination"
}
],
"path": "php/function.move-uploaded-file",
"syntax": "bool move_uploaded_file ( string $filename , string $destination )",
"type": "File System"
},
"mt_getrandmax": {
"descr": "",
"name": "mt_getrandmax",
"params": [],
"path": "php/function.mt-getrandmax",
"syntax": "int mt_getrandmax ( void )",
"type": "Mathematics"
},
"mt_rand": {
"descr": "",
"name": "mt_rand",
"params": [
{
"descr": "Optional lowest value to be returned (default: 0)",
"name": "min"
},
{
"descr": "Optional highest value to be returned (default: mt_getrandmax())",
"name": "max"
}
],
"path": "php/function.mt-rand",
"syntax": "int mt_rand ( void )",
"type": "Mathematics"
},
"mt_srand": {
"descr": "Seeds the random number generator with seed or with a random value if no seed is given.",
"name": "mt_srand",
"params": [
{
"descr": "An optional seed value",
"name": "seed"
}
],
"path": "php/function.mt-srand",
"syntax": "void mt_srand ([ int $seed ] )",
"type": "Mathematics"
},
"mysqli": {
"descr": "",
"name": "mysqli",
"params": [],
"path": "php/class.mysqli",
"syntax": "bool autocommit ( bool $mode )",
"type": "Database/MySQL"
},
"mysqli::$affected_rows": {
"descr": "Returns the number of rows affected by the last INSERT, UPDATE, REPLACE or DELETE query.",
"name": "mysqli::$affected_rows",
"params": [
{
"descr": "Procedural style only: A link identifier returned by mysqli_connect() or mysqli_init()",
"name": "link"
}
],
"path": "php/mysqli.affected-rows",
"syntax": "int mysqli_affected_rows ( mysqli $link )",
"type": "Database/MySQL"
},
"mysqli::$client_info": {
"descr": "Returns a string that represents the MySQL client library version.",
"name": "mysqli::$client_info",
"params": [],
"path": "php/mysqli.client-info",
"syntax": "string mysqli_get_client_info ( mysqli $link )",
"type": "Database/MySQL"
},
"mysqli::$client_version": {
"descr": "Returns client version number as an integer.",
"name": "mysqli::$client_version",
"params": [],
"path": "php/mysqli.client-version",
"syntax": "int mysqli_get_client_version ( mysqli $link )",
"type": "Database/MySQL"
},
"mysqli::$connect_errno": {
"descr": "Returns the last error code number from the last call to mysqli_connect().",
"name": "mysqli::$connect_errno",
"params": [],
"path": "php/mysqli.connect-errno",
"syntax": "int mysqli_connect_errno ( void )",
"type": "Database/MySQL"
},
"mysqli::$connect_error": {
"descr": "Returns the last error message string from the last call to mysqli_connect().",
"name": "mysqli::$connect_error",
"params": [],
"path": "php/mysqli.connect-error",
"syntax": "string mysqli_connect_error ( void )",
"type": "Database/MySQL"
},
"mysqli::$errno": {
"descr": "Returns the last error code for the most recent MySQLi function call that can succeed or fail.",
"name": "mysqli::$errno",
"params": [
{
"descr": "Procedural style only: A link identifier returned by mysqli_connect() or mysqli_init()",
"name": "link"
}
],
"path": "php/mysqli.errno",
"syntax": "int mysqli_errno ( mysqli $link )",
"type": "Database/MySQL"
},
"mysqli::$error": {
"descr": "Returns the last error message for the most recent MySQLi function call that can succeed or fail.",
"name": "mysqli::$error",
"params": [
{
"descr": "Procedural style only: A link identifier returned by mysqli_connect() or mysqli_init()",
"name": "link"
}
],
"path": "php/mysqli.error",
"syntax": "string mysqli_error ( mysqli $link )",
"type": "Database/MySQL"
},
"mysqli::$error_list": {
"descr": "Returns a array of errors for the most recent MySQLi function call that can succeed or fail.",
"name": "mysqli::$error_list",
"params": [
{
"descr": "Procedural style only: A link identifier returned by mysqli_connect() or mysqli_init()",
"name": "link"
}
],
"path": "php/mysqli.error-list",
"syntax": "array mysqli_error_list ( mysqli $link )",
"type": "Database/MySQL"
},
"mysqli::$field_count": {
"descr": "Returns the number of columns for the most recent query on the connection represented by the link parameter. This function can be useful when using the mysqli_store_result() function to determine if the query should have produced a non-empty result set or not without knowing the nature of the query.",
"name": "mysqli::$field_count",
"params": [
{
"descr": "Procedural style only: A link identifier returned by mysqli_connect() or mysqli_init()",
"name": "link"
}
],
"path": "php/mysqli.field-count",
"syntax": "int mysqli_field_count ( mysqli $link )",
"type": "Database/MySQL"
},
"mysqli::$host_info": {
"descr": "Returns a string describing the connection represented by the link parameter (including the server host name).",
"name": "mysqli::$host_info",
"params": [
{
"descr": "Procedural style only: A link identifier returned by mysqli_connect() or mysqli_init()",
"name": "link"
}
],
"path": "php/mysqli.get-host-info",
"syntax": "string mysqli_get_host_info ( mysqli $link )",
"type": "Database/MySQL"
},
"mysqli::$info": {
"descr": "The mysqli_info() function returns a string providing information about the last query executed. The nature of this string is provided below:",
"name": "mysqli::$info",
"params": [
{
"descr": "Procedural style only: A link identifier returned by mysqli_connect() or mysqli_init()",
"name": "link"
}
],
"path": "php/mysqli.info",
"syntax": "string mysqli_info ( mysqli $link )",
"type": "Database/MySQL"
},
"mysqli::$insert_id": {
"descr": "The mysqli_insert_id() function returns the ID generated by a query on a table with a column having the AUTO_INCREMENT attribute. If the last query wasn't an INSERT or UPDATE statement or if the modified table does not have a column with the AUTO_INCREMENT attribute, this function will return zero.",
"name": "mysqli::$insert_id",
"params": [
{
"descr": "Procedural style only: A link identifier returned by mysqli_connect() or mysqli_init()",
"name": "link"
}
],
"path": "php/mysqli.insert-id",
"syntax": "mixed mysqli_insert_id ( mysqli $link )",
"type": "Database/MySQL"
},
"mysqli::$protocol_version": {
"descr": "Returns an integer representing the MySQL protocol version used by the connection represented by the link parameter.",
"name": "mysqli::$protocol_version",
"params": [
{
"descr": "Procedural style only: A link identifier returned by mysqli_connect() or mysqli_init()",
"name": "link"
}
],
"path": "php/mysqli.get-proto-info",
"syntax": "int mysqli_get_proto_info ( mysqli $link )",
"type": "Database/MySQL"
},
"mysqli::$server_info": {
"descr": "Returns a string representing the version of the MySQL server that the MySQLi extension is connected to.",
"name": "mysqli::$server_info",
"params": [
{
"descr": "Procedural style only: A link identifier returned by mysqli_connect() or mysqli_init()",
"name": "link"
}
],
"path": "php/mysqli.get-server-info",
"syntax": "string mysqli_get_server_info ( mysqli $link )",
"type": "Database/MySQL"
},
"mysqli::$server_version": {
"descr": "The mysqli_get_server_version() function returns the version of the server connected to (represented by the link parameter) as an integer.",
"name": "mysqli::$server_version",
"params": [
{
"descr": "Procedural style only: A link identifier returned by mysqli_connect() or mysqli_init()",
"name": "link"
}
],
"path": "php/mysqli.get-server-version",
"syntax": "int mysqli_get_server_version ( mysqli $link )",
"type": "Database/MySQL"
},
"mysqli::$sqlstate": {
"descr": "Returns a string containing the SQLSTATE error code for the last error. The error code consists of five characters. '00000' means no error. The values are specified by ANSI SQL and ODBC. For a list of possible values, see \u00bb http://dev.mysql.com/doc/mysql/en/error-handling.html.",
"name": "mysqli::$sqlstate",
"params": [
{
"descr": "Procedural style only: A link identifier returned by mysqli_connect() or mysqli_init()",
"name": "link"
}
],
"path": "php/mysqli.sqlstate",
"syntax": "string mysqli_sqlstate ( mysqli $link )",
"type": "Database/MySQL"
},
"mysqli::$thread_id": {
"descr": "The mysqli_thread_id() function returns the thread ID for the current connection which can then be killed using the mysqli_kill() function. If the connection is lost and you reconnect with mysqli_ping(), the thread ID will be other. Therefore you should get the thread ID only when you need it.",
"name": "mysqli::$thread_id",
"params": [
{
"descr": "Procedural style only: A link identifier returned by mysqli_connect() or mysqli_init()",
"name": "link"
}
],
"path": "php/mysqli.thread-id",
"syntax": "int mysqli_thread_id ( mysqli $link )",
"type": "Database/MySQL"
},
"mysqli::$warning_count": {
"descr": "Returns the number of warnings from the last query in the connection.",
"name": "mysqli::$warning_count",
"params": [
{
"descr": "Procedural style only: A link identifier returned by mysqli_connect() or mysqli_init()",
"name": "link"
}
],
"path": "php/mysqli.warning-count",
"syntax": "int mysqli_warning_count ( mysqli $link )",
"type": "Database/MySQL"
},
"mysqli::__construct": {
"descr": "Opens a connection to the MySQL Server running on.",
"name": "mysqli::__construct",
"params": [
{
"descr": "Can be either a host name or an IP address. ",
"name": "host"
},
{
"descr": "The MySQL user name.",
"name": "username"
},
{
"descr": "If not provided or NULL, the MySQL server will attempt to authenticate the user against those user records which have no password only. ",
"name": "passwd"
},
{
"descr": "If provided will specify the default database to be used when performing queries.",
"name": "dbname"
},
{
"descr": "Specifies the port number to attempt to connect to the MySQL server.",
"name": "port"
},
{
"descr": "Specifies the socket or named pipe that should be used. ",
"name": "socket"
}
],
"path": "php/mysqli.construct",
"syntax": "mysqli mysqli_connect ([ string $host = ini_get(\"mysqli.default_host\") [, string $username = ini_get(\"mysqli.default_user\") [, string $passwd = ini_get(\"mysqli.default_pw\") [, string $dbname = \"\" [, int $port = ini_get(\"mysqli.default_port\") [, string $socket = ini_get(\"mysqli.default_socket\") ]]]]]] )",
"type": "Database/MySQL"
},
"mysqli::autocommit": {
"descr": "Turns on or off auto-commit mode on queries for the database connection.",
"name": "mysqli::autocommit",
"params": [
{
"descr": "Procedural style only: A link identifier returned by mysqli_connect() or mysqli_init()",
"name": "link"
},
{
"descr": "Whether to turn on auto-commit or not.",
"name": "mode"
}
],
"path": "php/mysqli.autocommit",
"syntax": "bool mysqli::autocommit ( bool $mode )",
"type": "Database/MySQL"
},
"mysqli::begin_transaction": {
"descr": "Procedural style:",
"name": "mysqli::begin_transaction",
"params": [
{
"descr": "Procedural style only: A link identifier returned by mysqli_connect() or mysqli_init()",
"name": "link"
}
],
"path": "php/mysqli.begin-transaction",
"syntax": "public bool mysqli::begin_transaction ([ int $flags [, string $name ]] )",
"type": "Database/MySQL"
},
"mysqli::change_user": {
"descr": "Changes the user of the specified database connection and sets the current database.",
"name": "mysqli::change_user",
"params": [
{
"descr": "Procedural style only: A link identifier returned by mysqli_connect() or mysqli_init()",
"name": "link"
},
{
"descr": "The MySQL user name.",
"name": "user"
},
{
"descr": "The MySQL password.",
"name": "password"
},
{
"descr": "The database to change to. If desired, the NULL value may be passed resulting in only changing the user and not selecting a database. ",
"name": "database"
}
],
"path": "php/mysqli.change-user",
"syntax": "bool mysqli::change_user ( string $user , string $password , string $database )",
"type": "Database/MySQL"
},
"mysqli::character_set_name": {
"descr": "Returns the current character set for the database connection.",
"name": "mysqli::character_set_name",
"params": [
{
"descr": "Procedural style only: A link identifier returned by mysqli_connect() or mysqli_init()",
"name": "link"
}
],
"path": "php/mysqli.character-set-name",
"syntax": "string mysqli::character_set_name ( void )",
"type": "Database/MySQL"
},
"mysqli::close": {
"descr": "Closes a previously opened database connection.",
"name": "mysqli::close",
"params": [
{
"descr": "Procedural style only: A link identifier returned by mysqli_connect() or mysqli_init()",
"name": "link"
}
],
"path": "php/mysqli.close",
"syntax": "bool mysqli::close ( void )",
"type": "Database/MySQL"
},
"mysqli::commit": {
"descr": "Commits the current transaction for the database connection.",
"name": "mysqli::commit",
"params": [
{
"descr": "Procedural style only: A link identifier returned by mysqli_connect() or mysqli_init()",
"name": "link"
},
{
"descr": "A bitmask of MYSQLI_TRANS_COR_* constants.",
"name": "flags"
},
{
"descr": "If provided then COMMIT/*name*/ is executed.",
"name": "name"
}
],
"path": "php/mysqli.commit",
"syntax": "bool mysqli::commit ([ int $flags [, string $name ]] )",
"type": "Database/MySQL"
},
"mysqli::debug": {
"descr": "Performs debugging operations using the Fred Fish debugging library.",
"name": "mysqli::debug",
"params": [
{
"descr": "A string representing the debugging operation to perform",
"name": "message"
}
],
"path": "php/mysqli.debug",
"syntax": "bool mysqli::debug ( string $message )",
"type": "Database/MySQL"
},
"mysqli::disable_reads_from_master": {
"descr": "Procedural style",
"name": "mysqli::disable_reads_from_master",
"params": [],
"path": "php/function.mysqli-disable-reads-from-master",
"syntax": "void mysqli::disable_reads_from_master ( void )",
"type": "Database/MySQL"
},
"mysqli::dump_debug_info": {
"descr": "This function is designed to be executed by an user with the SUPER privilege and is used to dump debugging information into the log for the MySQL Server relating to the connection.",
"name": "mysqli::dump_debug_info",
"params": [
{
"descr": "Procedural style only: A link identifier returned by mysqli_connect() or mysqli_init()",
"name": "link"
}
],
"path": "php/mysqli.dump-debug-info",
"syntax": "bool mysqli::dump_debug_info ( void )",
"type": "Database/MySQL"
},
"mysqli::get_charset": {
"descr": "Returns a character set object providing several properties of the current active character set.",
"name": "mysqli::get_charset",
"params": [
{
"descr": "Procedural style only: A link identifier returned by mysqli_connect() or mysqli_init()",
"name": "link"
},
{
"descr": "Character set name",
"name": "charset"
},
{
"descr": "Collation name",
"name": "collation"
},
{
"descr": "Directory the charset description was fetched from (?) or \"\" for built-in character sets",
"name": "dir"
},
{
"descr": "Minimum character length in bytes",
"name": "min_length"
},
{
"descr": "Maximum character length in bytes",
"name": "max_length"
},
{
"descr": "Internal character set number",
"name": "number"
},
{
"descr": "Character set status (?)",
"name": "state"
}
],
"path": "php/mysqli.get-charset",
"syntax": "object mysqli::get_charset ( void )",
"type": "Database/MySQL"
},
"mysqli::get_client_info": {
"descr": "Returns a string that represents the MySQL client library version.",
"name": "mysqli::get_client_info",
"params": [],
"path": "php/mysqli.get-client-info",
"syntax": "string mysqli::get_client_info ( void )",
"type": "Database/MySQL"
},
"mysqli::get_connection_stats": {
"descr": "Returns statistics about the client connection. Available only with mysqlnd.",
"name": "mysqli::get_connection_stats",
"params": [
{
"descr": "Procedural style only: A link identifier returned by mysqli_connect() or mysqli_init()",
"name": "link"
}
],
"path": "php/mysqli.get-connection-stats",
"syntax": "bool mysqli::get_connection_stats ( void )",
"type": "Database/MySQL"
},
"mysqli::get_warnings": {
"descr": "Procedural style",
"name": "mysqli::get_warnings",
"params": [],
"path": "php/mysqli.get-warnings",
"syntax": "mysqli_warning mysqli::get_warnings ( void )",
"type": "Database/MySQL"
},
"mysqli::init": {
"descr": "Allocates or initializes a MYSQL object suitable for mysqli_options() and mysqli_real_connect().",
"name": "mysqli::init",
"params": [],
"path": "php/mysqli.init",
"syntax": "mysqli mysqli::init ( void )",
"type": "Database/MySQL"
},
"mysqli::kill": {
"descr": "This function is used to ask the server to kill a MySQL thread specified by the processid parameter. This value must be retrieved by calling the mysqli_thread_id() function.",
"name": "mysqli::kill",
"params": [
{
"descr": "Procedural style only: A link identifier returned by mysqli_connect() or mysqli_init()",
"name": "link"
}
],
"path": "php/mysqli.kill",
"syntax": "bool mysqli::kill ( int $processid )",
"type": "Database/MySQL"
},
"mysqli::more_results": {
"descr": "Indicates if one or more result sets are available from a previous call to mysqli_multi_query().",
"name": "mysqli::more_results",
"params": [
{
"descr": "Procedural style only: A link identifier returned by mysqli_connect() or mysqli_init()",
"name": "link"
}
],
"path": "php/mysqli.more-results",
"syntax": "bool mysqli::more_results ( void )",
"type": "Database/MySQL"
},
"mysqli::multi_query": {
"descr": "Executes one or multiple queries which are concatenated by a semicolon.",
"name": "mysqli::multi_query",
"params": [
{
"descr": "Procedural style only: A link identifier returned by mysqli_connect() or mysqli_init()",
"name": "link"
},
{
"descr": "The query, as a string. Data inside the query should be properly escaped.",
"name": "query"
}
],
"path": "php/mysqli.multi-query",
"syntax": "bool mysqli::multi_query ( string $query )",
"type": "Database/MySQL"
},
"mysqli::next_result": {
"descr": "Prepares next result set from a previous call to mysqli_multi_query() which can be retrieved by mysqli_store_result() or mysqli_use_result().",
"name": "mysqli::next_result",
"params": [
{
"descr": "Procedural style only: A link identifier returned by mysqli_connect() or mysqli_init()",
"name": "link"
}
],
"path": "php/mysqli.next-result",
"syntax": "bool mysqli::next_result ( void )",
"type": "Database/MySQL"
},
"mysqli::options": {
"descr": "Used to set extra connect options and affect behavior for a connection.",
"name": "mysqli::options",
"params": [
{
"descr": "Procedural style only: A link identifier returned by mysqli_connect() or mysqli_init()",
"name": "link"
},
{
"descr": "The option that you want to set. ",
"name": "option"
},
{
"descr": "The value for the option.",
"name": "value"
}
],
"path": "php/mysqli.options",
"syntax": "bool mysqli::options ( int $option , mixed $value )",
"type": "Database/MySQL"
},
"mysqli::ping": {
"descr": "Checks whether the connection to the server is working. If it has gone down, and global option mysqli.reconnect is enabled an automatic reconnection is attempted.",
"name": "mysqli::ping",
"params": [
{
"descr": "Procedural style only: A link identifier returned by mysqli_connect() or mysqli_init()",
"name": "link"
}
],
"path": "php/mysqli.ping",
"syntax": "bool mysqli::ping ( void )",
"type": "Database/MySQL"
},
"mysqli::poll": {
"descr": "Poll connections. Available only with mysqlnd. The method can be used as static.",
"name": "mysqli::poll",
"params": [
{
"descr": "List of connections to check for outstanding results that can be read.",
"name": "read"
},
{
"descr": "List of connections on which an error occured, for example, query failure or lost connection.",
"name": "error"
},
{
"descr": "List of connections rejected because no asynchronous query has been run on for which the function could poll results.",
"name": "reject"
},
{
"descr": "Number of seconds to wait, must be non-negative.",
"name": "sec"
},
{
"descr": "Number of microseconds to wait, must be non-negative.",
"name": "usec"
}
],
"path": "php/mysqli.poll",
"syntax": "public static int mysqli::poll ( array &$read , array &$error , array &$reject , int $sec [, int $usec ] )",
"type": "Database/MySQL"
},
"mysqli::prepare": {
"descr": "Prepares the SQL query, and returns a statement handle to be used for further operations on the statement. The query must consist of a single SQL statement.",
"name": "mysqli::prepare",
"params": [
{
"descr": "Procedural style only: A link identifier returned by mysqli_connect() or mysqli_init()",
"name": "link"
},
{
"descr": "The query, as a string. Note: You should not add a terminating semicolon or \\g to the statement. ",
"name": "query"
}
],
"path": "php/mysqli.prepare",
"syntax": "mysqli_stmt mysqli::prepare ( string $query )",
"type": "Database/MySQL"
},
"mysqli::query": {
"descr": "Performs a query against the database.",
"name": "mysqli::query",
"params": [
{
"descr": "Procedural style only: A link identifier returned by mysqli_connect() or mysqli_init()",
"name": "link"
},
{
"descr": "The query string. Data inside the query should be properly escaped.",
"name": "query"
},
{
"descr": "Either the constant MYSQLI_USE_RESULT or MYSQLI_STORE_RESULT depending on the desired behavior. ",
"name": "resultmode"
}
],
"path": "php/mysqli.query",
"syntax": "mixed mysqli::query ( string $query [, int $resultmode = MYSQLI_STORE_RESULT ] )",
"type": "Database/MySQL"
},
"mysqli::real_connect": {
"descr": "Establish a connection to a MySQL database engine.",
"name": "mysqli::real_connect",
"params": [
{
"descr": "Procedural style only: A link identifier returned by mysqli_connect() or mysqli_init()",
"name": "link"
},
{
"descr": "Can be either a host name or an IP address. ",
"name": "host"
},
{
"descr": "The MySQL user name.",
"name": "username"
},
{
"descr": "If provided or NULL, the MySQL server will attempt to authenticate the user against those user records which have no password only. ",
"name": "passwd"
},
{
"descr": "If provided will specify the default database to be used when performing queries.",
"name": "dbname"
},
{
"descr": "Specifies the port number to attempt to connect to the MySQL server.",
"name": "port"
},
{
"descr": "Specifies the socket or named pipe that should be used. ",
"name": "socket"
},
{
"descr": "With the parameter flags you can set different connection options: Supported flags Name Description MYSQLI_CLIENT_COMPRESS Use compression protocol MYSQLI_CLIENT_FOUND_ROWS return number of matched rows, not the number of affected rows MYSQLI_CLIENT_IGNORE_SPACE Allow spaces after function names. Makes all function names reserved words. MYSQLI_CLIENT_INTERACTIVE Allow interactive_timeout seconds (instead of wait_timeout seconds) of inactivity before closing the connection MYSQLI_CLIENT_SSL Use SSL (encryption) Note: For security reasons the MULTI_STATEMENT flag is not supported in PHP. If you want to execute multiple queries use the mysqli_multi_query() function.",
"name": "flags"
}
],
"path": "php/mysqli.real-connect",
"syntax": "bool mysqli::real_connect ([ string $host [, string $username [, string $passwd [, string $dbname [, int $port [, string $socket [, int $flags ]]]]]]] )",
"type": "Database/MySQL"
},
"mysqli::real_escape_string": {
"descr": "This function is used to create a legal SQL string that you can use in an SQL statement. The given string is encoded to an escaped SQL string, taking into account the current character set of the connection.",
"name": "mysqli::real_escape_string",
"params": [
{
"descr": "Procedural style only: A link identifier returned by mysqli_connect() or mysqli_init()",
"name": "link"
},
{
"descr": "The string to be escaped. Characters encoded are NUL (ASCII 0), \\n, \\r, \\, ', \", and Control-Z.",
"name": "escapestr"
}
],
"path": "php/mysqli.real-escape-string",
"syntax": "string mysqli::escape_string ( string $escapestr )",
"type": "Database/MySQL"
},
"mysqli::real_query": {
"descr": "Executes a single query against the database whose result can then be retrieved or stored using the mysqli_store_result() or mysqli_use_result() functions.",
"name": "mysqli::real_query",
"params": [
{
"descr": "Procedural style only: A link identifier returned by mysqli_connect() or mysqli_init()",
"name": "link"
},
{
"descr": "The query, as a string. Data inside the query should be properly escaped.",
"name": "query"
}
],
"path": "php/mysqli.real-query",
"syntax": "bool mysqli::real_query ( string $query )",
"type": "Database/MySQL"
},
"mysqli::reap_async_query": {
"descr": "Get result from async query. Available only with mysqlnd.",
"name": "mysqli::reap_async_query",
"params": [
{
"descr": "Procedural style only: A link identifier returned by mysqli_connect() or mysqli_init()",
"name": "link"
}
],
"path": "php/mysqli.reap-async-query",
"syntax": "public mysqli_result mysqli::reap_async_query ( void )",
"type": "Database/MySQL"
},
"mysqli::refresh": {
"descr": "Flushes tables or caches, or resets the replication server information.",
"name": "mysqli::refresh",
"params": [
{
"descr": "Procedural style only: A link identifier returned by mysqli_connect() or mysqli_init()",
"name": "link"
},
{
"descr": "The options to refresh, using the MYSQLI_REFRESH_* constants as documented within the MySQLi constants documentation. ",
"name": "options"
}
],
"path": "php/mysqli.refresh",
"syntax": "public bool mysqli::refresh ( int $options )",
"type": "Database/MySQL"
},
"mysqli::release_savepoint": {
"descr": "Procedural style:",
"name": "mysqli::release_savepoint",
"params": [
{
"descr": "Procedural style only: A link identifier returned by mysqli_connect() or mysqli_init()",
"name": "link"
}
],
"path": "php/mysqli.release-savepoint",
"syntax": "public bool mysqli::release_savepoint ( string $name )",
"type": "Database/MySQL"
},
"mysqli::rollback": {
"descr": "Rollbacks the current transaction for the database.",
"name": "mysqli::rollback",
"params": [
{
"descr": "Procedural style only: A link identifier returned by mysqli_connect() or mysqli_init()",
"name": "link"
},
{
"descr": "A bitmask of MYSQLI_TRANS_COR_* constants.",
"name": "flags"
},
{
"descr": "If provided then ROLLBACK/*name*/ is executed.",
"name": "name"
}
],
"path": "php/mysqli.rollback",
"syntax": "bool mysqli::rollback ([ int $flags [, string $name ]] )",
"type": "Database/MySQL"
},
"mysqli::rpl_query_type": {
"descr": "Returns MYSQLI_RPL_MASTER, MYSQLI_RPL_SLAVE or MYSQLI_RPL_ADMIN depending on a query type. INSERT, UPDATE and similar are master queries, SELECT is slave, and FLUSH, REPAIR and similar are admin.",
"name": "mysqli::rpl_query_type",
"params": [],
"path": "php/mysqli.rpl-query-type",
"syntax": "int mysqli::rpl_query_type ( string $query )",
"type": "Database/MySQL"
},
"mysqli::savepoint": {
"descr": "Procedural style:",
"name": "mysqli::savepoint",
"params": [
{
"descr": "Procedural style only: A link identifier returned by mysqli_connect() or mysqli_init()",
"name": "link"
}
],
"path": "php/mysqli.savepoint",
"syntax": "public bool mysqli::savepoint ( string $name )",
"type": "Database/MySQL"
},
"mysqli::select_db": {
"descr": "Selects the default database to be used when performing queries against the database connection.",
"name": "mysqli::select_db",
"params": [
{
"descr": "Procedural style only: A link identifier returned by mysqli_connect() or mysqli_init()",
"name": "link"
},
{
"descr": "The database name.",
"name": "dbname"
}
],
"path": "php/mysqli.select-db",
"syntax": "bool mysqli::select_db ( string $dbname )",
"type": "Database/MySQL"
},
"mysqli::send_query": {
"descr": "Procedural style",
"name": "mysqli::send_query",
"params": [],
"path": "php/mysqli.send-query",
"syntax": "bool mysqli::send_query ( string $query )",
"type": "Database/MySQL"
},
"mysqli::set_charset": {
"descr": "Sets the default character set to be used when sending data from and to the database server.",
"name": "mysqli::set_charset",
"params": [
{
"descr": "Procedural style only: A link identifier returned by mysqli_connect() or mysqli_init()",
"name": "link"
},
{
"descr": "The charset to be set as default.",
"name": "charset"
}
],
"path": "php/mysqli.set-charset",
"syntax": "bool mysqli::set_charset ( string $charset )",
"type": "Database/MySQL"
},
"mysqli::set_local_infile_default": {
"descr": "Deactivates a LOAD DATA INFILE LOCAL handler previously set with mysqli_set_local_infile_handler().",
"name": "mysqli::set_local_infile_default",
"params": [
{
"descr": "Procedural style only: A link identifier returned by mysqli_connect() or mysqli_init()",
"name": "link"
}
],
"path": "php/mysqli.set-local-infile-default",
"syntax": "void mysqli_set_local_infile_default ( mysqli $link )",
"type": "Database/MySQL"
},
"mysqli::set_local_infile_handler": {
"descr": "Set callback function for LOAD DATA LOCAL INFILE command",
"name": "mysqli::set_local_infile_handler",
"params": [
{
"descr": "Procedural style only: A link identifier returned by mysqli_connect() or mysqli_init()",
"name": "link"
},
{
"descr": "A callback function or object method taking the following parameters: stream A PHP stream associated with the SQL commands INFILE",
"name": "read_func"
},
{
"descr": "A string buffer to store the rewritten input into",
"name": "&buffer"
},
{
"descr": "The maximum number of characters to be stored in the buffer",
"name": "buflen"
},
{
"descr": "If an error occurs you can store an error message in here",
"name": "&errormsg"
}
],
"path": "php/mysqli.set-local-infile-handler",
"syntax": "bool mysqli::set_local_infile_handler ( mysqli $link , callable $read_func )",
"type": "Database/MySQL"
},
"mysqli::ssl_set": {
"descr": "Used for establishing secure connections using SSL. It must be called before mysqli_real_connect(). This function does nothing unless OpenSSL support is enabled.",
"name": "mysqli::ssl_set",
"params": [
{
"descr": "Procedural style only: A link identifier returned by mysqli_connect() or mysqli_init()",
"name": "link"
},
{
"descr": "The path name to the key file.",
"name": "key"
},
{
"descr": "The path name to the certificate file.",
"name": "cert"
},
{
"descr": "The path name to the certificate authority file.",
"name": "ca"
},
{
"descr": "The pathname to a directory that contains trusted SSL CA certificates in PEM format.",
"name": "capath"
},
{
"descr": "A list of allowable ciphers to use for SSL encryption.",
"name": "cipher"
}
],
"path": "php/mysqli.ssl-set",
"syntax": "bool mysqli::ssl_set ( string $key , string $cert , string $ca , string $capath , string $cipher )",
"type": "Database/MySQL"
},
"mysqli::stat": {
"descr": "mysqli_stat() returns a string containing information similar to that provided by the 'mysqladmin status' command. This includes uptime in seconds and the number of running threads, questions, reloads, and open tables.",
"name": "mysqli::stat",
"params": [
{
"descr": "Procedural style only: A link identifier returned by mysqli_connect() or mysqli_init()",
"name": "link"
}
],
"path": "php/mysqli.stat",
"syntax": "string mysqli::stat ( void )",
"type": "Database/MySQL"
},
"mysqli::stmt_init": {
"descr": "Allocates and initializes a statement object suitable for mysqli_stmt_prepare().",
"name": "mysqli::stmt_init",
"params": [
{
"descr": "Procedural style only: A link identifier returned by mysqli_connect() or mysqli_init()",
"name": "link"
}
],
"path": "php/mysqli.stmt-init",
"syntax": "mysqli_stmt mysqli::stmt_init ( void )",
"type": "Database/MySQL"
},
"mysqli::store_result": {
"descr": "Transfers the result set from the last query on the database connection represented by the link parameter to be used with the mysqli_data_seek() function.",
"name": "mysqli::store_result",
"params": [
{
"descr": "Procedural style only: A link identifier returned by mysqli_connect() or mysqli_init()",
"name": "link"
}
],
"path": "php/mysqli.store-result",
"syntax": "mysqli_result mysqli::store_result ( void )",
"type": "Database/MySQL"
},
"mysqli::thread_safe": {
"descr": "Tells whether the client library is compiled as thread-safe.",
"name": "mysqli::thread_safe",
"params": [],
"path": "php/mysqli.thread-safe",
"syntax": "bool mysqli_thread_safe ( void )",
"type": "Database/MySQL"
},
"mysqli::use_result": {
"descr": "Used to initiate the retrieval of a result set from the last query executed using the mysqli_real_query() function on the database connection.",
"name": "mysqli::use_result",
"params": [],
"path": "php/mysqli.use-result",
"syntax": "mysqli_result mysqli::use_result ( void )",
"type": "Database/MySQL"
},
"mysqli_disable_rpl_parse": {
"descr": "",
"name": "mysqli_disable_rpl_parse",
"params": [],
"path": "php/function.mysqli-disable-rpl-parse",
"syntax": "bool mysqli_disable_rpl_parse ( mysqli $link )",
"type": "Database/MySQL"
},
"mysqli_driver": {
"descr": "",
"name": "mysqli_driver",
"params": [],
"path": "php/class.mysqli-driver",
"syntax": "void embedded_server_end ( void )",
"type": "Database/MySQL"
},
"mysqli_driver::$report_mode": {
"descr": "A function helpful in improving queries during code development and testing. Depending on the flags, it reports errors from mysqli function calls or queries that don't use an index (or use a bad index).",
"name": "mysqli_driver::$report_mode",
"params": [
{
"descr": "Supported flags Name Description MYSQLI_REPORT_OFF Turns reporting off MYSQLI_REPORT_ERROR Report errors from mysqli function calls MYSQLI_REPORT_STRICT Throw mysqli_sql_exception for errors instead of warnings MYSQLI_REPORT_INDEX Report if no index or bad index was used in a query MYSQLI_REPORT_ALL Set all options (report all)",
"name": "flags"
}
],
"path": "php/mysqli-driver.report-mode",
"syntax": "bool mysqli_report ( int $flags )",
"type": "Database/MySQL"
},
"mysqli_driver::embedded_server_end": {
"descr": "Procedural style",
"name": "mysqli_driver::embedded_server_end",
"params": [],
"path": "php/mysqli-driver.embedded-server-end",
"syntax": "void mysqli_driver::embedded_server_end ( void )",
"type": "Database/MySQL"
},
"mysqli_driver::embedded_server_start": {
"descr": "Procedural style",
"name": "mysqli_driver::embedded_server_start",
"params": [],
"path": "php/mysqli-driver.embedded-server-start",
"syntax": "bool mysqli_driver::embedded_server_start ( bool $start , array $arguments , array $groups )",
"type": "Database/MySQL"
},
"mysqli_enable_reads_from_master": {
"descr": "",
"name": "mysqli_enable_reads_from_master",
"params": [],
"path": "php/function.mysqli-enable-reads-from-master",
"syntax": "bool mysqli_enable_reads_from_master ( mysqli $link )",
"type": "Database/MySQL"
},
"mysqli_enable_rpl_parse": {
"descr": "",
"name": "mysqli_enable_rpl_parse",
"params": [],
"path": "php/function.mysqli-enable-rpl-parse",
"syntax": "bool mysqli_enable_rpl_parse ( mysqli $link )",
"type": "Database/MySQL"
},
"mysqli_get_cache_stats": {
"descr": "",
"name": "mysqli_get_cache_stats",
"params": [],
"path": "php/function.mysqli-get-cache-stats",
"syntax": "array mysqli_get_cache_stats ( void )",
"type": "Database/MySQL"
},
"mysqli_get_client_stats": {
"descr": "Returns client per-process statistics. Available only with mysqlnd.",
"name": "mysqli_get_client_stats",
"params": [],
"path": "php/mysqli.get-client-stats",
"syntax": "array mysqli_get_client_stats ( void )",
"type": "Database/MySQL"
},
"mysqli_get_client_version": {
"descr": "Returns client version number as an integer.",
"name": "mysqli_get_client_version",
"params": [],
"path": "php/mysqli.get-client-version",
"syntax": "int mysqli_get_client_version ( mysqli $link )",
"type": "Database/MySQL"
},
"mysqli_master_query": {
"descr": "",
"name": "mysqli_master_query",
"params": [],
"path": "php/function.mysqli-master-query",
"syntax": "bool mysqli_master_query ( mysqli $link , string $query )",
"type": "Database/MySQL"
},
"mysqli_result": {
"descr": "",
"name": "mysqli_result",
"params": [],
"path": "php/class.mysqli-result",
"syntax": "bool data_seek ( int $offset )",
"type": "Database/MySQL"
},
"mysqli_result::$current_field": {
"descr": "Returns the position of the field cursor used for the last mysqli_fetch_field() call. This value can be used as an argument to mysqli_field_seek().",
"name": "mysqli_result::$current_field",
"params": [
{
"descr": "Procedural style only: A result set identifier returned by mysqli_query(), mysqli_store_result() or mysqli_use_result().",
"name": "result"
}
],
"path": "php/mysqli-result.current-field",
"syntax": "int mysqli_field_tell ( mysqli_result $result )",
"type": "Database/MySQL"
},
"mysqli_result::$field_count": {
"descr": "Returns the number of fields from specified result set.",
"name": "mysqli_result::$field_count",
"params": [
{
"descr": "Procedural style only: A result set identifier returned by mysqli_query(), mysqli_store_result() or mysqli_use_result().",
"name": "result"
}
],
"path": "php/mysqli-result.field-count",
"syntax": "int mysqli_num_fields ( mysqli_result $result )",
"type": "Database/MySQL"
},
"mysqli_result::$lengths": {
"descr": "The mysqli_fetch_lengths() function returns an array containing the lengths of every column of the current row within the result set.",
"name": "mysqli_result::$lengths",
"params": [
{
"descr": "Procedural style only: A result set identifier returned by mysqli_query(), mysqli_store_result() or mysqli_use_result().",
"name": "result"
}
],
"path": "php/mysqli-result.lengths",
"syntax": "array mysqli_fetch_lengths ( mysqli_result $result )",
"type": "Database/MySQL"
},
"mysqli_result::$num_rows": {
"descr": "Returns the number of rows in the result set.",
"name": "mysqli_result::$num_rows",
"params": [
{
"descr": "Procedural style only: A result set identifier returned by mysqli_query(), mysqli_store_result() or mysqli_use_result().",
"name": "result"
}
],
"path": "php/mysqli-result.num-rows",
"syntax": "int mysqli_num_rows ( mysqli_result $result )",
"type": "Database/MySQL"
},
"mysqli_result::data_seek": {
"descr": "The mysqli_data_seek() function seeks to an arbitrary result pointer specified by the offset in the result set.",
"name": "mysqli_result::data_seek",
"params": [
{
"descr": "Procedural style only: A result set identifier returned by mysqli_query(), mysqli_store_result() or mysqli_use_result().",
"name": "result"
},
{
"descr": "The field offset. Must be between zero and the total number of rows minus one (0..mysqli_num_rows() - 1).",
"name": "offset"
}
],
"path": "php/mysqli-result.data-seek",
"syntax": "bool mysqli_result::data_seek ( int $offset )",
"type": "Database/MySQL"
},
"mysqli_result::fetch_all": {
"descr": "mysqli_fetch_all() fetches all result rows and returns the result set as an associative array, a numeric array, or both.",
"name": "mysqli_result::fetch_all",
"params": [
{
"descr": "Procedural style only: A result set identifier returned by mysqli_query(), mysqli_store_result() or mysqli_use_result().",
"name": "result"
},
{
"descr": "This optional parameter is a constant indicating what type of array should be produced from the current row data. ",
"name": "resulttype"
}
],
"path": "php/mysqli-result.fetch-all",
"syntax": "mixed mysqli_result::fetch_all ([ int $resulttype = MYSQLI_NUM ] )",
"type": "Database/MySQL"
},
"mysqli_result::fetch_array": {
"descr": "Returns an array that corresponds to the fetched row or NULL if there are no more rows for the resultset represented by the result parameter.",
"name": "mysqli_result::fetch_array",
"params": [
{
"descr": "Procedural style only: A result set identifier returned by mysqli_query(), mysqli_store_result() or mysqli_use_result().",
"name": "result"
},
{
"descr": "This optional parameter is a constant indicating what type of array should be produced from the current row data. ",
"name": "resulttype"
}
],
"path": "php/mysqli-result.fetch-array",
"syntax": "mixed mysqli_result::fetch_array ([ int $resulttype = MYSQLI_BOTH ] )",
"type": "Database/MySQL"
},
"mysqli_result::fetch_assoc": {
"descr": "Returns an associative array that corresponds to the fetched row or NULL if there are no more rows.",
"name": "mysqli_result::fetch_assoc",
"params": [
{
"descr": "Procedural style only: A result set identifier returned by mysqli_query(), mysqli_store_result() or mysqli_use_result().",
"name": "result"
}
],
"path": "php/mysqli-result.fetch-assoc",
"syntax": "array mysqli_result::fetch_assoc ( void )",
"type": "Database/MySQL"
},
"mysqli_result::fetch_field": {
"descr": "Returns the definition of one column of a result set as an object. Call this function repeatedly to retrieve information about all columns in the result set.",
"name": "mysqli_result::fetch_field",
"params": [
{
"descr": "Procedural style only: A result set identifier returned by mysqli_query(), mysqli_store_result() or mysqli_use_result().",
"name": "result"
}
],
"path": "php/mysqli-result.fetch-field",
"syntax": "object mysqli_result::fetch_field ( void )",
"type": "Database/MySQL"
},
"mysqli_result::fetch_field_direct": {
"descr": "Returns an object which contains field definition information from the specified result set.",
"name": "mysqli_result::fetch_field_direct",
"params": [
{
"descr": "Procedural style only: A result set identifier returned by mysqli_query(), mysqli_store_result() or mysqli_use_result().",
"name": "result"
},
{
"descr": "The field number. This value must be in the range from 0 to number of fields - 1.",
"name": "fieldnr"
}
],
"path": "php/mysqli-result.fetch-field-direct",
"syntax": "object mysqli_result::fetch_field_direct ( int $fieldnr )",
"type": "Database/MySQL"
},
"mysqli_result::fetch_fields": {
"descr": "This function serves an identical purpose to the mysqli_fetch_field() function with the single difference that, instead of returning one object at a time for each field, the columns are returned as an array of objects.",
"name": "mysqli_result::fetch_fields",
"params": [
{
"descr": "Procedural style only: A result set identifier returned by mysqli_query(), mysqli_store_result() or mysqli_use_result().",
"name": "result"
}
],
"path": "php/mysqli-result.fetch-fields",
"syntax": "array mysqli_result::fetch_fields ( void )",
"type": "Database/MySQL"
},
"mysqli_result::fetch_object": {
"descr": "The mysqli_fetch_object() will return the current row result set as an object where the attributes of the object represent the names of the fields found within the result set.",
"name": "mysqli_result::fetch_object",
"params": [
{
"descr": "Procedural style only: A result set identifier returned by mysqli_query(), mysqli_store_result() or mysqli_use_result().",
"name": "result"
},
{
"descr": "The name of the class to instantiate, set the properties of and return. ",
"name": "class_name"
},
{
"descr": "An optional array of parameters to pass to the constructor for class_name objects.",
"name": "params"
}
],
"path": "php/mysqli-result.fetch-object",
"syntax": "object mysqli_result::fetch_object ([ string $class_name [, array $params ]] )",
"type": "Database/MySQL"
},
"mysqli_result::fetch_row": {
"descr": "Fetches one row of data from the result set and returns it as an enumerated array, where each column is stored in an array offset starting from 0 (zero). Each subsequent call to this function will return the next row within the result set, or NULL if there are no more rows.",
"name": "mysqli_result::fetch_row",
"params": [
{
"descr": "Procedural style only: A result set identifier returned by mysqli_query(), mysqli_store_result() or mysqli_use_result().",
"name": "result"
}
],
"path": "php/mysqli-result.fetch-row",
"syntax": "mixed mysqli_result::fetch_row ( void )",
"type": "Database/MySQL"
},
"mysqli_result::field_seek": {
"descr": "Sets the field cursor to the given offset. The next call to mysqli_fetch_field() will retrieve the field definition of the column associated with that offset.",
"name": "mysqli_result::field_seek",
"params": [
{
"descr": "Procedural style only: A result set identifier returned by mysqli_query(), mysqli_store_result() or mysqli_use_result().",
"name": "result"
},
{
"descr": "The field number. This value must be in the range from 0 to number of fields - 1.",
"name": "fieldnr"
}
],
"path": "php/mysqli-result.field-seek",
"syntax": "bool mysqli_result::field_seek ( int $fieldnr )",
"type": "Database/MySQL"
},
"mysqli_result::free": {
"descr": "Frees the memory associated with the result.",
"name": "mysqli_result::free",
"params": [
{
"descr": "Procedural style only: A result set identifier returned by mysqli_query(), mysqli_store_result() or mysqli_use_result().",
"name": "result"
}
],
"path": "php/mysqli-result.free",
"syntax": "void mysqli_result::free ( void )",
"type": "Database/MySQL"
},
"mysqli_rpl_parse_enabled": {
"descr": "",
"name": "mysqli_rpl_parse_enabled",
"params": [],
"path": "php/function.mysqli-rpl-parse-enabled",
"syntax": "int mysqli_rpl_parse_enabled ( mysqli $link )",
"type": "Database/MySQL"
},
"mysqli_rpl_probe": {
"descr": "",
"name": "mysqli_rpl_probe",
"params": [],
"path": "php/function.mysqli-rpl-probe",
"syntax": "bool mysqli_rpl_probe ( mysqli $link )",
"type": "Database/MySQL"
},
"mysqli_slave_query": {
"descr": "",
"name": "mysqli_slave_query",
"params": [],
"path": "php/function.mysqli-slave-query",
"syntax": "bool mysqli_slave_query ( mysqli $link , string $query )",
"type": "Database/MySQL"
},
"mysqli_stmt": {
"descr": "",
"name": "mysqli_stmt",
"params": [],
"path": "php/class.mysqli-stmt",
"syntax": "int attr_get ( int $attr )",
"type": "Database/MySQL"
},
"mysqli_stmt::$affected_rows": {
"descr": "Returns the number of rows affected by INSERT, UPDATE, or DELETE query.",
"name": "mysqli_stmt::$affected_rows",
"params": [
{
"descr": "Procedural style only: A statement identifier returned by mysqli_stmt_init().",
"name": "stmt"
}
],
"path": "php/mysqli-stmt.affected-rows",
"syntax": "int mysqli_stmt_affected_rows ( mysqli_stmt $stmt )",
"type": "Database/MySQL"
},
"mysqli_stmt::$errno": {
"descr": "Returns the error code for the most recently invoked statement function that can succeed or fail.",
"name": "mysqli_stmt::$errno",
"params": [
{
"descr": "Procedural style only: A statement identifier returned by mysqli_stmt_init().",
"name": "stmt"
}
],
"path": "php/mysqli-stmt.errno",
"syntax": "int mysqli_stmt_errno ( mysqli_stmt $stmt )",
"type": "Database/MySQL"
},
"mysqli_stmt::$error": {
"descr": "Returns a containing the error message for the most recently invoked statement function that can succeed or fail.",
"name": "mysqli_stmt::$error",
"params": [
{
"descr": "Procedural style only: A statement identifier returned by mysqli_stmt_init().",
"name": "stmt"
}
],
"path": "php/mysqli-stmt.error",
"syntax": "string mysqli_stmt_error ( mysqli_stmt $stmt )",
"type": "Database/MySQL"
},
"mysqli_stmt::$error_list": {
"descr": "Returns an array of errors for the most recently invoked statement function that can succeed or fail.",
"name": "mysqli_stmt::$error_list",
"params": [
{
"descr": "Procedural style only: A statement identifier returned by mysqli_stmt_init().",
"name": "stmt"
}
],
"path": "php/mysqli-stmt.error-list",
"syntax": "array mysqli_stmt_error_list ( mysqli_stmt $stmt )",
"type": "Database/MySQL"
},
"mysqli_stmt::$field_count": {
"descr": "",
"name": "mysqli_stmt::$field_count",
"params": [],
"path": "php/mysqli-stmt.field-count",
"syntax": "int mysqli_stmt_field_count ( mysqli_stmt $stmt )",
"type": "Database/MySQL"
},
"mysqli_stmt::$insert_id": {
"descr": "",
"name": "mysqli_stmt::$insert_id",
"params": [],
"path": "php/mysqli-stmt.insert-id",
"syntax": "mixed mysqli_stmt_insert_id ( mysqli_stmt $stmt )",
"type": "Database/MySQL"
},
"mysqli_stmt::$num_rows": {
"descr": "Returns the number of rows in the result set. The use of mysqli_stmt_num_rows() depends on whether or not you used mysqli_stmt_store_result() to buffer the entire result set in the statement handle.",
"name": "mysqli_stmt::$num_rows",
"params": [
{
"descr": "Procedural style only: A statement identifier returned by mysqli_stmt_init().",
"name": "stmt"
}
],
"path": "php/mysqli-stmt.num-rows",
"syntax": "int mysqli_stmt_num_rows ( mysqli_stmt $stmt )",
"type": "Database/MySQL"
},
"mysqli_stmt::$param_count": {
"descr": "Returns the number of parameter markers present in the prepared statement.",
"name": "mysqli_stmt::$param_count",
"params": [
{
"descr": "Procedural style only: A statement identifier returned by mysqli_stmt_init().",
"name": "stmt"
}
],
"path": "php/mysqli-stmt.param-count",
"syntax": "int mysqli_stmt_param_count ( mysqli_stmt $stmt )",
"type": "Database/MySQL"
},
"mysqli_stmt::$sqlstate": {
"descr": "Returns a string containing the SQLSTATE error code for the most recently invoked prepared statement function that can succeed or fail. The error code consists of five characters. '00000' means no error. The values are specified by ANSI SQL and ODBC. For a list of possible values, see \u00bb http://dev.mysql.com/doc/mysql/en/error-handling.html.",
"name": "mysqli_stmt::$sqlstate",
"params": [
{
"descr": "Procedural style only: A statement identifier returned by mysqli_stmt_init().",
"name": "stmt"
}
],
"path": "php/mysqli-stmt.sqlstate",
"syntax": "string mysqli_stmt_sqlstate ( mysqli_stmt $stmt )",
"type": "Database/MySQL"
},
"mysqli_stmt::attr_get": {
"descr": "Gets the current value of a statement attribute.",
"name": "mysqli_stmt::attr_get",
"params": [
{
"descr": "Procedural style only: A statement identifier returned by mysqli_stmt_init().",
"name": "stmt"
},
{
"descr": "The attribute that you want to get.",
"name": "attr"
}
],
"path": "php/mysqli-stmt.attr-get",
"syntax": "int mysqli_stmt::attr_get ( int $attr )",
"type": "Database/MySQL"
},
"mysqli_stmt::attr_set": {
"descr": "Used to modify the behavior of a prepared statement. This function may be called multiple times to set several attributes.",
"name": "mysqli_stmt::attr_set",
"params": [
{
"descr": "Procedural style only: A statement identifier returned by mysqli_stmt_init().",
"name": "stmt"
},
{
"descr": "The attribute that you want to set. ",
"name": "attr"
},
{
"descr": "The value to assign to the attribute.",
"name": "mode"
}
],
"path": "php/mysqli-stmt.attr-set",
"syntax": "bool mysqli_stmt::attr_set ( int $attr , int $mode )",
"type": "Database/MySQL"
},
"mysqli_stmt::bind_param": {
"descr": "Bind variables for the parameter markers in the SQL statement that was passed to mysqli_prepare().",
"name": "mysqli_stmt::bind_param",
"params": [
{
"descr": "Procedural style only: A statement identifier returned by mysqli_stmt_init().",
"name": "stmt"
},
{
"descr": "A string that contains one or more characters which specify the types for the corresponding bind variables: Type specification chars Character Description i corresponding variable has type integer d corresponding variable has type double s corresponding variable has type string b corresponding variable is a blob and will be sent in packets",
"name": "types"
},
{
"descr": "The number of variables and length of string types must match the parameters in the statement.",
"name": "var1"
}
],
"path": "php/mysqli-stmt.bind-param",
"syntax": "bool mysqli_stmt::bind_param ( string $types , mixed &$var1 [, mixed &$... ] )",
"type": "Database/MySQL"
},
"mysqli_stmt::bind_result": {
"descr": "Binds columns in the result set to variables.",
"name": "mysqli_stmt::bind_result",
"params": [
{
"descr": "Procedural style only: A statement identifier returned by mysqli_stmt_init().",
"name": "stmt"
},
{
"descr": "The variable to be bound.",
"name": "var1"
}
],
"path": "php/mysqli-stmt.bind-result",
"syntax": "bool mysqli_stmt::bind_result ( mixed &$var1 [, mixed &$... ] )",
"type": "Database/MySQL"
},
"mysqli_stmt::close": {
"descr": "Closes a prepared statement. mysqli_stmt_close() also deallocates the statement handle. If the current statement has pending or unread results, this function cancels them so that the next query can be executed.",
"name": "mysqli_stmt::close",
"params": [
{
"descr": "Procedural style only: A statement identifier returned by mysqli_stmt_init().",
"name": "stmt"
}
],
"path": "php/mysqli-stmt.close",
"syntax": "bool mysqli_stmt::close ( void )",
"type": "Database/MySQL"
},
"mysqli_stmt::data_seek": {
"descr": "Seeks to an arbitrary result pointer in the statement result set.",
"name": "mysqli_stmt::data_seek",
"params": [
{
"descr": "Procedural style only: A statement identifier returned by mysqli_stmt_init().",
"name": "stmt"
},
{
"descr": "Must be between zero and the total number of rows minus one (0.. ",
"name": "offset"
}
],
"path": "php/mysqli-stmt.data-seek",
"syntax": "void mysqli_stmt::data_seek ( int $offset )",
"type": "Database/MySQL"
},
"mysqli_stmt::execute": {
"descr": "Executes a query that has been previously prepared using the mysqli_prepare() function. When executed any parameter markers which exist will automatically be replaced with the appropriate data.",
"name": "mysqli_stmt::execute",
"params": [
{
"descr": "Procedural style only: A statement identifier returned by mysqli_stmt_init().",
"name": "stmt"
}
],
"path": "php/mysqli-stmt.execute",
"syntax": "bool mysqli_stmt::execute ( void )",
"type": "Database/MySQL"
},
"mysqli_stmt::fetch": {
"descr": "Fetch the result from a prepared statement into the variables bound by mysqli_stmt_bind_result().",
"name": "mysqli_stmt::fetch",
"params": [
{
"descr": "Procedural style only: A statement identifier returned by mysqli_stmt_init().",
"name": "stmt"
}
],
"path": "php/mysqli-stmt.fetch",
"syntax": "bool mysqli_stmt::fetch ( void )",
"type": "Database/MySQL"
},
"mysqli_stmt::free_result": {
"descr": "Frees the result memory associated with the statement, which was allocated by mysqli_stmt_store_result().",
"name": "mysqli_stmt::free_result",
"params": [
{
"descr": "Procedural style only: A statement identifier returned by mysqli_stmt_init().",
"name": "stmt"
}
],
"path": "php/mysqli-stmt.free-result",
"syntax": "void mysqli_stmt::free_result ( void )",
"type": "Database/MySQL"
},
"mysqli_stmt::get_result": {
"descr": "Call to return a result set from a prepared statement query.",
"name": "mysqli_stmt::get_result",
"params": [
{
"descr": "Procedural style only: A statement identifier returned by mysqli_stmt_init().",
"name": "stmt"
}
],
"path": "php/mysqli-stmt.get-result",
"syntax": "mysqli_result mysqli_stmt::get_result ( void )",
"type": "Database/MySQL"
},
"mysqli_stmt::get_warnings": {
"descr": "Procedural style",
"name": "mysqli_stmt::get_warnings",
"params": [],
"path": "php/mysqli-stmt.get-warnings",
"syntax": "object mysqli_stmt::get_warnings ( mysqli_stmt $stmt )",
"type": "Database/MySQL"
},
"mysqli_stmt::more_results": {
"descr": "Checks if there are more query results from a multiple query.",
"name": "mysqli_stmt::more_results",
"params": [
{
"descr": "Procedural style only: A statement identifier returned by mysqli_stmt_init().",
"name": "stmt"
}
],
"path": "php/mysqli-stmt.more-results",
"syntax": "public bool mysqli_stmt::more_results ( void )",
"type": "Database/MySQL"
},
"mysqli_stmt::next_result": {
"descr": "Reads the next result from a multiple query.",
"name": "mysqli_stmt::next_result",
"params": [
{
"descr": "Procedural style only: A statement identifier returned by mysqli_stmt_init().",
"name": "stmt"
}
],
"path": "php/mysqli-stmt.next-result",
"syntax": "public bool mysqli_stmt::next_result ( void )",
"type": "Database/MySQL"
},
"mysqli_stmt::prepare": {
"descr": "Prepares the SQL query pointed to by the null-terminated string query.",
"name": "mysqli_stmt::prepare",
"params": [
{
"descr": "Procedural style only: A statement identifier returned by mysqli_stmt_init().",
"name": "stmt"
},
{
"descr": "The query, as a string. It must consist of a single SQL statement. ",
"name": "query"
}
],
"path": "php/mysqli-stmt.prepare",
"syntax": "mixed mysqli_stmt::prepare ( string $query )",
"type": "Database/MySQL"
},
"mysqli_stmt::reset": {
"descr": "Resets a prepared statement on client and server to state after prepare.",
"name": "mysqli_stmt::reset",
"params": [
{
"descr": "Procedural style only: A statement identifier returned by mysqli_stmt_init().",
"name": "stmt"
}
],
"path": "php/mysqli-stmt.reset",
"syntax": "bool mysqli_stmt::reset ( void )",
"type": "Database/MySQL"
},
"mysqli_stmt::result_metadata": {
"descr": "If a statement passed to mysqli_prepare() is one that produces a result set, mysqli_stmt_result_metadata() returns the result object that can be used to process the meta information such as total number of fields and individual field information.",
"name": "mysqli_stmt::result_metadata",
"params": [
{
"descr": "Procedural style only: A statement identifier returned by mysqli_stmt_init().",
"name": "stmt"
}
],
"path": "php/mysqli-stmt.result-metadata",
"syntax": "mysqli_result mysqli_stmt::result_metadata ( void )",
"type": "Database/MySQL"
},
"mysqli_stmt::send_long_data": {
"descr": "Allows to send parameter data to the server in pieces (or chunks), e.g. if the size of a blob exceeds the size of max_allowed_packet. This function can be called multiple times to send the parts of a character or binary data value for a column, which must be one of the TEXT or BLOB datatypes.",
"name": "mysqli_stmt::send_long_data",
"params": [
{
"descr": "Procedural style only: A statement identifier returned by mysqli_stmt_init().",
"name": "stmt"
},
{
"descr": "Indicates which parameter to associate the data with. ",
"name": "param_nr"
},
{
"descr": "A string containing data to be sent.",
"name": "data"
}
],
"path": "php/mysqli-stmt.send-long-data",
"syntax": "bool mysqli_stmt::send_long_data ( int $param_nr , string $data )",
"type": "Database/MySQL"
},
"mysqli_stmt::store_result": {
"descr": "You must call mysqli_stmt_store_result() for every query that successfully produces a result set (SELECT, SHOW, DESCRIBE, EXPLAIN), and only if you want to buffer the complete result set by the client, so that the subsequent mysqli_stmt_fetch() call returns buffered data.",
"name": "mysqli_stmt::store_result",
"params": [
{
"descr": "Procedural style only: A statement identifier returned by mysqli_stmt_init().",
"name": "stmt"
}
],
"path": "php/mysqli-stmt.store-result",
"syntax": "bool mysqli_stmt::store_result ( void )",
"type": "Database/MySQL"
},
"mysqli_warning": {
"descr": "",
"name": "mysqli_warning",
"params": [],
"path": "php/class.mysqli-warning",
"syntax": "public __construct ( void )",
"type": "Database/MySQL"
},
"mysqli_warning::__construct": {
"descr": "",
"name": "mysqli_warning::__construct",
"params": [],
"path": "php/mysqli-warning.construct",
"syntax": "public mysqli_warning::__construct ( void )",
"type": "Database/MySQL"
},
"mysqli_warning::next": {
"descr": "",
"name": "mysqli_warning::next",
"params": [],
"path": "php/mysqli-warning.next",
"syntax": "public void mysqli_warning::next ( void )",
"type": "Database/MySQL"
},
"natcasesort": {
"descr": "natcasesort() is a case insensitive version of natsort().",
"name": "natcasesort",
"params": [
{
"descr": "The input array.",
"name": "array"
}
],
"path": "php/function.natcasesort",
"syntax": "bool natcasesort ( array &$array )",
"type": "Array"
},
"natsort": {
"descr": "This function implements a sort algorithm that orders alphanumeric strings in the way a human being would while maintaining key/value associations. This is described as a \"natural ordering\". An example of the difference between this algorithm and the regular computer string sorting algorithms (used in sort()) can be seen in the example below.",
"name": "natsort",
"params": [
{
"descr": "The input array.",
"name": "array"
}
],
"path": "php/function.natsort",
"syntax": "bool natsort ( array &$array )",
"type": "Array"
},
"next": {
"descr": "next() behaves like current(), with one difference. It advances the internal array pointer one place forward before returning the element value. That means it returns the next array value and advances the internal array pointer by one.",
"name": "next",
"params": [
{
"descr": "The array being affected.",
"name": "array"
}
],
"path": "php/function.next",
"syntax": "mixed next ( array &$array )",
"type": "Array"
},
"ngettext": {
"descr": "The plural version of gettext(). Some languages have more than one form for plural messages dependent on the count.",
"name": "ngettext",
"params": [],
"path": "php/function.ngettext",
"syntax": "string ngettext ( string $msgid1 , string $msgid2 , int $n )",
"type": "Encoding"
},
"nl2br": {
"descr": "Returns string with '
' or '
' inserted before all newlines (\\r\\n, \\n\\r, \\n and \\r).",
"name": "nl2br",
"params": [
{
"descr": "The input string.",
"name": "string"
},
{
"descr": "Whether to use XHTML compatible line breaks or not.",
"name": "is_xhtml"
}
],
"path": "php/function.nl2br",
"syntax": "string nl2br ( string $string [, bool $is_xhtml = true ] )",
"type": "String"
},
"nl_langinfo": {
"descr": "nl_langinfo() is used to access individual elements of the locale categories. Unlike localeconv(), which returns all of the elements, nl_langinfo() allows you to select any specific element.",
"name": "nl_langinfo",
"params": [
{
"descr": "item may be an integer value of the element or the constant name of the element. ",
"name": "item"
}
],
"path": "php/function.nl-langinfo",
"syntax": "string nl_langinfo ( int $item )",
"type": "String"
},
"number_format": {
"descr": "This function accepts either one, two, or four parameters (not three):",
"name": "number_format",
"params": [
{
"descr": "The number being formatted.",
"name": "number"
},
{
"descr": "Sets the number of decimal points.",
"name": "decimals"
},
{
"descr": "Sets the separator for the decimal point.",
"name": "dec_point"
},
{
"descr": "Sets the thousands separator.",
"name": "thousands_sep"
}
],
"path": "php/function.number-format",
"syntax": "string number_format ( float $number [, int $decimals = 0 ] )",
"type": "String"
},
"oauth_get_sbs": {
"descr": "Generates a Signature Base String according to pecl/oauth.",
"name": "oauth_get_sbs",
"params": [
{
"descr": "The HTTP method.",
"name": "http_method"
},
{
"descr": "URI to encode.",
"name": "uri"
},
{
"descr": "Array of request parameters.",
"name": "request_parameters"
}
],
"path": "php/function.oauth-get-sbs",
"syntax": "string oauth_get_sbs ( string $http_method , string $uri [, array $request_parameters ] )",
"type": "OAuth"
},
"oauth_urlencode": {
"descr": "Encodes a URI to \u00bb RFC 3986.",
"name": "oauth_urlencode",
"params": [
{
"descr": "URI to encode.",
"name": "uri"
}
],
"path": "php/function.oauth-urlencode",
"syntax": "string oauth_urlencode ( string $uri )",
"type": "OAuth"
},
"ob_clean": {
"descr": "This function discards the contents of the output buffer.",
"name": "ob_clean",
"params": [],
"path": "php/function.ob-clean",
"syntax": "void ob_clean ( void )",
"type": "Networking"
},
"ob_deflatehandler": {
"descr": "For use with ob_start().",
"name": "ob_deflatehandler",
"params": [],
"path": "php/function.ob-deflatehandler",
"syntax": "string ob_deflatehandler ( string $data , int $mode )",
"type": "HTTP"
},
"ob_end_clean": {
"descr": "This function discards the contents of the topmost output buffer and turns off this output buffering. If you want to further process the buffer's contents you have to call ob_get_contents() before ob_end_clean() as the buffer contents are discarded when ob_end_clean() is called.",
"name": "ob_end_clean",
"params": [],
"path": "php/function.ob-end-clean",
"syntax": "bool ob_end_clean ( void )",
"type": "Networking"
},
"ob_end_flush": {
"descr": "This function will send the contents of the topmost output buffer (if any) and turn this output buffer off. If you want to further process the buffer's contents you have to call ob_get_contents() before ob_end_flush() as the buffer contents are discarded after ob_end_flush() is called.",
"name": "ob_end_flush",
"params": [],
"path": "php/function.ob-end-flush",
"syntax": "bool ob_end_flush ( void )",
"type": "Networking"
},
"ob_etaghandler": {
"descr": "For use with ob_start().",
"name": "ob_etaghandler",
"params": [],
"path": "php/function.ob-etaghandler",
"syntax": "string ob_etaghandler ( string $data , int $mode )",
"type": "HTTP"
},
"ob_flush": {
"descr": "This function will send the contents of the output buffer (if any). If you want to further process the buffer's contents you have to call ob_get_contents() before ob_flush() as the buffer contents are discarded after ob_flush() is called.",
"name": "ob_flush",
"params": [],
"path": "php/function.ob-flush",
"syntax": "void ob_flush ( void )",
"type": "Networking"
},
"ob_get_clean": {
"descr": "Gets the current buffer contents and delete current output buffer.",
"name": "ob_get_clean",
"params": [],
"path": "php/function.ob-get-clean",
"syntax": "string ob_get_clean ( void )",
"type": "Networking"
},
"ob_get_contents": {
"descr": "Gets the contents of the output buffer without clearing it.",
"name": "ob_get_contents",
"params": [],
"path": "php/function.ob-get-contents",
"syntax": "string ob_get_contents ( void )",
"type": "Networking"
},
"ob_get_flush": {
"descr": "ob_get_flush() flushes the output buffer, return it as a string and turns off output buffering.",
"name": "ob_get_flush",
"params": [],
"path": "php/function.ob-get-flush",
"syntax": "string ob_get_flush ( void )",
"type": "Networking"
},
"ob_get_length": {
"descr": "This will return the length of the contents in the output buffer.",
"name": "ob_get_length",
"params": [],
"path": "php/function.ob-get-length",
"syntax": "int ob_get_length ( void )",
"type": "Networking"
},
"ob_get_level": {
"descr": "Returns the nesting level of the output buffering mechanism.",
"name": "ob_get_level",
"params": [],
"path": "php/function.ob-get-level",
"syntax": "int ob_get_level ( void )",
"type": "Networking"
},
"ob_get_status": {
"descr": "ob_get_status() returns status information on either the top level output buffer or all active output buffer levels if full_status is set to TRUE.",
"name": "ob_get_status",
"params": [
{
"descr": "TRUE to return all active output buffer levels. ",
"name": "full_status"
}
],
"path": "php/function.ob-get-status",
"syntax": "array ob_get_status ([ bool $full_status = FALSE ] )",
"type": "Networking"
},
"ob_gzhandler": {
"descr": "ob_gzhandler() is intended to be used as a callback function for ob_start() to help facilitate sending gz-encoded data to web browsers that support compressed web pages. Before ob_gzhandler() actually sends compressed data, it determines what type of content encoding the browser will accept (\"gzip\", \"deflate\" or none at all) and will return its output accordingly. All browsers are supported since it's up to the browser to send the correct header saying that it accepts compressed web pages. If a browser doesn't support compressed pages this function returns FALSE.",
"name": "ob_gzhandler",
"params": [],
"path": "php/function.ob-gzhandler",
"syntax": "string ob_gzhandler ( string $buffer , int $mode )",
"type": "Networking"
},
"ob_iconv_handler": {
"descr": "Converts the string encoded in internal_encoding to output_encoding.",
"name": "ob_iconv_handler",
"params": [],
"path": "php/function.ob-iconv-handler",
"syntax": "string ob_iconv_handler ( string $contents , int $status )",
"type": "Encoding"
},
"ob_implicit_flush": {
"descr": "ob_implicit_flush() will turn implicit flushing on or off. Implicit flushing will result in a flush operation after every output call, so that explicit calls to flush() will no longer be needed.",
"name": "ob_implicit_flush",
"params": [
{
"descr": "TRUE to turn implicit flushing on, FALSE otherwise.",
"name": "flag"
}
],
"path": "php/function.ob-implicit-flush",
"syntax": "void ob_implicit_flush ([ int $flag = true ] )",
"type": "Networking"
},
"ob_inflatehandler": {
"descr": "For use with ob_start().",
"name": "ob_inflatehandler",
"params": [],
"path": "php/function.ob-inflatehandler",
"syntax": "string ob_inflatehandler ( string $data , int $mode )",
"type": "HTTP"
},
"ob_list_handlers": {
"descr": "Lists all output handlers in use.",
"name": "ob_list_handlers",
"params": [],
"path": "php/function.ob-list-handlers",
"syntax": "array ob_list_handlers ( void )",
"type": "Networking"
},
"ob_start": {
"descr": "This function will turn output buffering on. While output buffering is active no output is sent from the script (other than headers), instead the output is stored in an internal buffer.",
"name": "ob_start",
"params": [
{
"descr": "An optional output_callback function may be specified. ",
"name": "output_callback"
},
{
"descr": "Bitmask of PHP_OUTPUT_HANDLER_* constants.",
"name": "phase"
},
{
"descr": "If the optional parameter chunk_size is passed, the buffer will be flushed after any output call which causes the buffer's length to equal or exceed chunk_size. ",
"name": "chunk_size"
},
{
"descr": "The flags parameter is a bitmask that controls the operations that can be performed on the output buffer. ",
"name": "flags"
}
],
"path": "php/function.ob-start",
"syntax": "bool ob_start ([ callable $output_callback = NULL [, int $chunk_size = 0 [, int $flags = PHP_OUTPUT_HANDLER_STDFLAGS ]]] )",
"type": "Networking"
},
"ob_tidyhandler": {
"descr": "Callback function for ob_start() to repair the buffer.",
"name": "ob_tidyhandler",
"params": [
{
"descr": "The buffer.",
"name": "input"
},
{
"descr": "The buffer mode.",
"name": "mode"
}
],
"path": "php/function.ob-tidyhandler",
"syntax": "string ob_tidyhandler ( string $input [, int $mode ] )",
"type": "HTML"
},
"octdec": {
"descr": "Returns the decimal equivalent of the octal number represented by the octal_string argument.",
"name": "octdec",
"params": [
{
"descr": "The octal string to convert",
"name": "octal_string"
}
],
"path": "php/function.octdec",
"syntax": "number octdec ( string $octal_string )",
"type": "Mathematics"
},
"odbc_autocommit": {
"descr": "Toggles autocommit behaviour.",
"name": "odbc_autocommit",
"params": [
{
"descr": "The ODBC connection identifier, see odbc_connect() for details.",
"name": "connection_id"
},
{
"descr": "If OnOff is TRUE, auto-commit is enabled, if it is FALSE auto-commit is disabled.",
"name": "OnOff"
}
],
"path": "php/function.odbc-autocommit",
"syntax": "mixed odbc_autocommit ( resource $connection_id [, bool $OnOff = false ] )",
"type": "Database"
},
"odbc_binmode": {
"descr": "Enables handling of binary column data. ODBC SQL types affected are BINARY, VARBINARY, and LONGVARBINARY.",
"name": "odbc_binmode",
"params": [
{
"descr": "The result identifier. If result_id is 0, the settings apply as default for new results. ",
"name": "result_id"
},
{
"descr": "Possible values for mode are: ODBC_BINMODE_PASSTHRU: Passthru BINARY data ODBC_BINMODE_RETURN: Return as is ODBC_BINMODE_CONVERT: Convert to char and return",
"name": "mode"
}
],
"path": "php/function.odbc-binmode",
"syntax": "bool odbc_binmode ( resource $result_id , int $mode )",
"type": "Database"
},
"odbc_close": {
"descr": "Closes down the connection to the database server.",
"name": "odbc_close",
"params": [
{
"descr": "The ODBC connection identifier, see odbc_connect() for details.",
"name": "connection_id"
}
],
"path": "php/function.odbc-close",
"syntax": "void odbc_close ( resource $connection_id )",
"type": "Database"
},
"odbc_close_all": {
"descr": "odbc_close_all() will close down all connections to database server(s).",
"name": "odbc_close_all",
"params": [],
"path": "php/function.odbc-close-all",
"syntax": "void odbc_close_all ( void )",
"type": "Database"
},
"odbc_columnprivileges": {
"descr": "Lists columns and associated privileges for the given table.",
"name": "odbc_columnprivileges",
"params": [
{
"descr": "The ODBC connection identifier, see odbc_connect() for details.",
"name": "connection_id"
},
{
"descr": "The qualifier.",
"name": "qualifier"
},
{
"descr": "The owner.",
"name": "owner"
},
{
"descr": "The table name.",
"name": "table_name"
},
{
"descr": "The column_name argument accepts search patterns ('%' to match zero or more characters and '_' to match a single character).",
"name": "column_name"
}
],
"path": "php/function.odbc-columnprivileges",
"syntax": "resource odbc_columnprivileges ( resource $connection_id , string $qualifier , string $owner , string $table_name , string $column_name )",
"type": "Database"
},
"odbc_columns": {
"descr": "Lists all columns in the requested range.",
"name": "odbc_columns",
"params": [
{
"descr": "The ODBC connection identifier, see odbc_connect() for details.",
"name": "connection_id"
},
{
"descr": "The qualifier.",
"name": "qualifier"
},
{
"descr": "The owner.",
"name": "schema"
},
{
"descr": "The table name.",
"name": "table_name"
},
{
"descr": "The column name.",
"name": "column_name"
}
],
"path": "php/function.odbc-columns",
"syntax": "resource odbc_columns ( resource $connection_id [, string $qualifier [, string $schema [, string $table_name [, string $column_name ]]]] )",
"type": "Database"
},
"odbc_commit": {
"descr": "Commits all pending transactions on the connection.",
"name": "odbc_commit",
"params": [
{
"descr": "The ODBC connection identifier, see odbc_connect() for details.",
"name": "connection_id"
}
],
"path": "php/function.odbc-commit",
"syntax": "bool odbc_commit ( resource $connection_id )",
"type": "Database"
},
"odbc_connect": {
"descr": "",
"name": "odbc_connect",
"params": [
{
"descr": "The database source name for the connection. ",
"name": "dsn"
},
{
"descr": "The username.",
"name": "user"
},
{
"descr": "The password.",
"name": "password"
},
{
"descr": "This sets the type of cursor to be used for this connection. ",
"name": "cursor_type"
}
],
"path": "php/function.odbc-connect",
"syntax": "resource odbc_connect ( string $dsn , string $user , string $password [, int $cursor_type ] )",
"type": "Database"
},
"odbc_cursor": {
"descr": "Gets the cursorname for the given result_id.",
"name": "odbc_cursor",
"params": [
{
"descr": "The result identifier.",
"name": "result_id"
}
],
"path": "php/function.odbc-cursor",
"syntax": "string odbc_cursor ( resource $result_id )",
"type": "Database"
},
"odbc_data_source": {
"descr": "This function will return the list of available DSN (after calling it several times).",
"name": "odbc_data_source",
"params": [
{
"descr": "The ODBC connection identifier, see odbc_connect() for details.",
"name": "connection_id"
},
{
"descr": "The fetch_type can be one of two constant types: SQL_FETCH_FIRST, SQL_FETCH_NEXT. ",
"name": "fetch_type"
}
],
"path": "php/function.odbc-data-source",
"syntax": "array odbc_data_source ( resource $connection_id , int $fetch_type )",
"type": "Database"
},
"odbc_error": {
"descr": "",
"name": "odbc_error",
"params": [
{
"descr": "The ODBC connection identifier, see odbc_connect() for details.",
"name": "connection_id"
}
],
"path": "php/function.odbc-error",
"syntax": "string odbc_error ([ resource $connection_id ] )",
"type": "Database"
},
"odbc_errormsg": {
"descr": "",
"name": "odbc_errormsg",
"params": [
{
"descr": "The ODBC connection identifier, see odbc_connect() for details.",
"name": "connection_id"
}
],
"path": "php/function.odbc-errormsg",
"syntax": "string odbc_errormsg ([ resource $connection_id ] )",
"type": "Database"
},
"odbc_exec": {
"descr": "Sends an SQL statement to the database server.",
"name": "odbc_exec",
"params": [
{
"descr": "The ODBC connection identifier, see odbc_connect() for details.",
"name": "connection_id"
},
{
"descr": "The SQL statement.",
"name": "query_string"
},
{
"descr": "This parameter is currently not used.",
"name": "flags"
}
],
"path": "php/function.odbc-exec",
"syntax": "resource odbc_exec ( resource $connection_id , string $query_string [, int $flags ] )",
"type": "Database"
},
"odbc_execute": {
"descr": "Executes a statement prepared with odbc_prepare().",
"name": "odbc_execute",
"params": [
{
"descr": "The result id resource, from odbc_prepare().",
"name": "result_id"
},
{
"descr": "Parameters in parameter_array will be substituted for placeholders in the prepared statement in order. ",
"name": "parameters_array"
}
],
"path": "php/function.odbc-execute",
"syntax": "bool odbc_execute ( resource $result_id [, array $parameters_array ] )",
"type": "Database"
},
"odbc_fetch_array": {
"descr": "Fetch an associative array from an ODBC query. See the changelog below for when this function is available.",
"name": "odbc_fetch_array",
"params": [
{
"descr": "The result resource from odbc_exec().",
"name": "result"
},
{
"descr": "Optionally choose which row number to retrieve.",
"name": "rownumber"
}
],
"path": "php/function.odbc-fetch-array",
"syntax": "array odbc_fetch_array ( resource $result [, int $rownumber ] )",
"type": "Database"
},
"odbc_fetch_into": {
"descr": "Fetch one result row into array.",
"name": "odbc_fetch_into",
"params": [
{
"descr": "The result resource.",
"name": "result_id"
},
{
"descr": "The result array that can be of any type since it will be converted to type array. ",
"name": "result_array"
},
{
"descr": "The row number.",
"name": "rownumber"
}
],
"path": "php/function.odbc-fetch-into",
"syntax": "int odbc_fetch_into ( resource $result_id , array &$result_array [, int $rownumber ] )",
"type": "Database"
},
"odbc_fetch_object": {
"descr": "Fetch an object from an ODBC query. See the changelog below for when this function is available.",
"name": "odbc_fetch_object",
"params": [
{
"descr": "The result resource from odbc_exec().",
"name": "result"
},
{
"descr": "Optionally choose which row number to retrieve.",
"name": "rownumber"
}
],
"path": "php/function.odbc-fetch-object",
"syntax": "object odbc_fetch_object ( resource $result [, int $rownumber ] )",
"type": "Database"
},
"odbc_fetch_row": {
"descr": "Fetches a row of the data that was returned by odbc_do() or odbc_exec(). After odbc_fetch_row() is called, the fields of that row can be accessed with odbc_result().",
"name": "odbc_fetch_row",
"params": [
{
"descr": "The result identifier.",
"name": "result_id"
},
{
"descr": "If row_number is not specified, odbc_fetch_row() will try to fetch the next row in the result set. ",
"name": "row_number"
}
],
"path": "php/function.odbc-fetch-row",
"syntax": "bool odbc_fetch_row ( resource $result_id [, int $row_number ] )",
"type": "Database"
},
"odbc_field_len": {
"descr": "Gets the length of the field referenced by number in the given result identifier.",
"name": "odbc_field_len",
"params": [
{
"descr": "The result identifier.",
"name": "result_id"
},
{
"descr": "The field number. Field numbering starts at 1.",
"name": "field_number"
}
],
"path": "php/function.odbc-field-len",
"syntax": "int odbc_field_len ( resource $result_id , int $field_number )",
"type": "Database"
},
"odbc_field_name": {
"descr": "Gets the name of the field occupying the given column number in the given result identifier.",
"name": "odbc_field_name",
"params": [
{
"descr": "The result identifier.",
"name": "result_id"
},
{
"descr": "The field number. Field numbering starts at 1.",
"name": "field_number"
}
],
"path": "php/function.odbc-field-name",
"syntax": "string odbc_field_name ( resource $result_id , int $field_number )",
"type": "Database"
},
"odbc_field_num": {
"descr": "Gets the number of the column slot that corresponds to the named field in the given result identifier.",
"name": "odbc_field_num",
"params": [
{
"descr": "The result identifier.",
"name": "result_id"
},
{
"descr": "The field name.",
"name": "field_name"
}
],
"path": "php/function.odbc-field-num",
"syntax": "int odbc_field_num ( resource $result_id , string $field_name )",
"type": "Database"
},
"odbc_field_scale": {
"descr": "Gets the scale of the field referenced by number in the given result identifier.",
"name": "odbc_field_scale",
"params": [
{
"descr": "The result identifier.",
"name": "result_id"
},
{
"descr": "The field number. Field numbering starts at 1.",
"name": "field_number"
}
],
"path": "php/function.odbc-field-scale",
"syntax": "int odbc_field_scale ( resource $result_id , int $field_number )",
"type": "Database"
},
"odbc_field_type": {
"descr": "Gets the SQL type of the field referenced by number in the given result identifier.",
"name": "odbc_field_type",
"params": [
{
"descr": "The result identifier.",
"name": "result_id"
},
{
"descr": "The field number. Field numbering starts at 1.",
"name": "field_number"
}
],
"path": "php/function.odbc-field-type",
"syntax": "string odbc_field_type ( resource $result_id , int $field_number )",
"type": "Database"
},
"odbc_foreignkeys": {
"descr": "Retrieves a list of foreign keys in the specified table or a list of foreign keys in other tables that refer to the primary key in the specified table",
"name": "odbc_foreignkeys",
"params": [
{
"descr": "The ODBC connection identifier, see odbc_connect() for details.",
"name": "connection_id"
},
{
"descr": "The primary key qualifier.",
"name": "pk_qualifier"
},
{
"descr": "The primary key owner.",
"name": "pk_owner"
},
{
"descr": "The primary key table.",
"name": "pk_table"
},
{
"descr": "The foreign key qualifier.",
"name": "fk_qualifier"
},
{
"descr": "The foreign key owner.",
"name": "fk_owner"
},
{
"descr": "The foreign key table.",
"name": "fk_table"
}
],
"path": "php/function.odbc-foreignkeys",
"syntax": "resource odbc_foreignkeys ( resource $connection_id , string $pk_qualifier , string $pk_owner , string $pk_table , string $fk_qualifier , string $fk_owner , string $fk_table )",
"type": "Database"
},
"odbc_free_result": {
"descr": "Free resources associated with a result.",
"name": "odbc_free_result",
"params": [
{
"descr": "The result identifier.",
"name": "result_id"
}
],
"path": "php/function.odbc-free-result",
"syntax": "bool odbc_free_result ( resource $result_id )",
"type": "Database"
},
"odbc_gettypeinfo": {
"descr": "Retrieves information about data types supported by the data source.",
"name": "odbc_gettypeinfo",
"params": [
{
"descr": "The ODBC connection identifier, see odbc_connect() for details.",
"name": "connection_id"
},
{
"descr": "The data type, which can be used to restrict the information to a single data type.",
"name": "data_type"
}
],
"path": "php/function.odbc-gettypeinfo",
"syntax": "resource odbc_gettypeinfo ( resource $connection_id [, int $data_type ] )",
"type": "Database"
},
"odbc_longreadlen": {
"descr": "Enables handling of LONG and LONGVARBINARY columns.",
"name": "odbc_longreadlen",
"params": [
{
"descr": "The result identifier.",
"name": "result_id"
},
{
"descr": "The number of bytes returned to PHP is controlled by the parameter length. ",
"name": "length"
}
],
"path": "php/function.odbc-longreadlen",
"syntax": "bool odbc_longreadlen ( resource $result_id , int $length )",
"type": "Database"
},
"odbc_next_result": {
"descr": "Checks if there are more result sets available as well as allowing access to the next result set via odbc_fetch_array(), odbc_fetch_row(), odbc_result(), etc.",
"name": "odbc_next_result",
"params": [
{
"descr": "The result identifier.",
"name": "result_id"
}
],
"path": "php/function.odbc-next-result",
"syntax": "bool odbc_next_result ( resource $result_id )",
"type": "Database"
},
"odbc_num_fields": {
"descr": "Gets the number of fields (columns) in an ODBC result.",
"name": "odbc_num_fields",
"params": [
{
"descr": "The result identifier returned by odbc_exec().",
"name": "result_id"
}
],
"path": "php/function.odbc-num-fields",
"syntax": "int odbc_num_fields ( resource $result_id )",
"type": "Database"
},
"odbc_num_rows": {
"descr": "Gets the number of rows in a result. For INSERT, UPDATE and DELETE statements odbc_num_rows() returns the number of rows affected. For a SELECT clause this can be the number of rows available.",
"name": "odbc_num_rows",
"params": [
{
"descr": "The result identifier returned by odbc_exec().",
"name": "result_id"
}
],
"path": "php/function.odbc-num-rows",
"syntax": "int odbc_num_rows ( resource $result_id )",
"type": "Database"
},
"odbc_pconnect": {
"descr": "Opens a persistent database connection.",
"name": "odbc_pconnect",
"params": [],
"path": "php/function.odbc-pconnect",
"syntax": "resource odbc_pconnect ( string $dsn , string $user , string $password [, int $cursor_type ] )",
"type": "Database"
},
"odbc_prepare": {
"descr": "Prepares a statement for execution. The result identifier can be used later to execute the statement with odbc_execute().",
"name": "odbc_prepare",
"params": [
{
"descr": "The ODBC connection identifier, see odbc_connect() for details.",
"name": "connection_id"
},
{
"descr": "The query string statement being prepared.",
"name": "query_string"
}
],
"path": "php/function.odbc-prepare",
"syntax": "resource odbc_prepare ( resource $connection_id , string $query_string )",
"type": "Database"
},
"odbc_primarykeys": {
"descr": "Returns a result identifier that can be used to fetch the column names that comprise the primary key for a table.",
"name": "odbc_primarykeys",
"params": [
{
"descr": "The ODBC connection identifier, see odbc_connect() for details.",
"name": "connection_id"
}
],
"path": "php/function.odbc-primarykeys",
"syntax": "resource odbc_primarykeys ( resource $connection_id , string $qualifier , string $owner , string $table )",
"type": "Database"
},
"odbc_procedurecolumns": {
"descr": "Retrieve information about parameters to procedures.",
"name": "odbc_procedurecolumns",
"params": [
{
"descr": "The ODBC connection identifier, see odbc_connect() for details.",
"name": "connection_id"
},
{
"descr": "The qualifier.",
"name": "qualifier"
},
{
"descr": "The owner. This parameter accepts the following search patterns: \"%\" to match zero or more characters, and \"_\" to match a single character.",
"name": "owner"
},
{
"descr": "The proc. This parameter accepts the following search patterns: \"%\" to match zero or more characters, and \"_\" to match a single character.",
"name": "proc"
},
{
"descr": "The column. This parameter accepts the following search patterns: \"%\" to match zero or more characters, and \"_\" to match a single character.",
"name": "column"
}
],
"path": "php/function.odbc-procedurecolumns",
"syntax": "resource odbc_procedurecolumns ( resource $connection_id )",
"type": "Database"
},
"odbc_procedures": {
"descr": "Lists all procedures in the requested range.",
"name": "odbc_procedures",
"params": [
{
"descr": "The ODBC connection identifier, see odbc_connect() for details.",
"name": "connection_id"
},
{
"descr": "The qualifier.",
"name": "qualifier"
},
{
"descr": "The owner. This parameter accepts the following search patterns: \"%\" to match zero or more characters, and \"_\" to match a single character.",
"name": "owner"
},
{
"descr": "The name. This parameter accepts the following search patterns: \"%\" to match zero or more characters, and \"_\" to match a single character.",
"name": "name"
}
],
"path": "php/function.odbc-procedures",
"syntax": "resource odbc_procedures ( resource $connection_id )",
"type": "Database"
},
"odbc_result": {
"descr": "Get result data",
"name": "odbc_result",
"params": [
{
"descr": "The ODBC resource.",
"name": "result_id"
},
{
"descr": "The field name being retrieved. ",
"name": "field"
}
],
"path": "php/function.odbc-result",
"syntax": "mixed odbc_result ( resource $result_id , mixed $field )",
"type": "Database"
},
"odbc_result_all": {
"descr": "Prints all rows from a result identifier produced by odbc_exec(). The result is printed in HTML table format.",
"name": "odbc_result_all",
"params": [
{
"descr": "The result identifier.",
"name": "result_id"
},
{
"descr": "Additional overall table formatting.",
"name": "format"
}
],
"path": "php/function.odbc-result-all",
"syntax": "int odbc_result_all ( resource $result_id [, string $format ] )",
"type": "Database"
},
"odbc_rollback": {
"descr": "Rolls back all pending statements on the connection.",
"name": "odbc_rollback",
"params": [
{
"descr": "The ODBC connection identifier, see odbc_connect() for details.",
"name": "connection_id"
}
],
"path": "php/function.odbc-rollback",
"syntax": "bool odbc_rollback ( resource $connection_id )",
"type": "Database"
},
"odbc_setoption": {
"descr": "This function allows fiddling with the ODBC options for a particular connection or query result. It was written to help find work around to problems in quirky ODBC drivers. You should probably only use this function if you are an ODBC programmer and understand the effects the various options will have. You will certainly need a good ODBC reference to explain all the different options and values that can be used. Different driver versions support different options.",
"name": "odbc_setoption",
"params": [
{
"descr": "Is a connection id or result id on which to change the settings. ",
"name": "id"
},
{
"descr": "Is the ODBC function to use. The value should be 1 for SQLSetConnectOption() and 2 for SQLSetStmtOption().",
"name": "function"
},
{
"descr": "The option to set.",
"name": "option"
},
{
"descr": "The value for the given option.",
"name": "param"
}
],
"path": "php/function.odbc-setoption",
"syntax": "bool odbc_setoption ( resource $id , int $function , int $option , int $param )",
"type": "Database"
},
"odbc_specialcolumns": {
"descr": "Retrieves either the optimal set of columns that uniquely identifies a row in the table, or columns that are automatically updated when any value in the row is updated by a transaction.",
"name": "odbc_specialcolumns",
"params": [
{
"descr": "The ODBC connection identifier, see odbc_connect() for details.",
"name": "connection_id"
},
{
"descr": "When the type argument is SQL_BEST_ROWID, odbc_specialcolumns() returns the column or columns that uniquely identify each row in the table. ",
"name": "type"
},
{
"descr": "The qualifier.",
"name": "qualifier"
},
{
"descr": "The owner.",
"name": "owner"
},
{
"descr": "The table.",
"name": "table"
},
{
"descr": "The scope, which orders the result set.",
"name": "scope"
},
{
"descr": "The nullable option.",
"name": "nullable"
}
],
"path": "php/function.odbc-specialcolumns",
"syntax": "resource odbc_specialcolumns ( resource $connection_id , int $type , string $qualifier , string $owner , string $table , int $scope , int $nullable )",
"type": "Database"
},
"odbc_statistics": {
"descr": "Get statistics about a table and its indexes.",
"name": "odbc_statistics",
"params": [
{
"descr": "The ODBC connection identifier, see odbc_connect() for details.",
"name": "connection_id"
},
{
"descr": "The qualifier.",
"name": "qualifier"
},
{
"descr": "The owner.",
"name": "owner"
},
{
"descr": "The table name.",
"name": "table_name"
},
{
"descr": "The unique attribute.",
"name": "unique"
},
{
"descr": "The accuracy.",
"name": "accuracy"
}
],
"path": "php/function.odbc-statistics",
"syntax": "resource odbc_statistics ( resource $connection_id , string $qualifier , string $owner , string $table_name , int $unique , int $accuracy )",
"type": "Database"
},
"odbc_tableprivileges": {
"descr": "Lists tables in the requested range and the privileges associated with each table.",
"name": "odbc_tableprivileges",
"params": [
{
"descr": "The ODBC connection identifier, see odbc_connect() for details.",
"name": "connection_id"
},
{
"descr": "The qualifier.",
"name": "qualifier"
},
{
"descr": "The owner. Accepts the following search patterns: ('%' to match zero or more characters and '_' to match a single character)",
"name": "owner"
},
{
"descr": "The name. Accepts the following search patterns: ('%' to match zero or more characters and '_' to match a single character)",
"name": "name"
}
],
"path": "php/function.odbc-tableprivileges",
"syntax": "resource odbc_tableprivileges ( resource $connection_id , string $qualifier , string $owner , string $name )",
"type": "Database"
},
"odbc_tables": {
"descr": "Lists all tables in the requested range.",
"name": "odbc_tables",
"params": [
{
"descr": "The ODBC connection identifier, see odbc_connect() for details.",
"name": "connection_id"
},
{
"descr": "The qualifier.",
"name": "qualifier"
},
{
"descr": "The owner. Accepts search patterns ('%' to match zero or more characters and '_' to match a single character).",
"name": "owner"
},
{
"descr": "The name. Accepts search patterns ('%' to match zero or more characters and '_' to match a single character).",
"name": "name"
},
{
"descr": "If table_type is not an empty string, it must contain a list of comma-separated values for the types of interest; each value may be enclosed in single quotes (') or unquoted. ",
"name": "types"
}
],
"path": "php/function.odbc-tables",
"syntax": "resource odbc_tables ( resource $connection_id [, string $qualifier [, string $owner [, string $name [, string $types ]]]] )",
"type": "Database"
},
"opendir": {
"descr": "Opens up a directory handle to be used in subsequent closedir(), readdir(), and rewinddir() calls.",
"name": "opendir",
"params": [
{
"descr": "The directory path that is to be opened",
"name": "path"
},
{
"descr": "For a description of the context parameter, refer to the streams section of the manual.",
"name": "context"
}
],
"path": "php/function.opendir",
"syntax": "resource opendir ( string $path [, resource $context ] )",
"type": "File System"
},
"openlog": {
"descr": "openlog() opens a connection to the system logger for a program.",
"name": "openlog",
"params": [
{
"descr": "The string ident is added to each message.",
"name": "ident"
},
{
"descr": "The option argument is used to indicate what logging options will be used when generating a log message. ",
"name": "option"
},
{
"descr": "The facility argument is used to specify what type of program is logging the message. ",
"name": "facility"
}
],
"path": "php/function.openlog",
"syntax": "bool openlog ( string $ident , int $option , int $facility )",
"type": "Networking"
},
"openssl_cipher_iv_length": {
"descr": "Gets the cipher iv length.",
"name": "openssl_cipher_iv_length",
"params": [
{
"descr": "The method.",
"name": "method"
}
],
"path": "php/function.openssl-cipher-iv-length",
"syntax": "int openssl_cipher_iv_length ( string $method )",
"type": "Cryptography"
},
"openssl_csr_export": {
"descr": "openssl_csr_export() takes the Certificate Signing Request represented by csr and stores it as ascii-armoured text into out, which is passed by reference.",
"name": "openssl_csr_export",
"params": [
{
"descr": "The optional parameter notext affects the verbosity of the output; if it is FALSE, then additional human-readable information is included in the output. ",
"name": "csr out notext"
}
],
"path": "php/function.openssl-csr-export",
"syntax": "bool openssl_csr_export ( resource $csr , string &$out [, bool $notext = true ] )",
"type": "Cryptography"
},
"openssl_csr_export_to_file": {
"descr": "openssl_csr_export_to_file() takes the Certificate Signing Request represented by csr and saves it as ascii-armoured text into the file named by outfilename.",
"name": "openssl_csr_export_to_file",
"params": [
{
"descr": "Path to the output file.",
"name": "csr outfilename"
},
{
"descr": "The optional parameter notext affects the verbosity of the output; if it is FALSE, then additional human-readable information is included in the output. ",
"name": "notext"
}
],
"path": "php/function.openssl-csr-export-to-file",
"syntax": "bool openssl_csr_export_to_file ( resource $csr , string $outfilename [, bool $notext = true ] )",
"type": "Cryptography"
},
"openssl_csr_get_public_key": {
"descr": "",
"name": "openssl_csr_get_public_key",
"params": [],
"path": "php/function.openssl-csr-get-public-key",
"syntax": "resource openssl_csr_get_public_key ( mixed $csr [, bool $use_shortnames = true ] )",
"type": "Cryptography"
},
"openssl_csr_get_subject": {
"descr": "",
"name": "openssl_csr_get_subject",
"params": [],
"path": "php/function.openssl-csr-get-subject",
"syntax": "array openssl_csr_get_subject ( mixed $csr [, bool $use_shortnames = true ] )",
"type": "Cryptography"
},
"openssl_csr_new": {
"descr": "openssl_csr_new() generates a new CSR (Certificate Signing Request) based on the information provided by dn, which represents the Distinguished Name to be used in the certificate.",
"name": "openssl_csr_new",
"params": [
{
"descr": "The Distinguished Name to be used in the certificate.",
"name": "dn"
},
{
"descr": "privkey should be set to a private key that was previously generated by openssl_pkey_new() (or otherwise obtained from the other openssl_pkey family of functions). ",
"name": "privkey"
},
{
"descr": "By default, the information in your system openssl.conf is used to initialize the request; you can specify a configuration file section by setting the config_section_section key of configargs. ",
"name": "configargs"
},
{
"descr": "extraattribs is used to specify additional configuration options for the CSR. ",
"name": "extraattribs"
}
],
"path": "php/function.openssl-csr-new",
"syntax": "mixed openssl_csr_new ( array $dn , resource &$privkey [, array $configargs [, array $extraattribs ]] )",
"type": "Cryptography"
},
"openssl_csr_sign": {
"descr": "openssl_csr_sign() generates an x509 certificate resource from the given CSR.",
"name": "openssl_csr_sign",
"params": [
{
"descr": "A CSR previously generated by openssl_csr_new(). ",
"name": "csr"
},
{
"descr": "The generated certificate will be signed by cacert. ",
"name": "cacert"
},
{
"descr": "priv_key is the private key that corresponds to cacert.",
"name": "priv_key"
},
{
"descr": "days specifies the length of time for which the generated certificate will be valid, in days.",
"name": "days"
},
{
"descr": "You can finetune the CSR signing by configargs. ",
"name": "configargs"
},
{
"descr": "An optional the serial number of issued certificate. ",
"name": "serial"
}
],
"path": "php/function.openssl-csr-sign",
"syntax": "resource openssl_csr_sign ( mixed $csr , mixed $cacert , mixed $priv_key , int $days [, array $configargs [, int $serial = 0 ]] )",
"type": "Cryptography"
},
"openssl_decrypt": {
"descr": "Takes a raw or base64 encoded string and decrypts it using a given method and key.",
"name": "openssl_decrypt",
"params": [
{
"descr": "The data.",
"name": "data"
},
{
"descr": "The cipher method.",
"name": "method"
},
{
"descr": "The password.",
"name": "password"
},
{
"descr": "options can be one of OPENSSL_RAW_DATA, OPENSSL_ZERO_PADDING.",
"name": "options"
},
{
"descr": "A non-NULL Initialization Vector.",
"name": "iv"
}
],
"path": "php/function.openssl-decrypt",
"syntax": "string openssl_decrypt ( string $data , string $method , string $password [, int $options = 0 [, string $iv = \"\" ]] )",
"type": "Cryptography"
},
"openssl_dh_compute_key": {
"descr": "",
"name": "openssl_dh_compute_key",
"params": [
{
"descr": "Public key",
"name": "pub_key"
},
{
"descr": "DH key",
"name": "dh_key"
}
],
"path": "php/function.openssl-dh-compute-key",
"syntax": "string openssl_dh_compute_key ( string $pub_key , resource $dh_key )",
"type": "Cryptography"
},
"openssl_digest": {
"descr": "Computes a digest hash value for the given data using a given method, and returns a raw or binhex encoded string.",
"name": "openssl_digest",
"params": [
{
"descr": "The data.",
"name": "data"
},
{
"descr": "The digest method.",
"name": "method"
},
{
"descr": "Setting to TRUE will return as raw output data, otherwise the return value is binhex encoded.",
"name": "raw_output"
}
],
"path": "php/function.openssl-digest",
"syntax": "string openssl_digest ( string $data , string $method [, bool $raw_output = false ] )",
"type": "Cryptography"
},
"openssl_encrypt": {
"descr": "Encrypts given data with given method and key, returns a raw or base64 encoded string",
"name": "openssl_encrypt",
"params": [
{
"descr": "The data.",
"name": "data"
},
{
"descr": "The cipher method.",
"name": "method"
},
{
"descr": "The password.",
"name": "password"
},
{
"descr": "options can be one of OPENSSL_RAW_DATA, OPENSSL_ZERO_PADDING.",
"name": "options"
},
{
"descr": "A non-NULL Initialization Vector.",
"name": "iv"
}
],
"path": "php/function.openssl-encrypt",
"syntax": "string openssl_encrypt ( string $data , string $method , string $password [, int $options = 0 [, string $iv = \"\" ]] )",
"type": "Cryptography"
},
"openssl_error_string": {
"descr": "openssl_error_string() returns the last error from the openSSL library. Error messages are queued, so this function should be called multiple times to collect all of the information. The last error will be the most recent one.",
"name": "openssl_error_string",
"params": [],
"path": "php/function.openssl-error-string",
"syntax": "string openssl_error_string ( void )",
"type": "Cryptography"
},
"openssl_free_key": {
"descr": "openssl_free_key() frees the key associated with the specified key_identifier from memory.",
"name": "openssl_free_key",
"params": [],
"path": "php/function.openssl-free-key",
"syntax": "void openssl_free_key ( resource $key_identifier )",
"type": "Cryptography"
},
"openssl_get_cipher_methods": {
"descr": "Gets a list of available cipher methods.",
"name": "openssl_get_cipher_methods",
"params": [
{
"descr": "Set to TRUE if cipher aliases should be included within the returned array.",
"name": "aliases"
}
],
"path": "php/function.openssl-get-cipher-methods",
"syntax": "array openssl_get_cipher_methods ([ bool $aliases = false ] )",
"type": "Cryptography"
},
"openssl_get_md_methods": {
"descr": "Gets a list of available digest methods.",
"name": "openssl_get_md_methods",
"params": [
{
"descr": "Set to TRUE if digest aliases should be included within the returned array.",
"name": "aliases"
}
],
"path": "php/function.openssl-get-md-methods",
"syntax": "array openssl_get_md_methods ([ bool $aliases = false ] )",
"type": "Cryptography"
},
"openssl_open": {
"descr": "openssl_open() opens (decrypts) sealed_data using the private key associated with the key identifier priv_key_id and the envelope key env_key, and fills open_data with the decrypted data. The envelope key is generated when the data are sealed and can only be used by one specific private key. See openssl_seal() for more information.",
"name": "openssl_open",
"params": [
{
"descr": "If the call is successful the opened data is returned in this parameter.",
"name": "sealed_data open_data"
}
],
"path": "php/function.openssl-open",
"syntax": "bool openssl_open ( string $sealed_data , string &$open_data , string $env_key , mixed $priv_key_id [, string $method ] )",
"type": "Cryptography"
},
"openssl_pbkdf2": {
"descr": "",
"name": "openssl_pbkdf2",
"params": [],
"path": "php/function.openssl-pbkdf2",
"syntax": "string openssl_pbkdf2 ( string $password , string $salt , int $key_length , int $iterations [, string $digest_algorithm ] )",
"type": "Cryptography"
},
"openssl_pkcs12_export": {
"descr": "openssl_pkcs12_export() stores x509 into a string named by out in a PKCS#12 file format.",
"name": "openssl_pkcs12_export",
"params": [
{
"descr": "See Key/Certificate parameters for a list of valid values.",
"name": "x509"
},
{
"descr": "On success, this will hold the PKCS#12.",
"name": "out"
},
{
"descr": "Private key component of PKCS#12 file.",
"name": "priv_key"
},
{
"descr": "Encryption password for unlocking the PKCS#12 file.",
"name": "pass"
}
],
"path": "php/function.openssl-pkcs12-export",
"syntax": "bool openssl_pkcs12_export ( mixed $x509 , string &$out , mixed $priv_key , string $pass [, array $args ] )",
"type": "Cryptography"
},
"openssl_pkcs12_export_to_file": {
"descr": "openssl_pkcs12_export_to_file() stores x509 into a file named by filename in a PKCS#12 file format.",
"name": "openssl_pkcs12_export_to_file",
"params": [
{
"descr": "See Key/Certificate parameters for a list of valid values.",
"name": "x509"
},
{
"descr": "Path to the output file.",
"name": "filename"
},
{
"descr": "Private key component of PKCS#12 file.",
"name": "priv_key"
},
{
"descr": "Encryption password for unlocking the PKCS#12 file.",
"name": "pass"
}
],
"path": "php/function.openssl-pkcs12-export-to-file",
"syntax": "bool openssl_pkcs12_export_to_file ( mixed $x509 , string $filename , mixed $priv_key , string $pass [, array $args ] )",
"type": "Cryptography"
},
"openssl_pkcs12_read": {
"descr": "openssl_pkcs12_read() parses the PKCS#12 certificate store supplied by pkcs12 into a array named certs.",
"name": "openssl_pkcs12_read",
"params": [
{
"descr": "On success, this will hold the Certificate Store Data.",
"name": "pkcs12 certs"
},
{
"descr": "Encryption password for unlocking the PKCS#12 file.",
"name": "pass"
}
],
"path": "php/function.openssl-pkcs12-read",
"syntax": "bool openssl_pkcs12_read ( string $pkcs12 , array &$certs , string $pass )",
"type": "Cryptography"
},
"openssl_pkcs7_decrypt": {
"descr": "Decrypts the S/MIME encrypted message contained in the file specified by infilename using the certificate and its associated private key specified by recipcert and recipkey.",
"name": "openssl_pkcs7_decrypt",
"params": [
{
"descr": "The decrypted message is written to the file specified by outfilename.",
"name": "infilename outfilename"
}
],
"path": "php/function.openssl-pkcs7-decrypt",
"syntax": "bool openssl_pkcs7_decrypt ( string $infilename , string $outfilename , mixed $recipcert [, mixed $recipkey ] )",
"type": "Cryptography"
},
"openssl_pkcs7_encrypt": {
"descr": "openssl_pkcs7_encrypt() takes the contents of the file named infile and encrypts them using an RC2 40-bit cipher so that they can only be read by the intended recipients specified by recipcerts.",
"name": "openssl_pkcs7_encrypt",
"params": [
{
"descr": "Either a lone X.509 certificate, or an array of X.509 certificates.",
"name": "infile outfile recipcerts"
},
{
"descr": "headers is an array of headers that will be prepended to the data after it has been encrypted. ",
"name": "headers"
},
{
"descr": "flags can be used to specify options that affect the encoding process - see PKCS7 constants.",
"name": "flags"
},
{
"descr": "One of cipher constants.",
"name": "cipherid"
}
],
"path": "php/function.openssl-pkcs7-encrypt",
"syntax": "bool openssl_pkcs7_encrypt ( string $infile , string $outfile , mixed $recipcerts , array $headers [, int $flags = 0 [, int $cipherid = OPENSSL_CIPHER_RC2_40 ]] )",
"type": "Cryptography"
},
"openssl_pkcs7_sign": {
"descr": "openssl_pkcs7_sign() takes the contents of the file named infilename and signs them using the certificate and its matching private key specified by signcert and privkey parameters.",
"name": "openssl_pkcs7_sign",
"params": [
{
"descr": "headers is an array of headers that will be prepended to the data after it has been signed (see openssl_pkcs7_encrypt() for more information about the format of this parameter).",
"name": "infilename outfilename signcert privkey headers"
},
{
"descr": "flags can be used to alter the output - see PKCS7 constants.",
"name": "flags"
},
{
"descr": "extracerts specifies the name of a file containing a bunch of extra certificates to include in the signature which can for example be used to help the recipient to verify the certificate that you used.",
"name": "extracerts"
}
],
"path": "php/function.openssl-pkcs7-sign",
"syntax": "bool openssl_pkcs7_sign ( string $infilename , string $outfilename , mixed $signcert , mixed $privkey , array $headers [, int $flags = PKCS7_DETACHED [, string $extracerts ]] )",
"type": "Cryptography"
},
"openssl_pkcs7_verify": {
"descr": "openssl_pkcs7_verify() reads the S/MIME message contained in the given file and examines the digital signature.",
"name": "openssl_pkcs7_verify",
"params": [
{
"descr": "Path to the message.",
"name": "filename"
},
{
"descr": "flags can be used to affect how the signature is verified - see PKCS7 constants for more information.",
"name": "flags"
},
{
"descr": "If the outfilename is specified, it should be a string holding the name of a file into which the certificates of the persons that signed the messages will be stored in PEM format.",
"name": "outfilename"
},
{
"descr": "If the cainfo is specified, it should hold information about the trusted CA certificates to use in the verification process - see certificate verification for more information about this parameter.",
"name": "cainfo"
},
{
"descr": "If the extracerts is specified, it is the filename of a file containing a bunch of certificates to use as untrusted CAs.",
"name": "extracerts"
},
{
"descr": "You can specify a filename with content that will be filled with the verified data, but with the signature information stripped.",
"name": "content"
}
],
"path": "php/function.openssl-pkcs7-verify",
"syntax": "mixed openssl_pkcs7_verify ( string $filename , int $flags [, string $outfilename [, array $cainfo [, string $extracerts [, string $content ]]]] )",
"type": "Cryptography"
},
"openssl_pkey_export": {
"descr": "openssl_pkey_export() exports key as a PEM encoded string and stores it into out (which is passed by reference).",
"name": "openssl_pkey_export",
"params": [
{
"descr": "The key is optionally protected by passphrase.",
"name": "key out passphrase"
},
{
"descr": "configargs can be used to fine-tune the export process by specifying and/or overriding options for the openssl configuration file. ",
"name": "configargs"
}
],
"path": "php/function.openssl-pkey-export",
"syntax": "bool openssl_pkey_export ( mixed $key , string &$out [, string $passphrase [, array $configargs ]] )",
"type": "Cryptography"
},
"openssl_pkey_export_to_file": {
"descr": "openssl_pkey_export_to_file() saves an ascii-armoured (PEM encoded) rendition of key into the file named by outfilename.",
"name": "openssl_pkey_export_to_file",
"params": [
{
"descr": "Path to the output file.",
"name": "key outfilename"
},
{
"descr": "The key can be optionally protected by a passphrase.",
"name": "passphrase"
},
{
"descr": "configargs can be used to fine-tune the export process by specifying and/or overriding options for the openssl configuration file. ",
"name": "configargs"
}
],
"path": "php/function.openssl-pkey-export-to-file",
"syntax": "bool openssl_pkey_export_to_file ( mixed $key , string $outfilename [, string $passphrase [, array $configargs ]] )",
"type": "Cryptography"
},
"openssl_pkey_free": {
"descr": "This function frees a private key created by openssl_pkey_new().",
"name": "openssl_pkey_free",
"params": [
{
"descr": "Resource holding the key.",
"name": "key"
}
],
"path": "php/function.openssl-pkey-free",
"syntax": "void openssl_pkey_free ( resource $key )",
"type": "Cryptography"
},
"openssl_pkey_get_details": {
"descr": "This function returns the key details (bits, key, type).",
"name": "openssl_pkey_get_details",
"params": [
{
"descr": "Resource holding the key.",
"name": "key"
}
],
"path": "php/function.openssl-pkey-get-details",
"syntax": "array openssl_pkey_get_details ( resource $key )",
"type": "Cryptography"
},
"openssl_pkey_get_private": {
"descr": "openssl_get_privatekey() parses key and prepares it for use by other functions.",
"name": "openssl_pkey_get_private",
"params": [
{
"descr": "key can be one of the following: a string having the format file://path/to/file.pem. ",
"name": "key"
},
{
"descr": "The optional parameter passphrase must be used if the specified key is encrypted (protected by a passphrase).",
"name": "passphrase"
}
],
"path": "php/function.openssl-pkey-get-private",
"syntax": "resource openssl_pkey_get_private ( mixed $key [, string $passphrase = \"\" ] )",
"type": "Cryptography"
},
"openssl_pkey_get_public": {
"descr": "openssl_get_publickey() extracts the public key from certificate and prepares it for use by other functions.",
"name": "openssl_pkey_get_public",
"params": [
{
"descr": "certificate can be one of the following: an X.509 certificate resource a string having the format file://path/to/file.pem. ",
"name": "certificate"
}
],
"path": "php/function.openssl-pkey-get-public",
"syntax": "resource openssl_pkey_get_public ( mixed $certificate )",
"type": "Cryptography"
},
"openssl_pkey_new": {
"descr": "openssl_pkey_new() generates a new private and public key pair. The public component of the key can be obtained using openssl_pkey_get_public().",
"name": "openssl_pkey_new",
"params": [
{
"descr": "You can finetune the key generation (such as specifying the number of bits) using configargs. ",
"name": "configargs"
}
],
"path": "php/function.openssl-pkey-new",
"syntax": "resource openssl_pkey_new ([ array $configargs ] )",
"type": "Cryptography"
},
"openssl_private_decrypt": {
"descr": "openssl_private_decrypt() decrypts data that was previous encrypted via openssl_public_encrypt() and stores the result into decrypted.",
"name": "openssl_private_decrypt",
"params": [
{
"descr": "key must be the private key corresponding that was used to encrypt the data.",
"name": "data decrypted key"
},
{
"descr": "padding can be one of OPENSSL_PKCS1_PADDING, OPENSSL_SSLV23_PADDING, OPENSSL_PKCS1_OAEP_PADDING, OPENSSL_NO_PADDING.",
"name": "padding"
}
],
"path": "php/function.openssl-private-decrypt",
"syntax": "bool openssl_private_decrypt ( string $data , string &$decrypted , mixed $key [, int $padding = OPENSSL_PKCS1_PADDING ] )",
"type": "Cryptography"
},
"openssl_private_encrypt": {
"descr": "openssl_private_encrypt() encrypts data with private key and stores the result into crypted. Encrypted data can be decrypted via openssl_public_decrypt().",
"name": "openssl_private_encrypt",
"params": [
{
"descr": "padding can be one of OPENSSL_PKCS1_PADDING, OPENSSL_NO_PADDING.",
"name": "data crypted key padding"
}
],
"path": "php/function.openssl-private-encrypt",
"syntax": "bool openssl_private_encrypt ( string $data , string &$crypted , mixed $key [, int $padding = OPENSSL_PKCS1_PADDING ] )",
"type": "Cryptography"
},
"openssl_public_decrypt": {
"descr": "openssl_public_decrypt() decrypts data that was previous encrypted via openssl_private_encrypt() and stores the result into decrypted.",
"name": "openssl_public_decrypt",
"params": [
{
"descr": "key must be the public key corresponding that was used to encrypt the data.",
"name": "data decrypted key"
},
{
"descr": "padding can be one of OPENSSL_PKCS1_PADDING, OPENSSL_NO_PADDING.",
"name": "padding"
}
],
"path": "php/function.openssl-public-decrypt",
"syntax": "bool openssl_public_decrypt ( string $data , string &$decrypted , mixed $key [, int $padding = OPENSSL_PKCS1_PADDING ] )",
"type": "Cryptography"
},
"openssl_public_encrypt": {
"descr": "openssl_public_encrypt() encrypts data with public key and stores the result into crypted. Encrypted data can be decrypted via openssl_private_decrypt().",
"name": "openssl_public_encrypt",
"params": [
{
"descr": "This will hold the result of the encryption.",
"name": "data crypted"
},
{
"descr": "The public key.",
"name": "key"
},
{
"descr": "padding can be one of OPENSSL_PKCS1_PADDING, OPENSSL_SSLV23_PADDING, OPENSSL_PKCS1_OAEP_PADDING, OPENSSL_NO_PADDING.",
"name": "padding"
}
],
"path": "php/function.openssl-public-encrypt",
"syntax": "bool openssl_public_encrypt ( string $data , string &$crypted , mixed $key [, int $padding = OPENSSL_PKCS1_PADDING ] )",
"type": "Cryptography"
},
"openssl_random_pseudo_bytes": {
"descr": "Generates a string of pseudo-random bytes, with the number of bytes determined by the length parameter.",
"name": "openssl_random_pseudo_bytes",
"params": [
{
"descr": "The length of the desired string of bytes. ",
"name": "length"
},
{
"descr": "If passed into the function, this will hold a boolean value that determines if the algorithm used was \"cryptographically strong\", e.g., safe for usage with GPG, passwords, etc. ",
"name": "crypto_strong"
}
],
"path": "php/function.openssl-random-pseudo-bytes",
"syntax": "string openssl_random_pseudo_bytes ( int $length [, bool &$crypto_strong ] )",
"type": "Cryptography"
},
"openssl_seal": {
"descr": "openssl_seal() seals (encrypts) data by using RC4 with a randomly generated secret key. The key is encrypted with each of the public keys associated with the identifiers in pub_key_ids and each encrypted key is returned in env_keys. This means that one can send sealed data to multiple recipients (provided one has obtained their public keys). Each recipient must receive both the sealed data and the envelope key that was encrypted with the recipient's public key.",
"name": "openssl_seal",
"params": [],
"path": "php/function.openssl-seal",
"syntax": "int openssl_seal ( string $data , string &$sealed_data , array &$env_keys , array $pub_key_ids [, string $method ] )",
"type": "Cryptography"
},
"openssl_sign": {
"descr": "openssl_sign() computes a signature for the specified data by generating a cryptographic digital signature using the private key associated with priv_key_id. Note that the data itself is not encrypted.",
"name": "openssl_sign",
"params": [
{
"descr": "The string of data you wish to sign",
"name": "data"
},
{
"descr": "If the call was successful the signature is returned in signature.",
"name": "signature"
},
{
"descr": "resource - a key, returned by openssl_get_privatekey() string - a PEM formatted key",
"name": "priv_key_id"
},
{
"descr": "int - one of these Signature Algorithms. ",
"name": "signature_alg"
}
],
"path": "php/function.openssl-sign",
"syntax": "bool openssl_sign ( string $data , string &$signature , mixed $priv_key_id [, mixed $signature_alg = OPENSSL_ALGO_SHA1 ] )",
"type": "Cryptography"
},
"openssl_verify": {
"descr": "openssl_verify() verifies that the signature is correct for the specified data using the public key associated with pub_key_id. This must be the public key corresponding to the private key used for signing.",
"name": "openssl_verify",
"params": [
{
"descr": "The string of data used to generate the signature previously",
"name": "data"
},
{
"descr": "A raw binary string, generated by openssl_sign() or similar means",
"name": "signature"
},
{
"descr": "resource - a key, returned by openssl_get_publickey() string - a PEM formatted key, example, \"-----BEGIN PUBLIC KEY----- MIIBCgK...\"",
"name": "pub_key_id"
},
{
"descr": "int - one of these Signature Algorithms. ",
"name": "signature_alg"
}
],
"path": "php/function.openssl-verify",
"syntax": "int openssl_verify ( string $data , string $signature , mixed $pub_key_id [, mixed $signature_alg = OPENSSL_ALGO_SHA1 ] )",
"type": "Cryptography"
},
"openssl_x509_check_private_key": {
"descr": "Checks whether the given key is the private key that corresponds to cert.",
"name": "openssl_x509_check_private_key",
"params": [
{
"descr": "The certificate.",
"name": "cert"
},
{
"descr": "The private key.",
"name": "key"
}
],
"path": "php/function.openssl-x509-check-private-key",
"syntax": "bool openssl_x509_check_private_key ( mixed $cert , mixed $key )",
"type": "Cryptography"
},
"openssl_x509_checkpurpose": {
"descr": "openssl_x509_checkpurpose() examines a certificate to see if it can be used for the specified purpose.",
"name": "openssl_x509_checkpurpose",
"params": [
{
"descr": "The examined certificate.",
"name": "x509cert"
},
{
"descr": "openssl_x509_checkpurpose() purposes Constant Description X509_PURPOSE_SSL_CLIENT Can the certificate be used for the client side of an SSL connection? X509_PURPOSE_SSL_SERVER Can the certificate be used for the server side of an SSL connection? X509_PURPOSE_NS_SSL_SERVER Can the cert be used for Netscape SSL server? X509_PURPOSE_SMIME_SIGN Can the cert be used to sign S/MIME email? X509_PURPOSE_SMIME_ENCRYPT Can the cert be used to encrypt S/MIME email? X509_PURPOSE_CRL_SIGN Can the cert be used to sign a certificate revocation list (CRL)? X509_PURPOSE_ANY Can the cert be used for Any/All purposes? These options are not bitfields - you may specify one only!",
"name": "purpose"
},
{
"descr": "cainfo should be an array of trusted CA files/dirs as described in Certificate Verification.",
"name": "cainfo"
},
{
"descr": "If specified, this should be the name of a PEM encoded file holding certificates that can be used to help verify the certificate, although no trust is placed in the certificates that come from that file.",
"name": "untrustedfile"
}
],
"path": "php/function.openssl-x509-checkpurpose",
"syntax": "int openssl_x509_checkpurpose ( mixed $x509cert , int $purpose [, array $cainfo = array() [, string $untrustedfile ]] )",
"type": "Cryptography"
},
"openssl_x509_export": {
"descr": "openssl_x509_export() stores x509 into a string named by output in a PEM encoded format.",
"name": "openssl_x509_export",
"params": [
{
"descr": "See Key/Certificate parameters for a list of valid values.",
"name": "x509"
},
{
"descr": "On success, this will hold the PEM.",
"name": "output"
},
{
"descr": "The optional parameter notext affects the verbosity of the output; if it is FALSE, then additional human-readable information is included in the output. ",
"name": "notext"
}
],
"path": "php/function.openssl-x509-export",
"syntax": "bool openssl_x509_export ( mixed $x509 , string &$output [, bool $notext = TRUE ] )",
"type": "Cryptography"
},
"openssl_x509_export_to_file": {
"descr": "openssl_x509_export_to_file() stores x509 into a file named by outfilename in a PEM encoded format.",
"name": "openssl_x509_export_to_file",
"params": [
{
"descr": "See Key/Certificate parameters for a list of valid values.",
"name": "x509"
},
{
"descr": "Path to the output file.",
"name": "outfilename"
},
{
"descr": "The optional parameter notext affects the verbosity of the output; if it is FALSE, then additional human-readable information is included in the output. ",
"name": "notext"
}
],
"path": "php/function.openssl-x509-export-to-file",
"syntax": "bool openssl_x509_export_to_file ( mixed $x509 , string $outfilename [, bool $notext = TRUE ] )",
"type": "Cryptography"
},
"openssl_x509_free": {
"descr": "openssl_x509_free() frees the certificate associated with the specified x509cert resource from memory.",
"name": "openssl_x509_free",
"params": [],
"path": "php/function.openssl-x509-free",
"syntax": "void openssl_x509_free ( resource $x509cert )",
"type": "Cryptography"
},
"openssl_x509_parse": {
"descr": "openssl_x509_parse() returns information about the supplied x509cert, including fields such as subject name, issuer name, purposes, valid from and valid to dates etc.",
"name": "openssl_x509_parse",
"params": [
{
"descr": "shortnames controls how the data is indexed in the array - if shortnames is TRUE (the default) then fields will be indexed with the short name form, otherwise, the long name form will be used - e.g.: CN is the shortname form of commonName.",
"name": "x509cert shortnames"
}
],
"path": "php/function.openssl-x509-parse",
"syntax": "array openssl_x509_parse ( mixed $x509cert [, bool $shortnames = true ] )",
"type": "Cryptography"
},
"openssl_x509_read": {
"descr": "openssl_x509_read() parses the certificate supplied by x509certdata and returns a resource identifier for it.",
"name": "openssl_x509_read",
"params": [],
"path": "php/function.openssl-x509-read",
"syntax": "resource openssl_x509_read ( mixed $x509certdata )",
"type": "Cryptography"
},
"ord": {
"descr": "Returns the ASCII value of the first character of string.",
"name": "ord",
"params": [
{
"descr": "A character.",
"name": "string"
}
],
"path": "php/function.ord",
"syntax": "int ord ( string $string )",
"type": "String"
},
"output_add_rewrite_var": {
"descr": "This function adds another name/value pair to the URL rewrite mechanism. The name and value will be added to URLs (as GET parameter) and forms (as hidden input fields) the same way as the session ID when transparent URL rewriting is enabled with session.use_trans_sid. Please note that absolute URLs (http://example.com/..) aren't rewritten.",
"name": "output_add_rewrite_var",
"params": [
{
"descr": "The variable name.",
"name": "name"
},
{
"descr": "The variable value.",
"name": "value"
}
],
"path": "php/function.output-add-rewrite-var",
"syntax": "bool output_add_rewrite_var ( string $name , string $value )",
"type": "Networking"
},
"output_reset_rewrite_vars": {
"descr": "This function resets the URL rewriter and removes all rewrite variables previously set by the output_add_rewrite_var() function or the session mechanism (if session.use_trans_sid was set on session_start()).",
"name": "output_reset_rewrite_vars",
"params": [],
"path": "php/function.output-reset-rewrite-vars",
"syntax": "bool output_reset_rewrite_vars ( void )",
"type": "Networking"
},
"pack": {
"descr": "Pack given arguments into a binary string according to format.",
"name": "pack",
"params": [
{
"descr": "The format string consists of format codes followed by an optional repeater argument. ",
"name": "format"
}
],
"path": "php/function.pack",
"syntax": "string pack ( string $format [, mixed $args [, mixed $... ]] )",
"type": "Language"
},
"parse_ini_file": {
"descr": "parse_ini_file() loads in the ini file specified in filename, and returns the settings in it in an associative array.",
"name": "parse_ini_file",
"params": [
{
"descr": "The filename of the ini file being parsed.",
"name": "filename"
},
{
"descr": "By setting the process_sections parameter to TRUE, you get a multidimensional array, with the section names and settings included. ",
"name": "process_sections"
},
{
"descr": "Can either be INI_SCANNER_NORMAL (default) or INI_SCANNER_RAW. ",
"name": "scanner_mode"
}
],
"path": "php/function.parse-ini-file",
"syntax": "array parse_ini_file ( string $filename [, bool $process_sections = false [, int $scanner_mode = INI_SCANNER_NORMAL ]] )",
"type": "File System"
},
"parse_ini_string": {
"descr": "parse_ini_string() returns the settings in string ini in an associative array.",
"name": "parse_ini_string",
"params": [
{
"descr": "The contents of the ini file being parsed.",
"name": "ini"
},
{
"descr": "By setting the process_sections parameter to TRUE, you get a multidimensional array, with the section names and settings included. ",
"name": "process_sections"
},
{
"descr": "Can either be INI_SCANNER_NORMAL (default) or INI_SCANNER_RAW. ",
"name": "scanner_mode"
}
],
"path": "php/function.parse-ini-string",
"syntax": "array parse_ini_string ( string $ini [, bool $process_sections = false [, int $scanner_mode = INI_SCANNER_NORMAL ]] )",
"type": "File System"
},
"parse_str": {
"descr": "Parses str as if it were the query string passed via a URL and sets variables in the current scope.",
"name": "parse_str",
"params": [
{
"descr": "The input string.",
"name": "str"
},
{
"descr": "If the second parameter arr is present, variables are stored in this variable as array elements instead.",
"name": "arr"
}
],
"path": "php/function.parse-str",
"syntax": "void parse_str ( string $str [, array &$arr ] )",
"type": "String"
},
"parse_url": {
"descr": "This function parses a URL and returns an associative array containing any of the various components of the URL that are present.",
"name": "parse_url",
"params": [
{
"descr": "The URL to parse. Invalid characters are replaced by _.",
"name": "url"
},
{
"descr": "Specify one of PHP_URL_SCHEME, PHP_URL_HOST, PHP_URL_PORT, PHP_URL_USER, PHP_URL_PASS, PHP_URL_PATH, PHP_URL_QUERY or PHP_URL_FRAGMENT to retrieve just a specific URL component as a string (except when PHP_URL_PORT is given, in which case the return value will be an integer).",
"name": "component"
}
],
"path": "php/function.parse-url",
"syntax": "mixed parse_url ( string $url [, int $component = -1 ] )",
"type": "Networking"
},
"passthru": {
"descr": "The passthru() function is similar to the exec() function in that it executes a command. This function should be used in place of exec() or system() when the output from the Unix command is binary data which needs to be passed directly back to the browser. A common use for this is to execute something like the pbmplus utilities that can output an image stream directly. By setting the Content-type to image/gif and then calling a pbmplus program to output a gif, you can create PHP scripts that output images directly.",
"name": "passthru",
"params": [
{
"descr": "The command that will be executed.",
"name": "command"
},
{
"descr": "If the return_var argument is present, the return status of the Unix command will be placed here.",
"name": "return_var"
}
],
"path": "php/function.passthru",
"syntax": "void passthru ( string $command [, int &$return_var ] )",
"type": "Process Control"
},
"password_get_info": {
"descr": "When passed in a valid hash created by an algorithm supported by password_hash(), this function will return an array of information about that hash.",
"name": "password_get_info",
"params": [
{
"descr": "A hash created by password_hash().",
"name": "hash"
}
],
"path": "php/function.password-get-info",
"syntax": "array password_get_info ( string $hash )",
"type": "Cryptography"
},
"password_hash": {
"descr": "password_hash() creates a new password hash using a strong one-way hashing algorithm. password_hash() is compatible with crypt(). Therefore, password hashes created by crypt() can be used with password_hash().",
"name": "password_hash",
"params": [
{
"descr": "The user's password. Caution Using the PASSWORD_BCRYPT for the algo parameter, will result in the password parameter being truncated to a maximum length of 72 characters. ",
"name": "password"
},
{
"descr": "A password algorithm constant denoting the algorithm to use when hashing the password.",
"name": "algo"
},
{
"descr": "An associative array containing options. ",
"name": "options"
}
],
"path": "php/function.password-hash",
"syntax": "string password_hash ( string $password , integer $algo [, array $options ] )",
"type": "Cryptography"
},
"password_needs_rehash": {
"descr": "This function checks to see if the supplied hash implements the algorithm and options provided. If not, it is assumed that the hash needs to be rehashed.",
"name": "password_needs_rehash",
"params": [
{
"descr": "A hash created by password_hash().",
"name": "hash"
},
{
"descr": "A password algorithm constant denoting the algorithm to use when hashing the password.",
"name": "algo"
},
{
"descr": "An associative array containing options. ",
"name": "options"
}
],
"path": "php/function.password-needs-rehash",
"syntax": "boolean password_needs_rehash ( string $hash , string $algo [, string $options ] )",
"type": "Cryptography"
},
"password_verify": {
"descr": "Verifies that the given hash matches the given password.",
"name": "password_verify",
"params": [
{
"descr": "The user's password.",
"name": "password"
},
{
"descr": "A hash created by password_hash().",
"name": "hash"
}
],
"path": "php/function.password-verify",
"syntax": "boolean password_verify ( string $password , string $hash )",
"type": "Cryptography"
},
"pathinfo": {
"descr": "pathinfo() returns information about path: either an associative array or a string, depending on options.",
"name": "pathinfo",
"params": [
{
"descr": "The path to be parsed.",
"name": "path"
},
{
"descr": "If present, specifies a specific element to be returned; one of PATHINFO_DIRNAME, PATHINFO_BASENAME, PATHINFO_EXTENSION or PATHINFO_FILENAME. ",
"name": "options"
}
],
"path": "php/function.pathinfo",
"syntax": "mixed pathinfo ( string $path [, int $options = PATHINFO_DIRNAME | PATHINFO_BASENAME | PATHINFO_EXTENSION | PATHINFO_FILENAME ] )",
"type": "File System"
},
"pclose": {
"descr": "Closes a file pointer to a pipe opened by popen().",
"name": "pclose",
"params": [
{
"descr": "The file pointer must be valid, and must have been returned by a successful call to popen().",
"name": "handle"
}
],
"path": "php/function.pclose",
"syntax": "int pclose ( resource $handle )",
"type": "File System"
},
"pfsockopen": {
"descr": "This function behaves exactly as fsockopen() with the difference that the connection is not closed after the script finishes. It is the persistent version of fsockopen().",
"name": "pfsockopen",
"params": [],
"path": "php/function.pfsockopen",
"syntax": "resource pfsockopen ( string $hostname [, int $port = -1 [, int &$errno [, string &$errstr [, float $timeout = ini_get(\"default_socket_timeout\") ]]]] )",
"type": "Networking"
},
"pg_affected_rows": {
"descr": "pg_affected_rows() returns the number of tuples (instances/records/rows) affected by INSERT, UPDATE, and DELETE queries.",
"name": "pg_affected_rows",
"params": [
{
"descr": "PostgreSQL query result resource, returned by pg_query(), pg_query_params() or pg_execute() (among others).",
"name": "result"
}
],
"path": "php/function.pg-affected-rows",
"syntax": "int pg_affected_rows ( resource $result )",
"type": "Database/PostgreSQL"
},
"pg_cancel_query": {
"descr": "pg_cancel_query() cancels an asynchronous query sent with pg_send_query(), pg_send_query_params() or pg_send_execute(). You cannot cancel a query executed using pg_query().",
"name": "pg_cancel_query",
"params": [
{
"descr": "PostgreSQL database connection resource.",
"name": "connection"
}
],
"path": "php/function.pg-cancel-query",
"syntax": "bool pg_cancel_query ( resource $connection )",
"type": "Database/PostgreSQL"
},
"pg_client_encoding": {
"descr": "PostgreSQL supports automatic character set conversion between server and client for certain character sets. pg_client_encoding() returns the client encoding as a string. The returned string will be one of the standard PostgreSQL encoding identifiers.",
"name": "pg_client_encoding",
"params": [
{
"descr": "PostgreSQL database connection resource. ",
"name": "connection"
}
],
"path": "php/function.pg-client-encoding",
"syntax": "string pg_client_encoding ([ resource $connection ] )",
"type": "Database/PostgreSQL"
},
"pg_close": {
"descr": "pg_close() closes the non-persistent connection to a PostgreSQL database associated with the given connection resource.",
"name": "pg_close",
"params": [
{
"descr": "PostgreSQL database connection resource. ",
"name": "connection"
}
],
"path": "php/function.pg-close",
"syntax": "bool pg_close ([ resource $connection ] )",
"type": "Database/PostgreSQL"
},
"pg_connect": {
"descr": "pg_connect() opens a connection to a PostgreSQL database specified by the connection_string.",
"name": "pg_connect",
"params": [
{
"descr": "The connection_string can be empty to use all default parameters, or it can contain one or more parameter settings separated by whitespace. ",
"name": "connection_string"
},
{
"descr": "If PGSQL_CONNECT_FORCE_NEW is passed, then a new connection is created, even if the connection_string is identical to an existing connection.",
"name": "connect_type"
}
],
"path": "php/function.pg-connect",
"syntax": "resource pg_connect ( string $connection_string [, int $connect_type ] )",
"type": "Database/PostgreSQL"
},
"pg_connection_busy": {
"descr": "pg_connection_busy() determines whether or not a connection is busy. If it is busy, a previous query is still executing. If pg_get_result() is used on the connection, it will be blocked.",
"name": "pg_connection_busy",
"params": [
{
"descr": "PostgreSQL database connection resource.",
"name": "connection"
}
],
"path": "php/function.pg-connection-busy",
"syntax": "bool pg_connection_busy ( resource $connection )",
"type": "Database/PostgreSQL"
},
"pg_connection_reset": {
"descr": "pg_connection_reset() resets the connection. It is useful for error recovery.",
"name": "pg_connection_reset",
"params": [
{
"descr": "PostgreSQL database connection resource.",
"name": "connection"
}
],
"path": "php/function.pg-connection-reset",
"syntax": "bool pg_connection_reset ( resource $connection )",
"type": "Database/PostgreSQL"
},
"pg_connection_status": {
"descr": "pg_connection_status() returns the status of the specified connection.",
"name": "pg_connection_status",
"params": [
{
"descr": "PostgreSQL database connection resource.",
"name": "connection"
}
],
"path": "php/function.pg-connection-status",
"syntax": "int pg_connection_status ( resource $connection )",
"type": "Database/PostgreSQL"
},
"pg_convert": {
"descr": "pg_convert() checks and converts the values in assoc_array into suitable values for use in an SQL statement. Precondition for pg_convert() is the existence of a table table_name which has at least as many columns as assoc_array has elements. The fieldnames in table_name must match the indices in assoc_array and the corresponding datatypes must be compatible. Returns an array with the converted values on success, FALSE otherwise.",
"name": "pg_convert",
"params": [
{
"descr": "PostgreSQL database connection resource.",
"name": "connection"
},
{
"descr": "Name of the table against which to convert types.",
"name": "table_name"
},
{
"descr": "Data to be converted.",
"name": "assoc_array"
},
{
"descr": "Any number of PGSQL_CONV_IGNORE_DEFAULT, PGSQL_CONV_FORCE_NULL or PGSQL_CONV_IGNORE_NOT_NULL, combined.",
"name": "options"
}
],
"path": "php/function.pg-convert",
"syntax": "array pg_convert ( resource $connection , string $table_name , array $assoc_array [, int $options = 0 ] )",
"type": "Database/PostgreSQL"
},
"pg_copy_from": {
"descr": "pg_copy_from() inserts records into a table from rows. It issues a COPY FROM SQL command internally to insert records.",
"name": "pg_copy_from",
"params": [
{
"descr": "PostgreSQL database connection resource.",
"name": "connection"
},
{
"descr": "Name of the table into which to copy the rows.",
"name": "table_name"
},
{
"descr": "An array of data to be copied into table_name. ",
"name": "rows"
},
{
"descr": "The token that separates values for each field in each element of rows. ",
"name": "delimiter"
},
{
"descr": "How SQL NULL values are represented in the rows. ",
"name": "null_as"
}
],
"path": "php/function.pg-copy-from",
"syntax": "bool pg_copy_from ( resource $connection , string $table_name , array $rows [, string $delimiter [, string $null_as ]] )",
"type": "Database/PostgreSQL"
},
"pg_copy_to": {
"descr": "pg_copy_to() copies a table to an array. It issues COPY TO SQL command internally to retrieve records.",
"name": "pg_copy_to",
"params": [
{
"descr": "PostgreSQL database connection resource.",
"name": "connection"
},
{
"descr": "Name of the table from which to copy the data into rows.",
"name": "table_name"
},
{
"descr": "The token that separates values for each field in each element of rows. ",
"name": "delimiter"
},
{
"descr": "How SQL NULL values are represented in the rows. ",
"name": "null_as"
}
],
"path": "php/function.pg-copy-to",
"syntax": "array pg_copy_to ( resource $connection , string $table_name [, string $delimiter [, string $null_as ]] )",
"type": "Database/PostgreSQL"
},
"pg_dbname": {
"descr": "pg_dbname() returns the name of the database that the given PostgreSQL connection resource.",
"name": "pg_dbname",
"params": [
{
"descr": "PostgreSQL database connection resource. ",
"name": "connection"
}
],
"path": "php/function.pg-dbname",
"syntax": "string pg_dbname ([ resource $connection ] )",
"type": "Database/PostgreSQL"
},
"pg_delete": {
"descr": "pg_delete() deletes records from a table specified by the keys and values in assoc_array. If options is specified, pg_convert() is applied to assoc_array with the specified options.",
"name": "pg_delete",
"params": [
{
"descr": "PostgreSQL database connection resource.",
"name": "connection"
},
{
"descr": "Name of the table from which to delete rows.",
"name": "table_name"
},
{
"descr": "An array whose keys are field names in the table table_name, and whose values are the values of those fields that are to be deleted.",
"name": "assoc_array"
},
{
"descr": "Any number of PGSQL_CONV_FORCE_NULL, PGSQL_DML_NO_CONV, PGSQL_DML_EXEC or PGSQL_DML_STRING combined. ",
"name": "options"
}
],
"path": "php/function.pg-delete",
"syntax": "mixed pg_delete ( resource $connection , string $table_name , array $assoc_array [, int $options = PGSQL_DML_EXEC ] )",
"type": "Database/PostgreSQL"
},
"pg_end_copy": {
"descr": "pg_end_copy() syncs the PostgreSQL frontend (usually a web server process) with the PostgreSQL server after doing a copy operation performed by pg_put_line(). pg_end_copy() must be issued, otherwise the PostgreSQL server may get out of sync with the frontend and will report an error.",
"name": "pg_end_copy",
"params": [
{
"descr": "PostgreSQL database connection resource. ",
"name": "connection"
}
],
"path": "php/function.pg-end-copy",
"syntax": "bool pg_end_copy ([ resource $connection ] )",
"type": "Database/PostgreSQL"
},
"pg_escape_bytea": {
"descr": "pg_escape_bytea() escapes string for bytea datatype. It returns escaped string.",
"name": "pg_escape_bytea",
"params": [
{
"descr": "PostgreSQL database connection resource. ",
"name": "connection"
},
{
"descr": "A string containing text or binary data to be inserted into a bytea column.",
"name": "data"
}
],
"path": "php/function.pg-escape-bytea",
"syntax": "string pg_escape_bytea ([ resource $connection ], string $data )",
"type": "Database/PostgreSQL"
},
"pg_escape_identifier": {
"descr": "pg_escape_identifier() escapes a identifier (e.g. table, field names) for quering the database. It returns an escaped identifier string for PostgreSQL server. pg_escape_identifier() adds double quotes before and after data. Users should not add double quotes. Use of this function is recommended for identifier parameters in query. For SQL literals (i.e. parameters except bytea), pg_escape_literal() or pg_escape_string() muse be used. For bytea type fields, pg_escape_bytea() must be used instead.",
"name": "pg_escape_identifier",
"params": [
{
"descr": "PostgreSQL database connection resource. ",
"name": "connection"
},
{
"descr": "A string containing text to be escaped.",
"name": "data"
}
],
"path": "php/function.pg-escape-identifier",
"syntax": "string pg_escape_identifier ([ resource $connection ], string $data )",
"type": "Database/PostgreSQL"
},
"pg_escape_literal": {
"descr": "pg_escape_literal() escapes a literal for querying the PostgreSQL database. It returns an escaped literal in the PostgreSQL format. pg_escape_literal() adds quotes before and after data. Users should not add quotes. Use of this function is recommended instead of pg_escape_string(). If the type of the column is bytea, pg_escape_bytea() must be used instead. For escaping identifiers (e.g. table, field names), pg_escape_identifier() must be used.",
"name": "pg_escape_literal",
"params": [
{
"descr": "PostgreSQL database connection resource. ",
"name": "connection"
},
{
"descr": "A string containing text to be escaped.",
"name": "data"
}
],
"path": "php/function.pg-escape-literal",
"syntax": "string pg_escape_literal ([ resource $connection ], string $data )",
"type": "Database/PostgreSQL"
},
"pg_escape_string": {
"descr": "pg_escape_string() escapes a string for querying the database. It returns an escaped string in the PostgreSQL format without quotes. pg_escape_literal() is more preferred way to escape SQL parameters for PostgreSQL. addslashes() must not be used with PostgreSQL. If the type of the column is bytea, pg_escape_bytea() must be used instead. pg_escape_identifier() must be used to escape identifiers (e.g. table names, field names)",
"name": "pg_escape_string",
"params": [
{
"descr": "PostgreSQL database connection resource. ",
"name": "connection"
},
{
"descr": "A string containing text to be escaped.",
"name": "data"
}
],
"path": "php/function.pg-escape-string",
"syntax": "string pg_escape_string ([ resource $connection ], string $data )",
"type": "Database/PostgreSQL"
},
"pg_execute": {
"descr": "Sends a request to execute a prepared statement with given parameters, and waits for the result.",
"name": "pg_execute",
"params": [
{
"descr": "PostgreSQL database connection resource. ",
"name": "connection"
},
{
"descr": "The name of the prepared statement to execute. ",
"name": "stmtname"
},
{
"descr": "An array of parameter values to substitute for the $1, $2, etc. ",
"name": "params"
}
],
"path": "php/function.pg-execute",
"syntax": "resource pg_execute ([ resource $connection ], string $stmtname , array $params )",
"type": "Database/PostgreSQL"
},
"pg_fetch_all": {
"descr": "pg_fetch_all() returns an array that contains all rows (records) in the result resource.",
"name": "pg_fetch_all",
"params": [
{
"descr": "PostgreSQL query result resource, returned by pg_query(), pg_query_params() or pg_execute() (among others).",
"name": "result"
}
],
"path": "php/function.pg-fetch-all",
"syntax": "array pg_fetch_all ( resource $result )",
"type": "Database/PostgreSQL"
},
"pg_fetch_all_columns": {
"descr": "pg_fetch_all_columns() returns an array that contains all rows (records) in a particular column of the result resource.",
"name": "pg_fetch_all_columns",
"params": [
{
"descr": "PostgreSQL query result resource, returned by pg_query(), pg_query_params() or pg_execute() (among others).",
"name": "result"
},
{
"descr": "Column number, zero-based, to be retrieved from the result resource. ",
"name": "column"
}
],
"path": "php/function.pg-fetch-all-columns",
"syntax": "array pg_fetch_all_columns ( resource $result [, int $column = 0 ] )",
"type": "Database/PostgreSQL"
},
"pg_fetch_array": {
"descr": "pg_fetch_array() returns an array that corresponds to the fetched row (record).",
"name": "pg_fetch_array",
"params": [
{
"descr": "PostgreSQL query result resource, returned by pg_query(), pg_query_params() or pg_execute() (among others).",
"name": "result"
},
{
"descr": "Row number in result to fetch. Rows are numbered from 0 upwards. ",
"name": "row"
},
{
"descr": "An optional parameter that controls how the returned array is indexed. ",
"name": "result_type"
}
],
"path": "php/function.pg-fetch-array",
"syntax": "array pg_fetch_array ( resource $result [, int $row [, int $result_type = PGSQL_BOTH ]] )",
"type": "Database/PostgreSQL"
},
"pg_fetch_assoc": {
"descr": "pg_fetch_assoc() returns an associative array that corresponds to the fetched row (records).",
"name": "pg_fetch_assoc",
"params": [
{
"descr": "PostgreSQL query result resource, returned by pg_query(), pg_query_params() or pg_execute() (among others).",
"name": "result"
},
{
"descr": "Row number in result to fetch. Rows are numbered from 0 upwards. ",
"name": "row"
}
],
"path": "php/function.pg-fetch-assoc",
"syntax": "array pg_fetch_assoc ( resource $result [, int $row ] )",
"type": "Database/PostgreSQL"
},
"pg_fetch_object": {
"descr": "pg_fetch_object() returns an object with properties that correspond to the fetched row's field names. It can optionally instantiate an object of a specific class, and pass parameters to that class's constructor.",
"name": "pg_fetch_object",
"params": [
{
"descr": "PostgreSQL query result resource, returned by pg_query(), pg_query_params() or pg_execute() (among others).",
"name": "result"
},
{
"descr": "Row number in result to fetch. Rows are numbered from 0 upwards. ",
"name": "row"
},
{
"descr": "Ignored and deprecated.",
"name": "result_type"
},
{
"descr": "The name of the class to instantiate, set the properties of and return. ",
"name": "class_name"
},
{
"descr": "An optional array of parameters to pass to the constructor for class_name objects.",
"name": "params"
}
],
"path": "php/function.pg-fetch-object",
"syntax": "object pg_fetch_object ( resource $result [, int $row [, int $result_type = PGSQL_ASSOC ]] )",
"type": "Database/PostgreSQL"
},
"pg_fetch_result": {
"descr": "pg_fetch_result() returns the value of a particular row and field (column) in a PostgreSQL result resource.",
"name": "pg_fetch_result",
"params": [
{
"descr": "PostgreSQL query result resource, returned by pg_query(), pg_query_params() or pg_execute() (among others).",
"name": "result"
},
{
"descr": "Row number in result to fetch. Rows are numbered from 0 upwards. ",
"name": "row"
},
{
"descr": "A string representing the name of the field (column) to fetch, otherwise an int representing the field number to fetch. ",
"name": "field"
}
],
"path": "php/function.pg-fetch-result",
"syntax": "string pg_fetch_result ( resource $result , int $row , mixed $field )",
"type": "Database/PostgreSQL"
},
"pg_fetch_row": {
"descr": "pg_fetch_row() fetches one row of data from the result associated with the specified result resource.",
"name": "pg_fetch_row",
"params": [
{
"descr": "PostgreSQL query result resource, returned by pg_query(), pg_query_params() or pg_execute() (among others).",
"name": "result"
},
{
"descr": "Row number in result to fetch. Rows are numbered from 0 upwards. ",
"name": "row"
}
],
"path": "php/function.pg-fetch-row",
"syntax": "array pg_fetch_row ( resource $result [, int $row ] )",
"type": "Database/PostgreSQL"
},
"pg_field_is_null": {
"descr": "pg_field_is_null() tests if a field in a PostgreSQL result resource is SQL NULL or not.",
"name": "pg_field_is_null",
"params": [
{
"descr": "PostgreSQL query result resource, returned by pg_query(), pg_query_params() or pg_execute() (among others).",
"name": "result"
},
{
"descr": "Row number in result to fetch. Rows are numbered from 0 upwards. ",
"name": "row"
},
{
"descr": "Field number (starting from 0) as an integer or the field name as a string.",
"name": "field"
}
],
"path": "php/function.pg-field-is-null",
"syntax": "int pg_field_is_null ( resource $result , int $row , mixed $field )",
"type": "Database/PostgreSQL"
},
"pg_field_name": {
"descr": "pg_field_name() returns the name of the field occupying the given field_number in the given PostgreSQL result resource. Field numbering starts from 0.",
"name": "pg_field_name",
"params": [
{
"descr": "PostgreSQL query result resource, returned by pg_query(), pg_query_params() or pg_execute() (among others).",
"name": "result"
},
{
"descr": "Field number, starting from 0.",
"name": "field_number"
}
],
"path": "php/function.pg-field-name",
"syntax": "string pg_field_name ( resource $result , int $field_number )",
"type": "Database/PostgreSQL"
},
"pg_field_num": {
"descr": "pg_field_num() will return the number of the field number that corresponds to the field_name in the given PostgreSQL result resource.",
"name": "pg_field_num",
"params": [
{
"descr": "PostgreSQL query result resource, returned by pg_query(), pg_query_params() or pg_execute() (among others).",
"name": "result"
},
{
"descr": "The name of the field.",
"name": "field_name"
}
],
"path": "php/function.pg-field-num",
"syntax": "int pg_field_num ( resource $result , string $field_name )",
"type": "Database/PostgreSQL"
},
"pg_field_prtlen": {
"descr": "pg_field_prtlen() returns the actual printed length (number of characters) of a specific value in a PostgreSQL result. Row numbering starts at 0. This function will return FALSE on an error.",
"name": "pg_field_prtlen",
"params": [
{
"descr": "PostgreSQL query result resource, returned by pg_query(), pg_query_params() or pg_execute() (among others).",
"name": "result"
},
{
"descr": "Row number in result. Rows are numbered from 0 upwards. ",
"name": "row"
}
],
"path": "php/function.pg-field-prtlen",
"syntax": "int pg_field_prtlen ( resource $result , int $row_number , mixed $field_name_or_number )",
"type": "Database/PostgreSQL"
},
"pg_field_size": {
"descr": "pg_field_size() returns the internal storage size (in bytes) of the field number in the given PostgreSQL result.",
"name": "pg_field_size",
"params": [
{
"descr": "PostgreSQL query result resource, returned by pg_query(), pg_query_params() or pg_execute() (among others).",
"name": "result"
},
{
"descr": "Field number, starting from 0.",
"name": "field_number"
}
],
"path": "php/function.pg-field-size",
"syntax": "int pg_field_size ( resource $result , int $field_number )",
"type": "Database/PostgreSQL"
},
"pg_field_table": {
"descr": "pg_field_table() returns the name of the table that field belongs to, or the table's oid if oid_only is TRUE.",
"name": "pg_field_table",
"params": [
{
"descr": "PostgreSQL query result resource, returned by pg_query(), pg_query_params() or pg_execute() (among others).",
"name": "result"
},
{
"descr": "Field number, starting from 0.",
"name": "field_number"
},
{
"descr": "By default the tables name that field belongs to is returned but if oid_only is set to TRUE, then the oid will instead be returned.",
"name": "oid_only"
}
],
"path": "php/function.pg-field-table",
"syntax": "mixed pg_field_table ( resource $result , int $field_number [, bool $oid_only = false ] )",
"type": "Database/PostgreSQL"
},
"pg_field_type": {
"descr": "pg_field_type() returns a string containing the base type name of the given field_number in the given PostgreSQL result resource.",
"name": "pg_field_type",
"params": [
{
"descr": "PostgreSQL query result resource, returned by pg_query(), pg_query_params() or pg_execute() (among others).",
"name": "result"
},
{
"descr": "Field number, starting from 0.",
"name": "field_number"
}
],
"path": "php/function.pg-field-type",
"syntax": "string pg_field_type ( resource $result , int $field_number )",
"type": "Database/PostgreSQL"
},
"pg_field_type_oid": {
"descr": "pg_field_type_oid() returns an integer containing the OID of the base type of the given field_number in the given PostgreSQL result resource.",
"name": "pg_field_type_oid",
"params": [
{
"descr": "PostgreSQL query result resource, returned by pg_query(), pg_query_params() or pg_execute() (among others).",
"name": "result"
},
{
"descr": "Field number, starting from 0.",
"name": "field_number"
}
],
"path": "php/function.pg-field-type-oid",
"syntax": "int pg_field_type_oid ( resource $result , int $field_number )",
"type": "Database/PostgreSQL"
},
"pg_free_result": {
"descr": "pg_free_result() frees the memory and data associated with the specified PostgreSQL query result resource.",
"name": "pg_free_result",
"params": [
{
"descr": "PostgreSQL query result resource, returned by pg_query(), pg_query_params() or pg_execute() (among others).",
"name": "result"
}
],
"path": "php/function.pg-free-result",
"syntax": "bool pg_free_result ( resource $result )",
"type": "Database/PostgreSQL"
},
"pg_get_notify": {
"descr": "pg_get_notify() gets notifications generated by a NOTIFY SQL command. To receive notifications, the LISTEN SQL command must be issued.",
"name": "pg_get_notify",
"params": [
{
"descr": "PostgreSQL database connection resource.",
"name": "connection"
},
{
"descr": "An optional parameter that controls how the returned array is indexed. ",
"name": "result_type"
}
],
"path": "php/function.pg-get-notify",
"syntax": "array pg_get_notify ( resource $connection [, int $result_type ] )",
"type": "Database/PostgreSQL"
},
"pg_get_pid": {
"descr": "pg_get_pid() gets the backend's (database server process) PID. The PID is useful to determine whether or not a NOTIFY message received via pg_get_notify() is sent from another process or not.",
"name": "pg_get_pid",
"params": [
{
"descr": "PostgreSQL database connection resource.",
"name": "connection"
}
],
"path": "php/function.pg-get-pid",
"syntax": "int pg_get_pid ( resource $connection )",
"type": "Database/PostgreSQL"
},
"pg_get_result": {
"descr": "pg_get_result() gets the result resource from an asynchronous query executed by pg_send_query(), pg_send_query_params() or pg_send_execute().",
"name": "pg_get_result",
"params": [
{
"descr": "PostgreSQL database connection resource.",
"name": "connection"
}
],
"path": "php/function.pg-get-result",
"syntax": "resource pg_get_result ([ resource $connection ] )",
"type": "Database/PostgreSQL"
},
"pg_host": {
"descr": "pg_host() returns the host name of the given PostgreSQL connection resource is connected to.",
"name": "pg_host",
"params": [
{
"descr": "PostgreSQL database connection resource. ",
"name": "connection"
}
],
"path": "php/function.pg-host",
"syntax": "string pg_host ([ resource $connection ] )",
"type": "Database/PostgreSQL"
},
"pg_insert": {
"descr": "pg_insert() inserts the values of assoc_array into the table specified by table_name. If options is specified, pg_convert() is applied to assoc_array with the specified options.",
"name": "pg_insert",
"params": [
{
"descr": "PostgreSQL database connection resource.",
"name": "connection"
},
{
"descr": "Name of the table into which to insert rows. ",
"name": "table_name"
},
{
"descr": "An array whose keys are field names in the table table_name, and whose values are the values of those fields that are to be inserted.",
"name": "assoc_array"
},
{
"descr": "Any number of PGSQL_CONV_OPTS, PGSQL_DML_NO_CONV, PGSQL_DML_EXEC, PGSQL_DML_ASYNC or PGSQL_DML_STRING combined. ",
"name": "options"
}
],
"path": "php/function.pg-insert",
"syntax": "mixed pg_insert ( resource $connection , string $table_name , array $assoc_array [, int $options = PGSQL_DML_EXEC ] )",
"type": "Database/PostgreSQL"
},
"pg_last_error": {
"descr": "pg_last_error() returns the last error message for a given connection.",
"name": "pg_last_error",
"params": [
{
"descr": "PostgreSQL database connection resource. ",
"name": "connection"
}
],
"path": "php/function.pg-last-error",
"syntax": "string pg_last_error ([ resource $connection ] )",
"type": "Database/PostgreSQL"
},
"pg_last_notice": {
"descr": "pg_last_notice() returns the last notice message from the PostgreSQL server on the specified connection. The PostgreSQL server sends notice messages in several cases, for instance when creating a SERIAL column in a table.",
"name": "pg_last_notice",
"params": [
{
"descr": "PostgreSQL database connection resource.",
"name": "connection"
}
],
"path": "php/function.pg-last-notice",
"syntax": "string pg_last_notice ( resource $connection )",
"type": "Database/PostgreSQL"
},
"pg_last_oid": {
"descr": "pg_last_oid() is used to retrieve the OID assigned to an inserted row.",
"name": "pg_last_oid",
"params": [
{
"descr": "PostgreSQL query result resource, returned by pg_query(), pg_query_params() or pg_execute() (among others).",
"name": "result"
}
],
"path": "php/function.pg-last-oid",
"syntax": "string pg_last_oid ( resource $result )",
"type": "Database/PostgreSQL"
},
"pg_lo_close": {
"descr": "pg_lo_close() closes a large object. large_object is a resource for the large object from pg_lo_open().",
"name": "pg_lo_close",
"params": [
{
"descr": "PostgreSQL large object (LOB) resource, returned by pg_lo_open().",
"name": "result"
}
],
"path": "php/function.pg-lo-close",
"syntax": "bool pg_lo_close ( resource $large_object )",
"type": "Database/PostgreSQL"
},
"pg_lo_create": {
"descr": "pg_lo_create() creates a large object and returns the OID of the large object. PostgreSQL access modes INV_READ, INV_WRITE, and INV_ARCHIVE are not supported, the object is created always with both read and write access. INV_ARCHIVE has been removed from PostgreSQL itself (version 6.3 and above).",
"name": "pg_lo_create",
"params": [
{
"descr": "PostgreSQL database connection resource. ",
"name": "connection"
},
{
"descr": "If an object_id is given the function will try to create a large object with this id, else a free object id is assigned by the server. ",
"name": "object_id"
}
],
"path": "php/function.pg-lo-create",
"syntax": "int pg_lo_create ([ resource $connection [, mixed $object_id ]] )",
"type": "Database/PostgreSQL"
},
"pg_lo_export": {
"descr": "pg_lo_export() takes a large object in a PostgreSQL database and saves its contents to a file on the local filesystem.",
"name": "pg_lo_export",
"params": [
{
"descr": "PostgreSQL database connection resource. ",
"name": "connection"
},
{
"descr": "The OID of the large object in the database.",
"name": "oid"
},
{
"descr": "The full path and file name of the file in which to write the large object on the client filesystem.",
"name": "pathname"
}
],
"path": "php/function.pg-lo-export",
"syntax": "bool pg_lo_export ([ resource $connection ], int $oid , string $pathname )",
"type": "Database/PostgreSQL"
},
"pg_lo_import": {
"descr": "pg_lo_import() creates a new large object in the database using a file on the filesystem as its data source.",
"name": "pg_lo_import",
"params": [
{
"descr": "PostgreSQL database connection resource. ",
"name": "connection"
},
{
"descr": "The full path and file name of the file on the client filesystem from which to read the large object data.",
"name": "pathname"
},
{
"descr": "If an object_id is given the function will try to create a large object with this id, else a free object id is assigned by the server. ",
"name": "object_id"
}
],
"path": "php/function.pg-lo-import",
"syntax": "int pg_lo_import ([ resource $connection ], string $pathname [, mixed $object_id ] )",
"type": "Database/PostgreSQL"
},
"pg_lo_open": {
"descr": "pg_lo_open() opens a large object in the database and returns large object resource so that it can be manipulated.",
"name": "pg_lo_open",
"params": [
{
"descr": "PostgreSQL database connection resource. ",
"name": "connection"
},
{
"descr": "The OID of the large object in the database.",
"name": "oid"
},
{
"descr": "Can be either \"r\" for read-only, \"w\" for write only or \"rw\" for read and write.",
"name": "mode"
}
],
"path": "php/function.pg-lo-open",
"syntax": "resource pg_lo_open ( resource $connection , int $oid , string $mode )",
"type": "Database/PostgreSQL"
},
"pg_lo_read": {
"descr": "pg_lo_read() reads at most len bytes from a large object and returns it as a string.",
"name": "pg_lo_read",
"params": [
{
"descr": "PostgreSQL large object (LOB) resource, returned by pg_lo_open().",
"name": "large_object"
},
{
"descr": "An optional maximum number of bytes to return.",
"name": "len"
}
],
"path": "php/function.pg-lo-read",
"syntax": "string pg_lo_read ( resource $large_object [, int $len = 8192 ] )",
"type": "Database/PostgreSQL"
},
"pg_lo_read_all": {
"descr": "pg_lo_read_all() reads a large object and passes it straight through to the browser after sending all pending headers. Mainly intended for sending binary data like images or sound.",
"name": "pg_lo_read_all",
"params": [
{
"descr": "PostgreSQL large object (LOB) resource, returned by pg_lo_open().",
"name": "large_object"
}
],
"path": "php/function.pg-lo-read-all",
"syntax": "int pg_lo_read_all ( resource $large_object )",
"type": "Database/PostgreSQL"
},
"pg_lo_seek": {
"descr": "pg_lo_seek() seeks a position within a large object resource.",
"name": "pg_lo_seek",
"params": [
{
"descr": "PostgreSQL large object (LOB) resource, returned by pg_lo_open().",
"name": "large_object"
},
{
"descr": "The number of bytes to seek.",
"name": "offset"
},
{
"descr": "One of the constants PGSQL_SEEK_SET (seek from object start), PGSQL_SEEK_CUR (seek from current position) or PGSQL_SEEK_END (seek from object end) .",
"name": "whence"
}
],
"path": "php/function.pg-lo-seek",
"syntax": "bool pg_lo_seek ( resource $large_object , int $offset [, int $whence = PGSQL_SEEK_CUR ] )",
"type": "Database/PostgreSQL"
},
"pg_lo_tell": {
"descr": "pg_lo_tell() returns the current position (offset from the beginning) of a large object.",
"name": "pg_lo_tell",
"params": [
{
"descr": "PostgreSQL large object (LOB) resource, returned by pg_lo_open().",
"name": "large_object"
}
],
"path": "php/function.pg-lo-tell",
"syntax": "int pg_lo_tell ( resource $large_object )",
"type": "Database/PostgreSQL"
},
"pg_lo_truncate": {
"descr": "pg_lo_truncate() truncates a a large object resource.",
"name": "pg_lo_truncate",
"params": [
{
"descr": "PostgreSQL large object (LOB) resource, returned by pg_lo_open().",
"name": "large_object"
},
{
"descr": "The number of bytes to truncate.",
"name": "size"
}
],
"path": "php/function.pg-lo-truncate",
"syntax": "bool pg_lo_truncate ( resource $large_object , int $size )",
"type": "Database/PostgreSQL"
},
"pg_lo_unlink": {
"descr": "pg_lo_unlink() deletes a large object with the oid. Returns TRUE on success or FALSE on failure.",
"name": "pg_lo_unlink",
"params": [
{
"descr": "PostgreSQL database connection resource. ",
"name": "connection"
},
{
"descr": "The OID of the large object in the database.",
"name": "oid"
}
],
"path": "php/function.pg-lo-unlink",
"syntax": "bool pg_lo_unlink ( resource $connection , int $oid )",
"type": "Database/PostgreSQL"
},
"pg_lo_write": {
"descr": "pg_lo_write() writes data into a large object at the current seek position.",
"name": "pg_lo_write",
"params": [
{
"descr": "PostgreSQL large object (LOB) resource, returned by pg_lo_open().",
"name": "large_object"
},
{
"descr": "The data to be written to the large object. ",
"name": "data"
},
{
"descr": "An optional maximum number of bytes to write. ",
"name": "len"
}
],
"path": "php/function.pg-lo-write",
"syntax": "int pg_lo_write ( resource $large_object , string $data [, int $len ] )",
"type": "Database/PostgreSQL"
},
"pg_meta_data": {
"descr": "pg_meta_data() returns table definition for table_name as an array.",
"name": "pg_meta_data",
"params": [
{
"descr": "PostgreSQL database connection resource.",
"name": "connection"
},
{
"descr": "The name of the table.",
"name": "table_name"
}
],
"path": "php/function.pg-meta-data",
"syntax": "array pg_meta_data ( resource $connection , string $table_name )",
"type": "Database/PostgreSQL"
},
"pg_num_fields": {
"descr": "pg_num_fields() returns the number of fields (columns) in a PostgreSQL result resource.",
"name": "pg_num_fields",
"params": [
{
"descr": "PostgreSQL query result resource, returned by pg_query(), pg_query_params() or pg_execute() (among others).",
"name": "result"
}
],
"path": "php/function.pg-num-fields",
"syntax": "int pg_num_fields ( resource $result )",
"type": "Database/PostgreSQL"
},
"pg_num_rows": {
"descr": "pg_num_rows() will return the number of rows in a PostgreSQL result resource.",
"name": "pg_num_rows",
"params": [
{
"descr": "PostgreSQL query result resource, returned by pg_query(), pg_query_params() or pg_execute() (among others).",
"name": "result"
}
],
"path": "php/function.pg-num-rows",
"syntax": "int pg_num_rows ( resource $result )",
"type": "Database/PostgreSQL"
},
"pg_options": {
"descr": "pg_options() will return a string containing the options specified on the given PostgreSQL connection resource.",
"name": "pg_options",
"params": [
{
"descr": "PostgreSQL database connection resource. ",
"name": "connection"
}
],
"path": "php/function.pg-options",
"syntax": "string pg_options ([ resource $connection ] )",
"type": "Database/PostgreSQL"
},
"pg_parameter_status": {
"descr": "Looks up a current parameter setting of the server.",
"name": "pg_parameter_status",
"params": [
{
"descr": "PostgreSQL database connection resource. ",
"name": "connection"
},
{
"descr": "Possible param_name values include server_version, server_encoding, client_encoding, is_superuser, session_authorization, DateStyle, TimeZone, and integer_datetimes.",
"name": "param_name"
}
],
"path": "php/function.pg-parameter-status",
"syntax": "string pg_parameter_status ([ resource $connection ], string $param_name )",
"type": "Database/PostgreSQL"
},
"pg_pconnect": {
"descr": "pg_pconnect() opens a connection to a PostgreSQL database. It returns a connection resource that is needed by other PostgreSQL functions.",
"name": "pg_pconnect",
"params": [
{
"descr": "The connection_string can be empty to use all default parameters, or it can contain one or more parameter settings separated by whitespace. ",
"name": "connection_string"
},
{
"descr": "If PGSQL_CONNECT_FORCE_NEW is passed, then a new connection is created, even if the connection_string is identical to an existing connection.",
"name": "connect_type"
}
],
"path": "php/function.pg-pconnect",
"syntax": "resource pg_pconnect ( string $connection_string [, int $connect_type ] )",
"type": "Database/PostgreSQL"
},
"pg_ping": {
"descr": "pg_ping() pings a database connection and tries to reconnect it if it is broken.",
"name": "pg_ping",
"params": [
{
"descr": "PostgreSQL database connection resource. ",
"name": "connection"
}
],
"path": "php/function.pg-ping",
"syntax": "bool pg_ping ([ resource $connection ] )",
"type": "Database/PostgreSQL"
},
"pg_port": {
"descr": "pg_port() returns the port number that the given PostgreSQL connection resource is connected to.",
"name": "pg_port",
"params": [
{
"descr": "PostgreSQL database connection resource. ",
"name": "connection"
}
],
"path": "php/function.pg-port",
"syntax": "int pg_port ([ resource $connection ] )",
"type": "Database/PostgreSQL"
},
"pg_prepare": {
"descr": "pg_prepare() creates a prepared statement for later execution with pg_execute() or pg_send_execute(). This feature allows commands that will be used repeatedly to be parsed and planned just once, rather than each time they are executed. pg_prepare() is supported only against PostgreSQL 7.4 or higher connections; it will fail when using earlier versions.",
"name": "pg_prepare",
"params": [
{
"descr": "PostgreSQL database connection resource. ",
"name": "connection"
},
{
"descr": "The name to give the prepared statement. ",
"name": "stmtname"
},
{
"descr": "The parameterized SQL statement. ",
"name": "query"
}
],
"path": "php/function.pg-prepare",
"syntax": "resource pg_prepare ([ resource $connection ], string $stmtname , string $query )",
"type": "Database/PostgreSQL"
},
"pg_put_line": {
"descr": "pg_put_line() sends a NULL-terminated string to the PostgreSQL backend server. This is needed in conjunction with PostgreSQL's COPY FROM command.",
"name": "pg_put_line",
"params": [
{
"descr": "PostgreSQL database connection resource. ",
"name": "connection"
},
{
"descr": "A line of text to be sent directly to the PostgreSQL backend. ",
"name": "data"
}
],
"path": "php/function.pg-put-line",
"syntax": "bool pg_put_line ([ resource $connection ], string $data )",
"type": "Database/PostgreSQL"
},
"pg_query": {
"descr": "pg_query() executes the query on the specified database connection. pg_query_params() should be preferred in most cases.",
"name": "pg_query",
"params": [
{
"descr": "PostgreSQL database connection resource. ",
"name": "connection"
},
{
"descr": "The SQL statement or statements to be executed. ",
"name": "query"
}
],
"path": "php/function.pg-query",
"syntax": "resource pg_query ([ resource $connection ], string $query )",
"type": "Database/PostgreSQL"
},
"pg_query_params": {
"descr": "Submits a command to the server and waits for the result, with the ability to pass parameters separately from the SQL command text.",
"name": "pg_query_params",
"params": [
{
"descr": "PostgreSQL database connection resource. ",
"name": "connection"
},
{
"descr": "The parameterized SQL statement. ",
"name": "query"
},
{
"descr": "An array of parameter values to substitute for the $1, $2, etc. ",
"name": "params"
}
],
"path": "php/function.pg-query-params",
"syntax": "resource pg_query_params ([ resource $connection ], string $query , array $params )",
"type": "Database/PostgreSQL"
},
"pg_result_error": {
"descr": "pg_result_error() returns any error message associated with the result resource. Therefore, the user has a better chance of getting the correct error message than with pg_last_error().",
"name": "pg_result_error",
"params": [
{
"descr": "PostgreSQL query result resource, returned by pg_query(), pg_query_params() or pg_execute() (among others).",
"name": "result"
}
],
"path": "php/function.pg-result-error",
"syntax": "string pg_result_error ( resource $result )",
"type": "Database/PostgreSQL"
},
"pg_result_error_field": {
"descr": "pg_result_error_field() returns one of the detailed error message fields associated with result resource. It is only available against a PostgreSQL 7.4 or above server. The error field is specified by the fieldcode.",
"name": "pg_result_error_field",
"params": [
{
"descr": "A PostgreSQL query result resource from a previously executed statement.",
"name": "result"
},
{
"descr": "Possible fieldcode values are: PGSQL_DIAG_SEVERITY, PGSQL_DIAG_SQLSTATE, PGSQL_DIAG_MESSAGE_PRIMARY, PGSQL_DIAG_MESSAGE_DETAIL, PGSQL_DIAG_MESSAGE_HINT, PGSQL_DIAG_STATEMENT_POSITION, PGSQL_DIAG_INTERNAL_POSITION (PostgreSQL 8.0+ only), PGSQL_DIAG_INTERNAL_QUERY (PostgreSQL 8.0+ only), PGSQL_DIAG_CONTEXT, PGSQL_DIAG_SOURCE_FILE, PGSQL_DIAG_SOURCE_LINE or PGSQL_DIAG_SOURCE_FUNCTION.",
"name": "fieldcode"
}
],
"path": "php/function.pg-result-error-field",
"syntax": "string pg_result_error_field ( resource $result , int $fieldcode )",
"type": "Database/PostgreSQL"
},
"pg_result_seek": {
"descr": "pg_result_seek() sets the internal row offset in a result resource.",
"name": "pg_result_seek",
"params": [
{
"descr": "PostgreSQL query result resource, returned by pg_query(), pg_query_params() or pg_execute() (among others).",
"name": "result"
},
{
"descr": "Row to move the internal offset to in the result resource. ",
"name": "offset"
}
],
"path": "php/function.pg-result-seek",
"syntax": "bool pg_result_seek ( resource $result , int $offset )",
"type": "Database/PostgreSQL"
},
"pg_result_status": {
"descr": "pg_result_status() returns the status of a result resource, or the PostgreSQL command completion tag associated with the result",
"name": "pg_result_status",
"params": [
{
"descr": "PostgreSQL query result resource, returned by pg_query(), pg_query_params() or pg_execute() (among others).",
"name": "result"
},
{
"descr": "Either PGSQL_STATUS_LONG to return the numeric status of the result, or PGSQL_STATUS_STRING to return the command tag of the result. ",
"name": "type"
}
],
"path": "php/function.pg-result-status",
"syntax": "mixed pg_result_status ( resource $result [, int $type = PGSQL_STATUS_LONG ] )",
"type": "Database/PostgreSQL"
},
"pg_select": {
"descr": "pg_select() selects records specified by assoc_array which has field=>value. For a successful query, it returns an array containing all records and fields that match the condition specified by assoc_array.",
"name": "pg_select",
"params": [
{
"descr": "PostgreSQL database connection resource.",
"name": "connection"
},
{
"descr": "Name of the table from which to select rows.",
"name": "table_name"
},
{
"descr": "An array whose keys are field names in the table table_name, and whose values are the conditions that a row must meet to be retrieved.",
"name": "assoc_array"
},
{
"descr": "Any number of PGSQL_CONV_FORCE_NULL, PGSQL_DML_NO_CONV, PGSQL_DML_EXEC, PGSQL_DML_ASYNC or PGSQL_DML_STRING combined. ",
"name": "options"
}
],
"path": "php/function.pg-select",
"syntax": "mixed pg_select ( resource $connection , string $table_name , array $assoc_array [, int $options = PGSQL_DML_EXEC ] )",
"type": "Database/PostgreSQL"
},
"pg_send_execute": {
"descr": "Sends a request to execute a prepared statement with given parameters, without waiting for the result(s).",
"name": "pg_send_execute",
"params": [
{
"descr": "PostgreSQL database connection resource. ",
"name": "connection"
},
{
"descr": "The name of the prepared statement to execute. ",
"name": "stmtname"
},
{
"descr": "An array of parameter values to substitute for the $1, $2, etc. ",
"name": "params"
}
],
"path": "php/function.pg-send-execute",
"syntax": "bool pg_send_execute ( resource $connection , string $stmtname , array $params )",
"type": "Database/PostgreSQL"
},
"pg_send_prepare": {
"descr": "Sends a request to create a prepared statement with the given parameters, without waiting for completion.",
"name": "pg_send_prepare",
"params": [
{
"descr": "PostgreSQL database connection resource. ",
"name": "connection"
},
{
"descr": "The name to give the prepared statement. ",
"name": "stmtname"
},
{
"descr": "The parameterized SQL statement. ",
"name": "query"
}
],
"path": "php/function.pg-send-prepare",
"syntax": "bool pg_send_prepare ( resource $connection , string $stmtname , string $query )",
"type": "Database/PostgreSQL"
},
"pg_send_query": {
"descr": "pg_send_query() sends a query or queries asynchronously to the connection. Unlike pg_query(), it can send multiple queries at once to PostgreSQL and get the results one by one using pg_get_result().",
"name": "pg_send_query",
"params": [
{
"descr": "PostgreSQL database connection resource.",
"name": "connection"
},
{
"descr": "The SQL statement or statements to be executed. ",
"name": "query"
}
],
"path": "php/function.pg-send-query",
"syntax": "bool pg_send_query ( resource $connection , string $query )",
"type": "Database/PostgreSQL"
},
"pg_send_query_params": {
"descr": "Submits a command and separate parameters to the server without waiting for the result(s).",
"name": "pg_send_query_params",
"params": [
{
"descr": "PostgreSQL database connection resource.",
"name": "connection"
},
{
"descr": "The parameterized SQL statement. ",
"name": "query"
},
{
"descr": "An array of parameter values to substitute for the $1, $2, etc. ",
"name": "params"
}
],
"path": "php/function.pg-send-query-params",
"syntax": "bool pg_send_query_params ( resource $connection , string $query , array $params )",
"type": "Database/PostgreSQL"
},
"pg_set_client_encoding": {
"descr": "pg_set_client_encoding() sets the client encoding and returns 0 if success or -1 if error.",
"name": "pg_set_client_encoding",
"params": [
{
"descr": "PostgreSQL database connection resource. ",
"name": "connection"
},
{
"descr": "The required client encoding. One of SQL_ASCII, EUC_JP, EUC_CN, EUC_KR, EUC_TW, UNICODE, MULE_INTERNAL, LATINX (X=1...9), KOI8, WIN, ALT, SJIS, BIG5 or WIN1250. ",
"name": "encoding"
}
],
"path": "php/function.pg-set-client-encoding",
"syntax": "int pg_set_client_encoding ([ resource $connection ], string $encoding )",
"type": "Database/PostgreSQL"
},
"pg_set_error_verbosity": {
"descr": "Determines the verbosity of messages returned by pg_last_error() and pg_result_error().",
"name": "pg_set_error_verbosity",
"params": [
{
"descr": "PostgreSQL database connection resource. ",
"name": "connection"
},
{
"descr": "The required verbosity: PGSQL_ERRORS_TERSE, PGSQL_ERRORS_DEFAULT or PGSQL_ERRORS_VERBOSE.",
"name": "verbosity"
}
],
"path": "php/function.pg-set-error-verbosity",
"syntax": "int pg_set_error_verbosity ([ resource $connection ], int $verbosity )",
"type": "Database/PostgreSQL"
},
"pg_trace": {
"descr": "pg_trace() enables tracing of the PostgreSQL frontend/backend communication to a file. To fully understand the results, one needs to be familiar with the internals of PostgreSQL communication protocol.",
"name": "pg_trace",
"params": [
{
"descr": "The full path and file name of the file in which to write the trace log. ",
"name": "pathname"
},
{
"descr": "An optional file access mode, same as for fopen().",
"name": "mode"
},
{
"descr": "PostgreSQL database connection resource. ",
"name": "connection"
}
],
"path": "php/function.pg-trace",
"syntax": "bool pg_trace ( string $pathname [, string $mode = \"w\" [, resource $connection ]] )",
"type": "Database/PostgreSQL"
},
"pg_transaction_status": {
"descr": "Returns the current in-transaction status of the server.",
"name": "pg_transaction_status",
"params": [
{
"descr": "PostgreSQL database connection resource.",
"name": "connection"
}
],
"path": "php/function.pg-transaction-status",
"syntax": "int pg_transaction_status ( resource $connection )",
"type": "Database/PostgreSQL"
},
"pg_tty": {
"descr": "pg_tty() returns the TTY name that server side debugging output is sent to on the given PostgreSQL connection resource.",
"name": "pg_tty",
"params": [
{
"descr": "PostgreSQL database connection resource. ",
"name": "connection"
}
],
"path": "php/function.pg-tty",
"syntax": "string pg_tty ([ resource $connection ] )",
"type": "Database/PostgreSQL"
},
"pg_unescape_bytea": {
"descr": "pg_unescape_bytea() unescapes PostgreSQL bytea data values. It returns the unescaped string, possibly containing binary data.",
"name": "pg_unescape_bytea",
"params": [
{
"descr": "A string containing PostgreSQL bytea data to be converted into a PHP binary string.",
"name": "data"
}
],
"path": "php/function.pg-unescape-bytea",
"syntax": "string pg_unescape_bytea ( string $data )",
"type": "Database/PostgreSQL"
},
"pg_untrace": {
"descr": "Stop tracing started by pg_trace().",
"name": "pg_untrace",
"params": [
{
"descr": "PostgreSQL database connection resource. ",
"name": "connection"
}
],
"path": "php/function.pg-untrace",
"syntax": "bool pg_untrace ([ resource $connection ] )",
"type": "Database/PostgreSQL"
},
"pg_update": {
"descr": "pg_update() updates records that matches condition with data. If options is specified, pg_convert() is applied to data with specified options.",
"name": "pg_update",
"params": [
{
"descr": "PostgreSQL database connection resource.",
"name": "connection"
},
{
"descr": "Name of the table into which to update rows.",
"name": "table_name"
},
{
"descr": "An array whose keys are field names in the table table_name, and whose values are what matched rows are to be updated to.",
"name": "data"
},
{
"descr": "An array whose keys are field names in the table table_name, and whose values are the conditions that a row must meet to be updated.",
"name": "condition"
},
{
"descr": "Any number of PGSQL_CONV_OPTS, PGSQL_DML_NO_CONV, PGSQL_DML_EXEC or PGSQL_DML_STRING combined. ",
"name": "options"
}
],
"path": "php/function.pg-update",
"syntax": "mixed pg_update ( resource $connection , string $table_name , array $data , array $condition [, int $options = PGSQL_DML_EXEC ] )",
"type": "Database/PostgreSQL"
},
"pg_version": {
"descr": "pg_version() returns an array with the client, protocol and server version. Protocol and server versions are only available if PHP was compiled with PostgreSQL 7.4 or later.",
"name": "pg_version",
"params": [
{
"descr": "PostgreSQL database connection resource. ",
"name": "connection"
}
],
"path": "php/function.pg-version",
"syntax": "array pg_version ([ resource $connection ] )",
"type": "Database/PostgreSQL"
},
"php_check_syntax": {
"descr": "Performs a syntax (lint) check on the specified filename testing for scripting errors.",
"name": "php_check_syntax",
"params": [
{
"descr": "The name of the file being checked.",
"name": "filename"
},
{
"descr": "If the error_message parameter is used, it will contain the error message generated by the syntax check. ",
"name": "error_message"
}
],
"path": "php/function.php-check-syntax",
"syntax": "bool php_check_syntax ( string $filename [, string &$error_message ] )",
"type": "Language"
},
"php_ini_loaded_file": {
"descr": "Check if a php.ini file is loaded, and retrieve its path.",
"name": "php_ini_loaded_file",
"params": [],
"path": "php/function.php-ini-loaded-file",
"syntax": "string php_ini_loaded_file ( void )",
"type": "Language"
},
"php_ini_scanned_files": {
"descr": "php_ini_scanned_files() returns a comma-separated list of configuration files parsed after php.ini. These files are found in a directory defined by the --with-config-file-scan-dir option which is set during compilation.",
"name": "php_ini_scanned_files",
"params": [],
"path": "php/function.php-ini-scanned-files",
"syntax": "string php_ini_scanned_files ( void )",
"type": "Language"
},
"php_logo_guid": {
"descr": "This function returns the ID which can be used to display the PHP logo using the built-in image. Logo is displayed only if expose_php is On.",
"name": "php_logo_guid",
"params": [],
"path": "php/function.php-logo-guid",
"syntax": "string php_logo_guid ( void )",
"type": "Language"
},
"php_sapi_name": {
"descr": "",
"name": "php_sapi_name",
"params": [],
"path": "php/function.php-sapi-name",
"syntax": "string php_sapi_name ( void )",
"type": "Language"
},
"php_strip_whitespace": {
"descr": "Returns the PHP source code in filename with PHP comments and whitespace removed. This may be useful for determining the amount of actual code in your scripts compared with the amount of comments. This is similar to using php -w from the commandline.",
"name": "php_strip_whitespace",
"params": [
{
"descr": "Path to the PHP file.",
"name": "filename"
}
],
"path": "php/function.php-strip-whitespace",
"syntax": "string php_strip_whitespace ( string $filename )",
"type": "Language"
},
"php_uname": {
"descr": "php_uname() returns a description of the operating system PHP is running on. This is the same string you see at the very top of the phpinfo() output. For the name of just the operating system, consider using the PHP_OS constant, but keep in mind this constant will contain the operating system PHP was built on.",
"name": "php_uname",
"params": [
{
"descr": "mode is a single character that defines what information is returned: 'a': This is the default. ",
"name": "mode"
}
],
"path": "php/function.php-uname",
"syntax": "string php_uname ([ string $mode = \"a\" ] )",
"type": "Language"
},
"php_user_filter": {
"descr": "",
"name": "php_user_filter",
"params": [],
"path": "php/class.php-user-filter",
"syntax": "public int filter ( resource $in , resource $out , int &$consumed , bool $closing )",
"type": "Streams"
},
"php_user_filter::filter": {
"descr": "This method is called whenever data is read from or written to the attached stream (such as with fread() or fwrite()).",
"name": "php_user_filter::filter",
"params": [
{
"descr": "in is a resource pointing to a bucket brigade which contains one or more bucket objects containing data to be filtered.",
"name": "in"
},
{
"descr": "out is a resource pointing to a second bucket brigade into which your modified buckets should be placed.",
"name": "out"
},
{
"descr": "consumed, which must always be declared by reference, should be incremented by the length of the data which your filter reads in and alters. ",
"name": "consumed"
},
{
"descr": "If the stream is in the process of closing (and therefore this is the last pass through the filterchain), the closing parameter will be set to TRUE.",
"name": "closing"
}
],
"path": "php/php-user-filter.filter",
"syntax": "public int php_user_filter::filter ( resource $in , resource $out , int &$consumed , bool $closing )",
"type": "Streams"
},
"php_user_filter::onClose": {
"descr": "This method is called upon filter shutdown (typically, this is also during stream shutdown), and is executed after the flush method is called. If any resources were allocated or initialized during onCreate() this would be the time to destroy or dispose of them.",
"name": "php_user_filter::onClose",
"params": [],
"path": "php/php-user-filter.onclose",
"syntax": "public void php_user_filter::onClose ( void )",
"type": "Streams"
},
"php_user_filter::onCreate": {
"descr": "This method is called during instantiation of the filter class object. If your filter allocates or initializes any other resources (such as a buffer), this is the place to do it.",
"name": "php_user_filter::onCreate",
"params": [],
"path": "php/php-user-filter.oncreate",
"syntax": "public bool php_user_filter::onCreate ( void )",
"type": "Streams"
},
"phpcredits": {
"descr": "This function prints out the credits listing the PHP developers, modules, etc. It generates the appropriate HTML codes to insert the information in a page.",
"name": "phpcredits",
"params": [
{
"descr": "To generate a custom credits page, you may want to use the flag parameter. ",
"name": "flag"
}
],
"path": "php/function.phpcredits",
"syntax": "bool phpcredits ([ int $flag = CREDITS_ALL ] )",
"type": "Language"
},
"phpinfo": {
"descr": "Outputs a large amount of information about the current state of PHP. This includes information about PHP compilation options and extensions, the PHP version, server information and environment (if compiled as a module), the PHP environment, OS version information, paths, master and local values of configuration options, HTTP headers, and the PHP License.",
"name": "phpinfo",
"params": [
{
"descr": "The output may be customized by passing one or more of the following constants bitwise values summed together in the optional what parameter. ",
"name": "what"
}
],
"path": "php/function.phpinfo",
"syntax": "bool phpinfo ([ int $what = INFO_ALL ] )",
"type": "Language"
},
"phpversion": {
"descr": "Returns a string containing the version of the currently running PHP parser or extension.",
"name": "phpversion",
"params": [
{
"descr": "An optional extension name.",
"name": "extension"
}
],
"path": "php/function.phpversion",
"syntax": "string phpversion ([ string $extension ] )",
"type": "Language"
},
"pi": {
"descr": "",
"name": "pi",
"params": [],
"path": "php/function.pi",
"syntax": "float pi ( void )",
"type": "Mathematics"
},
"png2wbmp": {
"descr": "Converts a PNG file into a WBMP file.",
"name": "png2wbmp",
"params": [
{
"descr": "Path to PNG file.",
"name": "pngname"
},
{
"descr": "Path to destination WBMP file.",
"name": "wbmpname"
},
{
"descr": "Destination image height.",
"name": "dest_height"
},
{
"descr": "Destination image width.",
"name": "dest_width"
},
{
"descr": "Threshold value, between 0 and 8 (inclusive).",
"name": "threshold"
}
],
"path": "php/function.png2wbmp",
"syntax": "bool png2wbmp ( string $pngname , string $wbmpname , int $dest_height , int $dest_width , int $threshold )",
"type": "Image"
},
"popen": {
"descr": "Opens a pipe to a process executed by forking the command given by command.",
"name": "popen",
"params": [
{
"descr": "The command",
"name": "command"
},
{
"descr": "The mode",
"name": "mode"
}
],
"path": "php/function.popen",
"syntax": "resource popen ( string $command , string $mode )",
"type": "File System"
},
"posix_access": {
"descr": "posix_access() checks the user's permission of a file.",
"name": "posix_access",
"params": [
{
"descr": "The name of the file to be tested.",
"name": "file"
},
{
"descr": "A mask consisting of one or more of POSIX_F_OK, POSIX_R_OK, POSIX_W_OK and POSIX_X_OK. ",
"name": "mode"
}
],
"path": "php/function.posix-access",
"syntax": "bool posix_access ( string $file [, int $mode = POSIX_F_OK ] )",
"type": "Process Control"
},
"posix_ctermid": {
"descr": "Generates a string which is the pathname for the current controlling terminal for the process. On error this will set errno, which can be checked using posix_get_last_error()",
"name": "posix_ctermid",
"params": [],
"path": "php/function.posix-ctermid",
"syntax": "string posix_ctermid ( void )",
"type": "Process Control"
},
"posix_get_last_error": {
"descr": "Retrieve the error number set by the last posix function that failed. The system error message associated with the errno may be checked with posix_strerror().",
"name": "posix_get_last_error",
"params": [],
"path": "php/function.posix-get-last-error",
"syntax": "int posix_get_last_error ( void )",
"type": "Process Control"
},
"posix_getcwd": {
"descr": "Gets the absolute pathname of the script's current working directory. On error, it sets errno which can be checked using posix_get_last_error()",
"name": "posix_getcwd",
"params": [],
"path": "php/function.posix-getcwd",
"syntax": "string posix_getcwd ( void )",
"type": "Process Control"
},
"posix_getegid": {
"descr": "Return the numeric effective group ID of the current process.",
"name": "posix_getegid",
"params": [],
"path": "php/function.posix-getegid",
"syntax": "int posix_getegid ( void )",
"type": "Process Control"
},
"posix_geteuid": {
"descr": "Return the numeric effective user ID of the current process. See also posix_getpwuid() for information on how to convert this into a useable username.",
"name": "posix_geteuid",
"params": [],
"path": "php/function.posix-geteuid",
"syntax": "int posix_geteuid ( void )",
"type": "Process Control"
},
"posix_getgid": {
"descr": "Return the numeric real group ID of the current process.",
"name": "posix_getgid",
"params": [],
"path": "php/function.posix-getgid",
"syntax": "int posix_getgid ( void )",
"type": "Process Control"
},
"posix_getgrgid": {
"descr": "Gets information about a group provided its id.",
"name": "posix_getgrgid",
"params": [
{
"descr": "The group id.",
"name": "gid"
}
],
"path": "php/function.posix-getgrgid",
"syntax": "array posix_getgrgid ( int $gid )",
"type": "Process Control"
},
"posix_getgrnam": {
"descr": "Gets information about a group provided its name.",
"name": "posix_getgrnam",
"params": [
{
"descr": "The name of the group",
"name": "name"
}
],
"path": "php/function.posix-getgrnam",
"syntax": "array posix_getgrnam ( string $name )",
"type": "Process Control"
},
"posix_getgroups": {
"descr": "Gets the group set of the current process.",
"name": "posix_getgroups",
"params": [],
"path": "php/function.posix-getgroups",
"syntax": "array posix_getgroups ( void )",
"type": "Process Control"
},
"posix_getlogin": {
"descr": "Returns the login name of the user owning the current process.",
"name": "posix_getlogin",
"params": [],
"path": "php/function.posix-getlogin",
"syntax": "string posix_getlogin ( void )",
"type": "Process Control"
},
"posix_getpgid": {
"descr": "Returns the process group identifier of the process pid or FALSE on failure.",
"name": "posix_getpgid",
"params": [
{
"descr": "The process id.",
"name": "pid"
}
],
"path": "php/function.posix-getpgid",
"syntax": "int posix_getpgid ( int $pid )",
"type": "Process Control"
},
"posix_getpgrp": {
"descr": "Return the process group identifier of the current process.",
"name": "posix_getpgrp",
"params": [],
"path": "php/function.posix-getpgrp",
"syntax": "int posix_getpgrp ( void )",
"type": "Process Control"
},
"posix_getpid": {
"descr": "Return the process identifier of the current process.",
"name": "posix_getpid",
"params": [],
"path": "php/function.posix-getpid",
"syntax": "int posix_getpid ( void )",
"type": "Process Control"
},
"posix_getppid": {
"descr": "Return the process identifier of the parent process of the current process.",
"name": "posix_getppid",
"params": [],
"path": "php/function.posix-getppid",
"syntax": "int posix_getppid ( void )",
"type": "Process Control"
},
"posix_getpwnam": {
"descr": "Returns an array of information about the given user.",
"name": "posix_getpwnam",
"params": [
{
"descr": "An alphanumeric username.",
"name": "username"
}
],
"path": "php/function.posix-getpwnam",
"syntax": "array posix_getpwnam ( string $username )",
"type": "Process Control"
},
"posix_getpwuid": {
"descr": "Returns an array of information about the user referenced by the given user ID.",
"name": "posix_getpwuid",
"params": [
{
"descr": "The user identifier.",
"name": "uid"
}
],
"path": "php/function.posix-getpwuid",
"syntax": "array posix_getpwuid ( int $uid )",
"type": "Process Control"
},
"posix_getrlimit": {
"descr": "posix_getrlimit() returns an array of information about the current resource's soft and hard limits.",
"name": "posix_getrlimit",
"params": [],
"path": "php/function.posix-getrlimit",
"syntax": "array posix_getrlimit ( void )",
"type": "Process Control"
},
"posix_getsid": {
"descr": "Return the session id of the process pid. The session id of a process is the process group id of the session leader.",
"name": "posix_getsid",
"params": [
{
"descr": "The process identifier. If set to 0, the current process is assumed. ",
"name": "pid"
}
],
"path": "php/function.posix-getsid",
"syntax": "int posix_getsid ( int $pid )",
"type": "Process Control"
},
"posix_getuid": {
"descr": "Return the numeric real user ID of the current process.",
"name": "posix_getuid",
"params": [],
"path": "php/function.posix-getuid",
"syntax": "int posix_getuid ( void )",
"type": "Process Control"
},
"posix_initgroups": {
"descr": "Calculates the group access list for the user specified in name.",
"name": "posix_initgroups",
"params": [
{
"descr": "The user to calculate the list for.",
"name": "name"
},
{
"descr": "Typically the group number from the password file.",
"name": "base_group_id"
}
],
"path": "php/function.posix-initgroups",
"syntax": "bool posix_initgroups ( string $name , int $base_group_id )",
"type": "Process Control"
},
"posix_isatty": {
"descr": "Determines if the file descriptor fd refers to a valid terminal type device.",
"name": "posix_isatty",
"params": [
{
"descr": "The file descriptor.",
"name": "fd"
}
],
"path": "php/function.posix-isatty",
"syntax": "bool posix_isatty ( int $fd )",
"type": "Process Control"
},
"posix_kill": {
"descr": "Send the signal sig to the process with the process identifier pid.",
"name": "posix_kill",
"params": [
{
"descr": "The process identifier.",
"name": "pid"
},
{
"descr": "One of the PCNTL signals constants.",
"name": "sig"
}
],
"path": "php/function.posix-kill",
"syntax": "bool posix_kill ( int $pid , int $sig )",
"type": "Process Control"
},
"posix_mkfifo": {
"descr": "posix_mkfifo() creates a special FIFO file which exists in the file system and acts as a bidirectional communication endpoint for processes.",
"name": "posix_mkfifo",
"params": [
{
"descr": "Path to the FIFO file.",
"name": "pathname"
},
{
"descr": "The second parameter mode has to be given in octal notation (e.g. ",
"name": "mode"
}
],
"path": "php/function.posix-mkfifo",
"syntax": "bool posix_mkfifo ( string $pathname , int $mode )",
"type": "Process Control"
},
"posix_mknod": {
"descr": "Creates a special or ordinary file.",
"name": "posix_mknod",
"params": [
{
"descr": "The file to create",
"name": "pathname"
},
{
"descr": "This parameter is constructed by a bitwise OR between file type (one of the following constants: POSIX_S_IFREG, POSIX_S_IFCHR, POSIX_S_IFBLK, POSIX_S_IFIFO or POSIX_S_IFSOCK) and permissions.",
"name": "mode"
},
{
"descr": "The major device kernel identifier (required to pass when using S_IFCHR or S_IFBLK).",
"name": "major"
},
{
"descr": "The minor device kernel identifier.",
"name": "minor"
}
],
"path": "php/function.posix-mknod",
"syntax": "bool posix_mknod ( string $pathname , int $mode [, int $major = 0 [, int $minor = 0 ]] )",
"type": "Process Control"
},
"posix_setegid": {
"descr": "Set the effective group ID of the current process. This is a privileged function and needs appropriate privileges (usually root) on the system to be able to perform this function.",
"name": "posix_setegid",
"params": [
{
"descr": "The group id.",
"name": "gid"
}
],
"path": "php/function.posix-setegid",
"syntax": "bool posix_setegid ( int $gid )",
"type": "Process Control"
},
"posix_seteuid": {
"descr": "Set the real user ID of the current process. This is a privileged function and needs appropriate privileges (usually root) on the system to be able to perform this function.",
"name": "posix_seteuid",
"params": [
{
"descr": "The user id.",
"name": "uid"
}
],
"path": "php/function.posix-seteuid",
"syntax": "bool posix_seteuid ( int $uid )",
"type": "Process Control"
},
"posix_setgid": {
"descr": "Set the real group ID of the current process. This is a privileged function and needs appropriate privileges (usually root) on the system to be able to perform this function. The appropriate order of function calls is posix_setgid() first, posix_setuid() last.",
"name": "posix_setgid",
"params": [
{
"descr": "The group id.",
"name": "gid"
}
],
"path": "php/function.posix-setgid",
"syntax": "bool posix_setgid ( int $gid )",
"type": "Process Control"
},
"posix_setpgid": {
"descr": "Let the process pid join the process group pgid.",
"name": "posix_setpgid",
"params": [
{
"descr": "The process id.",
"name": "pid"
},
{
"descr": "The process group id.",
"name": "pgid"
}
],
"path": "php/function.posix-setpgid",
"syntax": "bool posix_setpgid ( int $pid , int $pgid )",
"type": "Process Control"
},
"posix_setsid": {
"descr": "Make the current process a session leader.",
"name": "posix_setsid",
"params": [],
"path": "php/function.posix-setsid",
"syntax": "int posix_setsid ( void )",
"type": "Process Control"
},
"posix_setuid": {
"descr": "Set the real user ID of the current process. This is a privileged function that needs appropriate privileges (usually root) on the system to be able to perform this function.",
"name": "posix_setuid",
"params": [
{
"descr": "The user id.",
"name": "uid"
}
],
"path": "php/function.posix-setuid",
"syntax": "bool posix_setuid ( int $uid )",
"type": "Process Control"
},
"posix_strerror": {
"descr": "Returns the POSIX system error message associated with the given errno. You may get the errno parameter by calling posix_get_last_error().",
"name": "posix_strerror",
"params": [
{
"descr": "A POSIX error number, returned by posix_get_last_error(). ",
"name": "errno"
}
],
"path": "php/function.posix-strerror",
"syntax": "string posix_strerror ( int $errno )",
"type": "Process Control"
},
"posix_times": {
"descr": "Gets information about the current CPU usage.",
"name": "posix_times",
"params": [],
"path": "php/function.posix-times",
"syntax": "array posix_times ( void )",
"type": "Process Control"
},
"posix_ttyname": {
"descr": "Returns a string for the absolute path to the current terminal device that is open on the file descriptor fd.",
"name": "posix_ttyname",
"params": [
{
"descr": "The file descriptor.",
"name": "fd"
}
],
"path": "php/function.posix-ttyname",
"syntax": "string posix_ttyname ( int $fd )",
"type": "Process Control"
},
"posix_uname": {
"descr": "Gets information about the system.",
"name": "posix_uname",
"params": [],
"path": "php/function.posix-uname",
"syntax": "array posix_uname ( void )",
"type": "Process Control"
},
"pow": {
"descr": "Returns base raised to the power of exp.",
"name": "pow",
"params": [
{
"descr": "The base to use",
"name": "base"
},
{
"descr": "The exponent",
"name": "exp"
}
],
"path": "php/function.pow",
"syntax": "number pow ( number $base , number $exp )",
"type": "Mathematics"
},
"preg_filter": {
"descr": "preg_filter() is identical to preg_replace() except it only returns the (possibly transformed) subjects where there was a match. For details about how this function works, read the preg_replace() documentation.",
"name": "preg_filter",
"params": [],
"path": "php/function.preg-filter",
"syntax": "mixed preg_filter ( mixed $pattern , mixed $replacement , mixed $subject [, int $limit = -1 [, int &$count ]] )",
"type": "String"
},
"preg_grep": {
"descr": "Returns the array consisting of the elements of the input array that match the given pattern.",
"name": "preg_grep",
"params": [
{
"descr": "The pattern to search for, as a string.",
"name": "pattern"
},
{
"descr": "The input array.",
"name": "input"
},
{
"descr": "If set to PREG_GREP_INVERT, this function returns the elements of the input array that do not match the given pattern.",
"name": "flags"
}
],
"path": "php/function.preg-grep",
"syntax": "array preg_grep ( string $pattern , array $input [, int $flags = 0 ] )",
"type": "String"
},
"preg_last_error": {
"descr": "Returns the error code of the last PCRE regex execution.",
"name": "preg_last_error",
"params": [],
"path": "php/function.preg-last-error",
"syntax": "int preg_last_error ( void )",
"type": "String"
},
"preg_match": {
"descr": "Searches subject for a match to the regular expression given in pattern.",
"name": "preg_match",
"params": [
{
"descr": "The pattern to search for, as a string.",
"name": "pattern"
},
{
"descr": "The input string.",
"name": "subject"
},
{
"descr": "If matches is provided, then it is filled with the results of search. ",
"name": "matches"
},
{
"descr": "flags can be the following flag: PREG_OFFSET_CAPTURE If this flag is passed, for every occurring match the appendant string offset will also be returned. ",
"name": "flags"
},
{
"descr": "Normally, the search starts from the beginning of the subject string. ",
"name": "offset"
}
],
"path": "php/function.preg-match",
"syntax": "int preg_match ( string $pattern , string $subject [, array &$matches [, int $flags = 0 [, int $offset = 0 ]]] )",
"type": "String"
},
"preg_match_all": {
"descr": "Searches subject for all matches to the regular expression given in pattern and puts them in matches in the order specified by flags.",
"name": "preg_match_all",
"params": [
{
"descr": "The pattern to search for, as a string.",
"name": "pattern"
},
{
"descr": "The input string.",
"name": "subject"
},
{
"descr": "Array of all matches in multi-dimensional array ordered according to flags.",
"name": "matches"
},
{
"descr": "Can be a combination of the following flags (note that it doesn't make sense to use PREG_PATTERN_ORDER together with PREG_SET_ORDER): PREG_PATTERN_ORDER Orders results so that $matches[0] is an array of full pattern matches, $matches[1] is an array of strings matched by the first parenthesized subpattern, and so on. ]+>(.*)[^>]+>|U\",\u00a0\u00a0\u00a0\u00a0\"example:\u00a0this\u00a0is\u00a0a\u00a0test
\",\u00a0\u00a0\u00a0\u00a0$out,\u00a0PREG_PATTERN_ORDER);echo\u00a0$out[0][0]\u00a0.\u00a0\",\u00a0\"\u00a0.\u00a0$out[0][1]\u00a0.\u00a0\"\\n\";echo\u00a0$out[1][0]\u00a0.\u00a0\",\u00a0\"\u00a0.\u00a0$out[1][1]\u00a0.\u00a0\"\\n\";?> The above example will output: example: , this is a test
example: , this is a test So, $out[0] contains array of strings that matched full pattern, and $out[1] contains array of strings enclosed by tags.",
"name": "flags"
},
{
"descr": "Orders results so that $matches[0] is an array of first set of matches, $matches[1] is an array of second set of matches, and so on. ",
"name": "PREG_SET_ORDER"
},
{
"descr": "If this flag is passed, for every occurring match the appendant string offset will also be returned. ",
"name": "PREG_OFFSET_CAPTURE"
},
{
"descr": "Normally, the search starts from the beginning of the subject string. ",
"name": "offset"
}
],
"path": "php/function.preg-match-all",
"syntax": "int preg_match_all ( string $pattern , string $subject [, array &$matches [, int $flags = PREG_PATTERN_ORDER [, int $offset = 0 ]]] )",
"type": "String"
},
"preg_quote": {
"descr": "preg_quote() takes str and puts a backslash in front of every character that is part of the regular expression syntax. This is useful if you have a run-time string that you need to match in some text and the string may contain special regex characters.",
"name": "preg_quote",
"params": [
{
"descr": "The input string.",
"name": "str"
},
{
"descr": "If the optional delimiter is specified, it will also be escaped. ",
"name": "delimiter"
}
],
"path": "php/function.preg-quote",
"syntax": "string preg_quote ( string $str [, string $delimiter = NULL ] )",
"type": "String"
},
"preg_replace": {
"descr": "Searches subject for matches to pattern and replaces them with replacement.",
"name": "preg_replace",
"params": [
{
"descr": "The pattern to search for. It can be either a string or an array with strings. ",
"name": "pattern"
},
{
"descr": "The string or an array with strings to replace. ",
"name": "replacement"
},
{
"descr": "The string or an array with strings to search and replace. ",
"name": "subject"
},
{
"descr": "The maximum possible replacements for each pattern in each subject string. ",
"name": "limit"
},
{
"descr": "If specified, this variable will be filled with the number of replacements done.",
"name": "count"
}
],
"path": "php/function.preg-replace",
"syntax": "mixed preg_replace ( mixed $pattern , mixed $replacement , mixed $subject [, int $limit = -1 [, int &$count ]] )",
"type": "String"
},
"preg_replace_callback": {
"descr": "The behavior of this function is almost identical to preg_replace(), except for the fact that instead of replacement parameter, one should specify a callback.",
"name": "preg_replace_callback",
"params": [
{
"descr": "The pattern to search for. It can be either a string or an array with strings.",
"name": "pattern"
},
{
"descr": "A callback that will be called and passed an array of matched elements in the subject string. ",
"name": "callback"
},
{
"descr": "The string or an array with strings to search and replace.",
"name": "subject"
},
{
"descr": "The maximum possible replacements for each pattern in each subject string. ",
"name": "limit"
},
{
"descr": "If specified, this variable will be filled with the number of replacements done.",
"name": "count"
}
],
"path": "php/function.preg-replace-callback",
"syntax": "mixed preg_replace_callback ( mixed $pattern , callable $callback , mixed $subject [, int $limit = -1 [, int &$count ]] )",
"type": "String"
},
"preg_split": {
"descr": "Split the given string by a regular expression.",
"name": "preg_split",
"params": [
{
"descr": "The pattern to search for, as a string.",
"name": "pattern"
},
{
"descr": "The input string.",
"name": "subject"
},
{
"descr": "If specified, then only substrings up to limit are returned with the rest of the string being placed in the last substring. ",
"name": "limit"
},
{
"descr": "flags can be any combination of the following flags (combined with the | bitwise operator): PREG_SPLIT_NO_EMPTY If this flag is set, only non-empty pieces will be returned by preg_split().",
"name": "flags"
},
{
"descr": "If this flag is set, parenthesized expression in the delimiter pattern will be captured and returned as well.",
"name": "PREG_SPLIT_DELIM_CAPTURE"
},
{
"descr": "If this flag is set, for every occurring match the appendant string offset will also be returned. ",
"name": "PREG_SPLIT_OFFSET_CAPTURE"
}
],
"path": "php/function.preg-split",
"syntax": "array preg_split ( string $pattern , string $subject [, int $limit = -1 [, int $flags = 0 ]] )",
"type": "String"
},
"prev": {
"descr": "Rewind the internal array pointer.",
"name": "prev",
"params": [
{
"descr": "The input array.",
"name": "array"
}
],
"path": "php/function.prev",
"syntax": "mixed prev ( array &$array )",
"type": "Array"
},
"print": {
"descr": "Outputs arg.",
"name": "print",
"params": [
{
"descr": "The input data.",
"name": "arg"
}
],
"path": "php/function.print",
"syntax": "int print ( string $arg )",
"type": "String"
},
"print_r": {
"descr": "print_r() displays information about a variable in a way that's readable by humans.",
"name": "print_r",
"params": [
{
"descr": "The expression to be printed.",
"name": "expression"
},
{
"descr": "If you would like to capture the output of print_r(), use the return parameter. ",
"name": "return"
}
],
"path": "php/function.print-r",
"syntax": "mixed print_r ( mixed $expression [, bool $return = false ] )",
"type": "Variables"
},
"printf": {
"descr": "",
"name": "printf",
"params": [
{
"descr": "See sprintf() for a description of format.",
"name": "format"
}
],
"path": "php/function.printf",
"syntax": "int printf ( string $format [, mixed $args [, mixed $... ]] )",
"type": "String"
},
"proc_close": {
"descr": "proc_close() is similar to pclose() except that it only works on processes opened by proc_open(). proc_close() waits for the process to terminate, and returns its exit code. If you have open pipes to that process, you should fclose() them prior to calling this function in order to avoid a deadlock - the child process may not be able to exit while the pipes are open.",
"name": "proc_close",
"params": [
{
"descr": "The proc_open() resource that will be closed.",
"name": "process"
}
],
"path": "php/function.proc-close",
"syntax": "int proc_close ( resource $process )",
"type": "Process Control"
},
"proc_get_status": {
"descr": "proc_get_status() fetches data about a process opened using proc_open().",
"name": "proc_get_status",
"params": [
{
"descr": "The proc_open() resource that will be evaluated.",
"name": "process"
}
],
"path": "php/function.proc-get-status",
"syntax": "array proc_get_status ( resource $process )",
"type": "Process Control"
},
"proc_nice": {
"descr": "proc_nice() changes the priority of the current process by the amount specified in increment. A positive increment will lower the priority of the current process, whereas a negative increment will raise the priority.",
"name": "proc_nice",
"params": [
{
"descr": "The increment value of the priority change.",
"name": "increment"
}
],
"path": "php/function.proc-nice",
"syntax": "bool proc_nice ( int $increment )",
"type": "Process Control"
},
"proc_open": {
"descr": "proc_open() is similar to popen() but provides a much greater degree of control over the program execution.",
"name": "proc_open",
"params": [
{
"descr": "The command to execute",
"name": "cmd"
},
{
"descr": "An indexed array where the key represents the descriptor number and the value represents how PHP will pass that descriptor to the child process. ",
"name": "descriptorspec"
},
{
"descr": "Will be set to an indexed array of file pointers that correspond to PHP's end of any pipes that are created.",
"name": "pipes"
},
{
"descr": "The initial working dir for the command. ",
"name": "cwd"
},
{
"descr": "An array with the environment variables for the command that will be run, or NULL to use the same environment as the current PHP process",
"name": "env"
},
{
"descr": "Allows you to specify additional options. ",
"name": "other_options"
}
],
"path": "php/function.proc-open",
"syntax": "resource proc_open ( string $cmd , array $descriptorspec , array &$pipes [, string $cwd [, array $env [, array $other_options ]]] )",
"type": "Process Control"
},
"proc_terminate": {
"descr": "Signals a process (created using proc_open()) that it should terminate. proc_terminate() returns immediately and does not wait for the process to terminate.",
"name": "proc_terminate",
"params": [
{
"descr": "The proc_open() resource that will be closed.",
"name": "process"
},
{
"descr": "This optional parameter is only useful on POSIX operating systems; you may specify a signal to send to the process using the kill(2) system call. ",
"name": "signal"
}
],
"path": "php/function.proc-terminate",
"syntax": "bool proc_terminate ( resource $process [, int $signal = 15 ] )",
"type": "Process Control"
},
"property_exists": {
"descr": "This function checks if the given property exists in the specified class.",
"name": "property_exists",
"params": [
{
"descr": "The class name or an object of the class to test for",
"name": "class"
},
{
"descr": "The name of the property",
"name": "property"
}
],
"path": "php/function.property-exists",
"syntax": "bool property_exists ( mixed $class , string $property )",
"type": "Classes and Functions"
},
"putenv": {
"descr": "Adds setting to the server environment. The environment variable will only exist for the duration of the current request. At the end of the request the environment is restored to its original state.",
"name": "putenv",
"params": [
{
"descr": "The setting, like \"FOO=BAR\"",
"name": "setting"
}
],
"path": "php/function.putenv",
"syntax": "bool putenv ( string $setting )",
"type": "Language"
},
"quoted_printable_decode": {
"descr": "This function returns an 8-bit binary string corresponding to the decoded quoted printable string (according to \u00bb RFC2045, section 6.7, not \u00bb RFC2821, section 4.5.2, so additional periods are not stripped from the beginning of line).",
"name": "quoted_printable_decode",
"params": [
{
"descr": "The input string.",
"name": "str"
}
],
"path": "php/function.quoted-printable-decode",
"syntax": "string quoted_printable_decode ( string $str )",
"type": "String"
},
"quoted_printable_encode": {
"descr": "Returns a quoted printable string created according to \u00bb RFC2045, section 6.7.",
"name": "quoted_printable_encode",
"params": [
{
"descr": "The input string.",
"name": "str"
}
],
"path": "php/function.quoted-printable-encode",
"syntax": "string quoted_printable_encode ( string $str )",
"type": "String"
},
"quotemeta": {
"descr": "Returns a version of str with a backslash character (\\) before every character that is among these:",
"name": "quotemeta",
"params": [
{
"descr": "The input string.",
"name": "str"
}
],
"path": "php/function.quotemeta",
"syntax": "string quotemeta ( string $str )",
"type": "String"
},
"rad2deg": {
"descr": "This function converts number from radian to degrees.",
"name": "rad2deg",
"params": [
{
"descr": "A radian value",
"name": "number"
}
],
"path": "php/function.rad2deg",
"syntax": "float rad2deg ( float $number )",
"type": "Mathematics"
},
"rand": {
"descr": "",
"name": "rand",
"params": [
{
"descr": "The lowest value to return (default: 0)",
"name": "min"
},
{
"descr": "The highest value to return (default: getrandmax())",
"name": "max"
}
],
"path": "php/function.rand",
"syntax": "int rand ( void )",
"type": "Mathematics"
},
"range": {
"descr": "Create an array containing a range of elements.",
"name": "range",
"params": [
{
"descr": "First value of the sequence.",
"name": "start"
},
{
"descr": "The sequence is ended upon reaching the end value.",
"name": "end"
},
{
"descr": "If a step value is given, it will be used as the increment between elements in the sequence. ",
"name": "step"
}
],
"path": "php/function.range",
"syntax": "array range ( mixed $start , mixed $end [, number $step = 1 ] )",
"type": "Array"
},
"rawurldecode": {
"descr": "Returns a string in which the sequences with percent (%) signs followed by two hex digits have been replaced with literal characters.",
"name": "rawurldecode",
"params": [
{
"descr": "The URL to be decoded.",
"name": "str"
}
],
"path": "php/function.rawurldecode",
"syntax": "string rawurldecode ( string $str )",
"type": "Networking"
},
"rawurlencode": {
"descr": "Encodes the given string according to \u00bb RFC 3986.",
"name": "rawurlencode",
"params": [
{
"descr": "The URL to be encoded.",
"name": "str"
}
],
"path": "php/function.rawurlencode",
"syntax": "string rawurlencode ( string $str )",
"type": "Networking"
},
"readdir": {
"descr": "Returns the name of the next entry in the directory. The entries are returned in the order in which they are stored by the filesystem.",
"name": "readdir",
"params": [
{
"descr": "The directory handle resource previously opened with opendir(). ",
"name": "dir_handle"
}
],
"path": "php/function.readdir",
"syntax": "string readdir ([ resource $dir_handle ] )",
"type": "File System"
},
"readfile": {
"descr": "Reads a file and writes it to the output buffer.",
"name": "readfile",
"params": [
{
"descr": "The filename being read.",
"name": "filename"
},
{
"descr": "You can use the optional second parameter and set it to TRUE, if you want to search for the file in the include_path, too.",
"name": "use_include_path"
},
{
"descr": "A context stream resource.",
"name": "context"
}
],
"path": "php/function.readfile",
"syntax": "int readfile ( string $filename [, bool $use_include_path = false [, resource $context ]] )",
"type": "File System"
},
"readgzfile": {
"descr": "Reads a file, decompresses it and writes it to standard output.",
"name": "readgzfile",
"params": [
{
"descr": "The file name. This file will be opened from the filesystem and its contents written to standard output.",
"name": "filename"
},
{
"descr": "You can set this optional parameter to 1, if you want to search for the file in the include_path too.",
"name": "use_include_path"
}
],
"path": "php/function.readgzfile",
"syntax": "int readgzfile ( string $filename [, int $use_include_path = 0 ] )",
"type": "Compression"
},
"readlink": {
"descr": "readlink() does the same as the readlink C function.",
"name": "readlink",
"params": [
{
"descr": "The symbolic link path.",
"name": "path"
}
],
"path": "php/function.readlink",
"syntax": "string readlink ( string $path )",
"type": "File System"
},
"realpath": {
"descr": "realpath() expands all symbolic links and resolves references to '/./', '/../' and extra '/' characters in the input path and returns the canonicalized absolute pathname.",
"name": "realpath",
"params": [
{
"descr": "The path being checked. Note: Whilst a path must be supplied, the value can be blank or NULL In these cases, the value is interpreted as the current directory.",
"name": "path"
}
],
"path": "php/function.realpath",
"syntax": "string realpath ( string $path )",
"type": "File System"
},
"realpath_cache_get": {
"descr": "Get the contents of the realpath cache.",
"name": "realpath_cache_get",
"params": [],
"path": "php/function.realpath-cache-get",
"syntax": "array realpath_cache_get ( void )",
"type": "File System"
},
"realpath_cache_size": {
"descr": "Get the amount of memory used by the realpath cache.",
"name": "realpath_cache_size",
"params": [],
"path": "php/function.realpath-cache-size",
"syntax": "int realpath_cache_size ( void )",
"type": "File System"
},
"register_shutdown_function": {
"descr": "Registers a callback to be executed after script execution finishes or exit() is called.",
"name": "register_shutdown_function",
"params": [
{
"descr": "The shutdown callback to register. ",
"name": "callback"
},
{
"descr": "It is possible to pass parameters to the shutdown function by passing additional parameters.",
"name": "parameter"
}
],
"path": "php/function.register-shutdown-function",
"syntax": "void register_shutdown_function ( callable $callback [, mixed $parameter [, mixed $... ]] )",
"type": "Classes and Functions"
},
"register_tick_function": {
"descr": "",
"name": "register_tick_function",
"params": [
{
"descr": "The function name as a string, or an array consisting of an object and a method.",
"name": "function"
}
],
"path": "php/function.register-tick-function",
"syntax": "bool register_tick_function ( callable $function [, mixed $arg [, mixed $... ]] )",
"type": "Classes and Functions"
},
"rename": {
"descr": "Attempts to rename oldname to newname, moving it between directories if necessary. If newname exists, it will be overwritten.",
"name": "rename",
"params": [
{
"descr": "Note: The old name. The wrapper used in oldname must match the wrapper used in newname.",
"name": "oldname"
},
{
"descr": "The new name.",
"name": "newname"
},
{
"descr": "Note: Context support was added with PHP 5.0.0. ",
"name": "context"
}
],
"path": "php/function.rename",
"syntax": "bool rename ( string $oldname , string $newname [, resource $context ] )",
"type": "File System"
},
"reset": {
"descr": "reset() rewinds array's internal pointer to the first element and returns the value of the first array element.",
"name": "reset",
"params": [
{
"descr": "The input array.",
"name": "array"
}
],
"path": "php/function.reset",
"syntax": "mixed reset ( array &$array )",
"type": "Array"
},
"restore_error_handler": {
"descr": "Used after changing the error handler function using set_error_handler(), to revert to the previous error handler (which could be the built-in or a user defined function).",
"name": "restore_error_handler",
"params": [],
"path": "php/function.restore-error-handler",
"syntax": "bool restore_error_handler ( void )",
"type": "Errors"
},
"restore_exception_handler": {
"descr": "Used after changing the exception handler function using set_exception_handler(), to revert to the previous exception handler (which could be the built-in or a user defined function).",
"name": "restore_exception_handler",
"params": [],
"path": "php/function.restore-exception-handler",
"syntax": "bool restore_exception_handler ( void )",
"type": "Errors"
},
"restore_include_path": {
"descr": "",
"name": "restore_include_path",
"params": [],
"path": "php/function.restore-include-path",
"syntax": "void restore_include_path ( void )",
"type": "Language"
},
"rewind": {
"descr": "Sets the file position indicator for handle to the beginning of the file stream.",
"name": "rewind",
"params": [
{
"descr": "The file pointer must be valid, and must point to a file successfully opened by fopen().",
"name": "handle"
}
],
"path": "php/function.rewind",
"syntax": "bool rewind ( resource $handle )",
"type": "File System"
},
"rewinddir": {
"descr": "Resets the directory stream indicated by dir_handle to the beginning of the directory.",
"name": "rewinddir",
"params": [
{
"descr": "The directory handle resource previously opened with opendir(). ",
"name": "dir_handle"
}
],
"path": "php/function.rewinddir",
"syntax": "void rewinddir ([ resource $dir_handle ] )",
"type": "File System"
},
"rmdir": {
"descr": "Attempts to remove the directory named by dirname. The directory must be empty, and the relevant permissions must permit this. A E_WARNING level error will be generated on failure.",
"name": "rmdir",
"params": [
{
"descr": "Path to the directory.",
"name": "dirname"
},
{
"descr": "Note: Context support was added with PHP 5.0.0. ",
"name": "context"
}
],
"path": "php/function.rmdir",
"syntax": "bool rmdir ( string $dirname [, resource $context ] )",
"type": "File System"
},
"round": {
"descr": "Returns the rounded value of val to specified precision (number of digits after the decimal point). precision can also be negative or zero (default).",
"name": "round",
"params": [
{
"descr": "The value to round",
"name": "val"
},
{
"descr": "The optional number of decimal digits to round to.",
"name": "precision"
},
{
"descr": "Use one of the following constants to specify the mode in which rounding occurs. ",
"name": "mode"
}
],
"path": "php/function.round",
"syntax": "float round ( float $val [, int $precision = 0 [, int $mode = PHP_ROUND_HALF_UP ]] )",
"type": "Mathematics"
},
"rsort": {
"descr": "This function sorts an array in reverse order (highest to lowest).",
"name": "rsort",
"params": [
{
"descr": "The input array.",
"name": "array"
},
{
"descr": "You may modify the behavior of the sort using the optional parameter sort_flags, for details see sort().",
"name": "sort_flags"
}
],
"path": "php/function.rsort",
"syntax": "bool rsort ( array &$array [, int $sort_flags = SORT_REGULAR ] )",
"type": "Array"
},
"rtrim": {
"descr": "This function returns a string with whitespace stripped from the end of str.",
"name": "rtrim",
"params": [
{
"descr": "The input string.",
"name": "str"
},
{
"descr": "You can also specify the characters you want to strip, by means of the character_mask parameter. ",
"name": "character_mask"
}
],
"path": "php/function.rtrim",
"syntax": "string rtrim ( string $str [, string $character_mask ] )",
"type": "String"
},
"runkit_class_adopt": {
"descr": "",
"name": "runkit_class_adopt",
"params": [
{
"descr": "Name of class to be adopted",
"name": "classname"
},
{
"descr": "Parent class which child class is extending",
"name": "parentname"
}
],
"path": "php/function.runkit-class-adopt",
"syntax": "bool runkit_class_adopt ( string $classname , string $parentname )",
"type": "Classes and Functions"
},
"runkit_class_emancipate": {
"descr": "",
"name": "runkit_class_emancipate",
"params": [
{
"descr": "Name of class to emancipate",
"name": "classname"
}
],
"path": "php/function.runkit-class-emancipate",
"syntax": "bool runkit_class_emancipate ( string $classname )",
"type": "Classes and Functions"
},
"runkit_constant_add": {
"descr": "",
"name": "runkit_constant_add",
"params": [
{
"descr": "Name of constant to declare. Either a string to indicate a global constant, or classname::constname to indicate a class constant.",
"name": "constname"
},
{
"descr": "NULL, Bool, Long, Double, String, or Resource value to store in the new constant.",
"name": "value"
}
],
"path": "php/function.runkit-constant-add",
"syntax": "bool runkit_constant_add ( string $constname , mixed $value )",
"type": "Classes and Functions"
},
"runkit_constant_redefine": {
"descr": "",
"name": "runkit_constant_redefine",
"params": [
{
"descr": "Constant to redefine. Either string indicating global constant, or classname::constname indicating class constant.",
"name": "constname"
},
{
"descr": "New value to assign to constant.",
"name": "newvalue"
}
],
"path": "php/function.runkit-constant-redefine",
"syntax": "bool runkit_constant_redefine ( string $constname , mixed $newvalue )",
"type": "Classes and Functions"
},
"runkit_constant_remove": {
"descr": "",
"name": "runkit_constant_remove",
"params": [
{
"descr": "Name of constant to remove. Either a string indicating a global constant, or classname::constname indicating a class constant.",
"name": "constname"
}
],
"path": "php/function.runkit-constant-remove",
"syntax": "bool runkit_constant_remove ( string $constname )",
"type": "Classes and Functions"
},
"runkit_function_add": {
"descr": "",
"name": "runkit_function_add",
"params": [
{
"descr": "Name of function to be created",
"name": "funcname"
},
{
"descr": "Comma separated argument list",
"name": "arglist"
},
{
"descr": "Code making up the function",
"name": "code"
}
],
"path": "php/function.runkit-function-add",
"syntax": "bool runkit_function_add ( string $funcname , string $arglist , string $code )",
"type": "Classes and Functions"
},
"runkit_function_copy": {
"descr": "",
"name": "runkit_function_copy",
"params": [
{
"descr": "Name of existing function",
"name": "funcname"
},
{
"descr": "Name of new function to copy definition to",
"name": "targetname"
}
],
"path": "php/function.runkit-function-copy",
"syntax": "bool runkit_function_copy ( string $funcname , string $targetname )",
"type": "Classes and Functions"
},
"runkit_function_redefine": {
"descr": "",
"name": "runkit_function_redefine",
"params": [
{
"descr": "Name of function to redefine",
"name": "funcname"
},
{
"descr": "New list of arguments to be accepted by function",
"name": "arglist"
},
{
"descr": "New code implementation",
"name": "code"
}
],
"path": "php/function.runkit-function-redefine",
"syntax": "bool runkit_function_redefine ( string $funcname , string $arglist , string $code )",
"type": "Classes and Functions"
},
"runkit_function_remove": {
"descr": "",
"name": "runkit_function_remove",
"params": [
{
"descr": "Name of function to be deleted",
"name": "funcname"
}
],
"path": "php/function.runkit-function-remove",
"syntax": "bool runkit_function_remove ( string $funcname )",
"type": "Classes and Functions"
},
"runkit_function_rename": {
"descr": "",
"name": "runkit_function_rename",
"params": [
{
"descr": "Current function name",
"name": "funcname"
},
{
"descr": "New function name",
"name": "newname"
}
],
"path": "php/function.runkit-function-rename",
"syntax": "bool runkit_function_rename ( string $funcname , string $newname )",
"type": "Classes and Functions"
},
"runkit_import": {
"descr": "Similar to include however any code residing outside of a function or class is simply ignored. Additionally, depending on the value of flags, any functions or classes which already exist in the currently running environment will be automatically overwritten by their new definitions.",
"name": "runkit_import",
"params": [
{
"descr": "Filename to import function and class definitions from",
"name": "filename"
},
{
"descr": "Bitwise OR of the RUNKIT_IMPORT_* family of constants.",
"name": "flags"
}
],
"path": "php/function.runkit-import",
"syntax": "bool runkit_import ( string $filename [, int $flags = RUNKIT_IMPORT_CLASS_METHODS ] )",
"type": "Classes and Functions"
},
"runkit_lint": {
"descr": "The runkit_lint() function performs a syntax (lint) check on the specified php code testing for scripting errors. This is similar to using php -l from the command line except runkit_lint() accepts actual code rather than a filename.",
"name": "runkit_lint",
"params": [
{
"descr": "PHP Code to be lint checked",
"name": "code"
}
],
"path": "php/function.runkit-lint",
"syntax": "bool runkit_lint ( string $code )",
"type": "Classes and Functions"
},
"runkit_lint_file": {
"descr": "The runkit_lint_file() function performs a syntax (lint) check on the specified filename testing for scripting errors. This is similar to using php -l from the commandline.",
"name": "runkit_lint_file",
"params": [
{
"descr": "File containing PHP Code to be lint checked",
"name": "filename"
}
],
"path": "php/function.runkit-lint-file",
"syntax": "bool runkit_lint_file ( string $filename )",
"type": "Classes and Functions"
},
"runkit_method_add": {
"descr": "",
"name": "runkit_method_add",
"params": [
{
"descr": "The class to which this method will be added",
"name": "classname"
},
{
"descr": "The name of the method to add",
"name": "methodname"
},
{
"descr": "Comma-delimited list of arguments for the newly-created method",
"name": "args"
},
{
"descr": "The code to be evaluated when methodname is called",
"name": "code"
},
{
"descr": "The type of method to create, can be RUNKIT_ACC_PUBLIC, RUNKIT_ACC_PROTECTED or RUNKIT_ACC_PRIVATE Note: This parameter is only used as of PHP 5, because, prior to this, all methods were public.",
"name": "flags"
}
],
"path": "php/function.runkit-method-add",
"syntax": "bool runkit_method_add ( string $classname , string $methodname , string $args , string $code [, int $flags = RUNKIT_ACC_PUBLIC ] )",
"type": "Classes and Functions"
},
"runkit_method_copy": {
"descr": "",
"name": "runkit_method_copy",
"params": [
{
"descr": "Destination class for copied method",
"name": "dClass"
},
{
"descr": "Destination method name",
"name": "dMethod"
},
{
"descr": "Source class of the method to copy",
"name": "sClass"
},
{
"descr": "Name of the method to copy from the source class. ",
"name": "sMethod"
}
],
"path": "php/function.runkit-method-copy",
"syntax": "bool runkit_method_copy ( string $dClass , string $dMethod , string $sClass [, string $sMethod ] )",
"type": "Classes and Functions"
},
"runkit_method_redefine": {
"descr": "",
"name": "runkit_method_redefine",
"params": [
{
"descr": "The class in which to redefine the method",
"name": "classname"
},
{
"descr": "The name of the method to redefine",
"name": "methodname"
},
{
"descr": "Comma-delimited list of arguments for the redefined method",
"name": "args"
},
{
"descr": "The new code to be evaluated when methodname is called",
"name": "code"
},
{
"descr": "The redefined method can be RUNKIT_ACC_PUBLIC, RUNKIT_ACC_PROTECTED or RUNKIT_ACC_PRIVATE Note: This parameter is only used as of PHP 5, because, prior to this, all methods were public.",
"name": "flags"
}
],
"path": "php/function.runkit-method-redefine",
"syntax": "bool runkit_method_redefine ( string $classname , string $methodname , string $args , string $code [, int $flags = RUNKIT_ACC_PUBLIC ] )",
"type": "Classes and Functions"
},
"runkit_method_remove": {
"descr": "",
"name": "runkit_method_remove",
"params": [
{
"descr": "The class in which to remove the method",
"name": "classname"
},
{
"descr": "The name of the method to remove",
"name": "methodname"
}
],
"path": "php/function.runkit-method-remove",
"syntax": "bool runkit_method_remove ( string $classname , string $methodname )",
"type": "Classes and Functions"
},
"runkit_method_rename": {
"descr": "",
"name": "runkit_method_rename",
"params": [
{
"descr": "The class in which to rename the method",
"name": "classname"
},
{
"descr": "The name of the method to rename",
"name": "methodname"
},
{
"descr": "The new name to give to the renamed method",
"name": "newname"
}
],
"path": "php/function.runkit-method-rename",
"syntax": "bool runkit_method_rename ( string $classname , string $methodname , string $newname )",
"type": "Classes and Functions"
},
"runkit_return_value_used": {
"descr": "",
"name": "runkit_return_value_used",
"params": [],
"path": "php/function.runkit-return-value-used",
"syntax": "bool runkit_return_value_used ( void )",
"type": "Classes and Functions"
},
"runkit_sandbox_output_handler": {
"descr": "Ordinarily, anything output (such as with echo or print) will be output as though it were printed from the parent's scope. Using runkit_sandbox_output_handler() however, output generated by the sandbox (including errors), can be captured by a function outside of the sandbox.",
"name": "runkit_sandbox_output_handler",
"params": [
{
"descr": "Object instance of Runkit_Sandbox class on which to set output handling.",
"name": "sandbox"
},
{
"descr": "Name of a function which expects one parameter. ",
"name": "callback"
}
],
"path": "php/function.runkit-sandbox-output-handler",
"syntax": "mixed runkit_sandbox_output_handler ( object $sandbox [, mixed $callback ] )",
"type": "Classes and Functions"
},
"runkit_superglobals": {
"descr": "",
"name": "runkit_superglobals",
"params": [],
"path": "php/function.runkit-superglobals",
"syntax": "array runkit_superglobals ( void )",
"type": "Classes and Functions"
},
"scandir": {
"descr": "Returns an array of files and directories from the directory.",
"name": "scandir",
"params": [
{
"descr": "The directory that will be scanned.",
"name": "directory"
},
{
"descr": "By default, the sorted order is alphabetical in ascending order. ",
"name": "sorting_order"
},
{
"descr": "For a description of the context parameter, refer to the streams section of the manual.",
"name": "context"
}
],
"path": "php/function.scandir",
"syntax": "array scandir ( string $directory [, int $sorting_order = SCANDIR_SORT_ASCENDING [, resource $context ]] )",
"type": "File System"
},
"serialize": {
"descr": "Generates a storable representation of a value.",
"name": "serialize",
"params": [
{
"descr": "The value to be serialized. serialize() handles all types, except the resource-type. ",
"name": "value"
}
],
"path": "php/function.serialize",
"syntax": "string serialize ( mixed $value )",
"type": "Variables"
},
"session_cache_expire": {
"descr": "session_cache_expire() returns the current setting of session.cache_expire.",
"name": "session_cache_expire",
"params": [
{
"descr": "If new_cache_expire is given, the current cache expire is replaced with new_cache_expire. ",
"name": "new_cache_expire"
}
],
"path": "php/function.session-cache-expire",
"syntax": "int session_cache_expire ([ string $new_cache_expire ] )",
"type": "Sessions"
},
"session_cache_limiter": {
"descr": "session_cache_limiter() returns the name of the current cache limiter.",
"name": "session_cache_limiter",
"params": [
{
"descr": "If cache_limiter is specified, the name of the current cache limiter is changed to the new value. ",
"name": "cache_limiter"
}
],
"path": "php/function.session-cache-limiter",
"syntax": "string session_cache_limiter ([ string $cache_limiter ] )",
"type": "Sessions"
},
"session_decode": {
"descr": "session_decode() decodes the serialized session data provided in $data, and populates the $_SESSION superglobal with the result.",
"name": "session_decode",
"params": [
{
"descr": "The encoded data to be stored.",
"name": "data"
}
],
"path": "php/function.session-decode",
"syntax": "bool session_decode ( string $data )",
"type": "Sessions"
},
"session_destroy": {
"descr": "",
"name": "session_destroy",
"params": [],
"path": "php/function.session-destroy",
"syntax": "bool session_destroy ( void )",
"type": "Sessions"
},
"session_encode": {
"descr": "session_encode() returns a serialized string of the contents of the current session data stored in the $_SESSION superglobal.",
"name": "session_encode",
"params": [],
"path": "php/function.session-encode",
"syntax": "string session_encode ( void )",
"type": "Sessions"
},
"session_get_cookie_params": {
"descr": "Gets the session cookie parameters.",
"name": "session_get_cookie_params",
"params": [],
"path": "php/function.session-get-cookie-params",
"syntax": "array session_get_cookie_params ( void )",
"type": "Sessions"
},
"session_id": {
"descr": "session_id() is used to get or set the session id for the current session.",
"name": "session_id",
"params": [
{
"descr": "If id is specified, it will replace the current session id. ",
"name": "id"
}
],
"path": "php/function.session-id",
"syntax": "string session_id ([ string $id ] )",
"type": "Sessions"
},
"session_is_registered": {
"descr": "Finds out whether a global variable is registered in a session.",
"name": "session_is_registered",
"params": [
{
"descr": "The variable name.",
"name": "name"
}
],
"path": "php/function.session-is-registered",
"syntax": "bool session_is_registered ( string $name )",
"type": "Sessions"
},
"session_module_name": {
"descr": "session_module_name() gets the name of the current session module.",
"name": "session_module_name",
"params": [
{
"descr": "If module is specified, that module will be used instead.",
"name": "module"
}
],
"path": "php/function.session-module-name",
"syntax": "string session_module_name ([ string $module ] )",
"type": "Sessions"
},
"session_name": {
"descr": "session_name() returns the name of the current session. If name is given, session_name() will update the session name and return the old session name.",
"name": "session_name",
"params": [
{
"descr": "The session name references the name of the session, which is used in cookies and URLs (e.g. ",
"name": "name"
}
],
"path": "php/function.session-name",
"syntax": "string session_name ([ string $name ] )",
"type": "Sessions"
},
"session_pgsql_add_error": {
"descr": "",
"name": "session_pgsql_add_error",
"params": [],
"path": "php/function.session-pgsql-add-error",
"syntax": "bool session_pgsql_add_error ( int $error_level [, string $error_message ] )",
"type": "Database/PostgreSQL"
},
"session_pgsql_get_error": {
"descr": "Get the number of errors and optional the error messages.",
"name": "session_pgsql_get_error",
"params": [
{
"descr": "Set to TRUE the literal error message for each error is also returned.",
"name": "with_error_message"
}
],
"path": "php/function.session-pgsql-get-error",
"syntax": "array session_pgsql_get_error ([ bool $with_error_message = false ] )",
"type": "Database/PostgreSQL"
},
"session_pgsql_get_field": {
"descr": "",
"name": "session_pgsql_get_field",
"params": [],
"path": "php/function.session-pgsql-get-field",
"syntax": "string session_pgsql_get_field ( void )",
"type": "Database/PostgreSQL"
},
"session_pgsql_reset": {
"descr": "Reset the connection to the session database servers.",
"name": "session_pgsql_reset",
"params": [],
"path": "php/function.session-pgsql-reset",
"syntax": "bool session_pgsql_reset ( void )",
"type": "Database/PostgreSQL"
},
"session_pgsql_set_field": {
"descr": "",
"name": "session_pgsql_set_field",
"params": [],
"path": "php/function.session-pgsql-set-field",
"syntax": "bool session_pgsql_set_field ( string $value )",
"type": "Database/PostgreSQL"
},
"session_pgsql_status": {
"descr": "",
"name": "session_pgsql_status",
"params": [],
"path": "php/function.session-pgsql-status",
"syntax": "array session_pgsql_status ( void )",
"type": "Database/PostgreSQL"
},
"session_regenerate_id": {
"descr": "session_regenerate_id() will replace the current session id with a new one, and keep the current session information.",
"name": "session_regenerate_id",
"params": [
{
"descr": "Whether to delete the old associated session file or not.",
"name": "delete_old_session"
}
],
"path": "php/function.session-regenerate-id",
"syntax": "bool session_regenerate_id ([ bool $delete_old_session = false ] )",
"type": "Sessions"
},
"session_register": {
"descr": "session_register() accepts a variable number of arguments, any of which can be either a string holding the name of a variable or an array consisting of variable names or other arrays. For each name, session_register() registers the global variable with that name in the current session.",
"name": "session_register",
"params": [
{
"descr": "A string holding the name of a variable or an array consisting of variable names or other arrays.",
"name": "name"
}
],
"path": "php/function.session-register",
"syntax": "bool session_register ( mixed $name [, mixed $... ] )",
"type": "Sessions"
},
"session_register_shutdown": {
"descr": "Registers session_write_close() as a shutdown function.",
"name": "session_register_shutdown",
"params": [],
"path": "php/function.session-register-shutdown",
"syntax": "void session_register_shutdown ( void )",
"type": "Sessions"
},
"session_save_path": {
"descr": "session_save_path() returns the path of the current directory used to save session data.",
"name": "session_save_path",
"params": [
{
"descr": "Session data path. If specified, the path to which data is saved will be changed. ",
"name": "path"
}
],
"path": "php/function.session-save-path",
"syntax": "string session_save_path ([ string $path ] )",
"type": "Sessions"
},
"session_set_cookie_params": {
"descr": "Set cookie parameters defined in the php.ini file. The effect of this function only lasts for the duration of the script. Thus, you need to call session_set_cookie_params() for every request and before session_start() is called.",
"name": "session_set_cookie_params",
"params": [
{
"descr": "Lifetime of the session cookie, defined in seconds.",
"name": "lifetime"
},
{
"descr": "Path on the domain where the cookie will work. ",
"name": "path"
},
{
"descr": "Cookie domain, for example 'www.php.net'. ",
"name": "domain"
},
{
"descr": "If TRUE cookie will only be sent over secure connections.",
"name": "secure"
},
{
"descr": "If set to TRUE then PHP will attempt to send the httponly flag when setting the session cookie.",
"name": "httponly"
}
],
"path": "php/function.session-set-cookie-params",
"syntax": "void session_set_cookie_params ( int $lifetime [, string $path [, string $domain [, bool $secure = false [, bool $httponly = false ]]]] )",
"type": "Sessions"
},
"session_set_save_handler": {
"descr": "session_set_save_handler() sets the user-level session storage functions which are used for storing and retrieving data associated with a session. This is most useful when a storage method other than those supplied by PHP sessions is preferred. i.e. Storing the session data in a local database.",
"name": "session_set_save_handler",
"params": [
{
"descr": "An instance of a class implementing SessionHandlerInterface, such as SessionHandler, to register as the session handler. ",
"name": "sessionhandler"
},
{
"descr": "Register session_write_close() as a register_shutdown_function() function.",
"name": "register_shutdown"
},
{
"descr": "The open callback works like a constructor in classes and is executed when the session is being opened. ",
"name": "open(string $savePath, string $sessionName)"
},
{
"descr": "The close callback works like a destructor in classes and is executed after the session write callback has been called. ",
"name": "close()"
},
{
"descr": "The read callback must always return a session encoded (serialized) string, or an empty string if there is no data to read. ",
"name": "read(string $sessionId)"
},
{
"descr": "The write callback is called when the session needs to be saved and closed. ",
"name": "write(string $sessionId, string $data)"
},
{
"descr": "This callback is executed when a session is destroyed with session_destroy() or with session_regenerate_id() with the destroy parameter set to TRUE. ",
"name": "destroy($sessionId)"
},
{
"descr": "The garbage collector callback is invoked internally by PHP periodically in order to purge old session data. ",
"name": "gc($lifetime)"
}
],
"path": "php/function.session-set-save-handler",
"syntax": "bool session_set_save_handler ( callable $open , callable $close , callable $read , callable $write , callable $destroy , callable $gc )",
"type": "Sessions"
},
"session_start": {
"descr": "session_start() creates a session or resumes the current one based on a session identifier passed via a GET or POST request, or passed via a cookie.",
"name": "session_start",
"params": [],
"path": "php/function.session-start",
"syntax": "bool session_start ( void )",
"type": "Sessions"
},
"session_status": {
"descr": "session_status() is used to return the current session status.",
"name": "session_status",
"params": [],
"path": "php/function.session-status",
"syntax": "int session_status ( void )",
"type": "Sessions"
},
"session_unregister": {
"descr": "session_unregister() unregisters the global variable named name from the current session.",
"name": "session_unregister",
"params": [
{
"descr": "The variable name.",
"name": "name"
}
],
"path": "php/function.session-unregister",
"syntax": "bool session_unregister ( string $name )",
"type": "Sessions"
},
"session_unset": {
"descr": "The session_unset() function frees all session variables currently registered.",
"name": "session_unset",
"params": [],
"path": "php/function.session-unset",
"syntax": "void session_unset ( void )",
"type": "Sessions"
},
"session_write_close": {
"descr": "End the current session and store session data.",
"name": "session_write_close",
"params": [],
"path": "php/function.session-write-close",
"syntax": "void session_write_close ( void )",
"type": "Sessions"
},
"set_error_handler": {
"descr": "Sets a user function (error_handler) to handle errors in a script.",
"name": "set_error_handler",
"params": [
{
"descr": "A callback with the following signature. ",
"name": "error_handler"
},
{
"descr": "The second parameter, errstr, contains the error message, as a string.",
"name": "errstr"
},
{
"descr": "The third parameter is optional, errfile, which contains the filename that the error was raised in, as a string.",
"name": "errfile"
},
{
"descr": "The fourth parameter is optional, errline, which contains the line number the error was raised at, as an integer.",
"name": "errline"
},
{
"descr": "The fifth parameter is optional, errcontext, which is an array that points to the active symbol table at the point the error occurred. ",
"name": "errcontext"
},
{
"descr": "Can be used to mask the triggering of the error_handler function just like the error_reporting ini setting controls which errors are shown. ",
"name": "error_types"
}
],
"path": "php/function.set-error-handler",
"syntax": "mixed set_error_handler ( callable $error_handler [, int $error_types = E_ALL | E_STRICT ] )",
"type": "Errors"
},
"set_exception_handler": {
"descr": "Sets the default exception handler if an exception is not caught within a try/catch block. Execution will stop after the exception_handler is called.",
"name": "set_exception_handler",
"params": [
{
"descr": "Name of the function to be called when an uncaught exception occurs. ",
"name": "exception_handler"
}
],
"path": "php/function.set-exception-handler",
"syntax": "callable set_exception_handler ( callable $exception_handler )",
"type": "Errors"
},
"set_include_path": {
"descr": "Sets the include_path configuration option for the duration of the script.",
"name": "set_include_path",
"params": [
{
"descr": "The new value for the include_path",
"name": "new_include_path"
}
],
"path": "php/function.set-include-path",
"syntax": "string set_include_path ( string $new_include_path )",
"type": "Language"
},
"set_magic_quotes_runtime": {
"descr": "Set the current active configuration setting of magic_quotes_runtime.",
"name": "set_magic_quotes_runtime",
"params": [
{
"descr": "FALSE for off, TRUE for on.",
"name": "new_setting"
}
],
"path": "php/function.set-magic-quotes-runtime",
"syntax": "bool set_magic_quotes_runtime ( bool $new_setting )",
"type": "Language"
},
"set_time_limit": {
"descr": "Set the number of seconds a script is allowed to run. If this is reached, the script returns a fatal error. The default limit is 30 seconds or, if it exists, the max_execution_time value defined in the php.ini.",
"name": "set_time_limit",
"params": [
{
"descr": "The maximum execution time, in seconds. ",
"name": "seconds"
}
],
"path": "php/function.set-time-limit",
"syntax": "void set_time_limit ( int $seconds )",
"type": "Language"
},
"setcookie": {
"descr": "setcookie() defines a cookie to be sent along with the rest of the HTTP headers. Like other headers, cookies must be sent before any output from your script (this is a protocol restriction). This requires that you place calls to this function prior to any output, including and tags as well as any whitespace.",
"name": "setcookie",
"params": [
{
"descr": "The name of the cookie.",
"name": "name"
},
{
"descr": "The value of the cookie. This value is stored on the clients computer; do not store sensitive information. ",
"name": "value"
},
{
"descr": "The time the cookie expires. This is a Unix timestamp so is in number of seconds since the epoch. ",
"name": "expire"
},
{
"descr": "The path on the server in which the cookie will be available on. ",
"name": "path"
},
{
"descr": "The domain that the cookie is available to. ",
"name": "domain"
},
{
"descr": "Indicates that the cookie should only be transmitted over a secure HTTPS connection from the client. ",
"name": "secure"
},
{
"descr": "When TRUE the cookie will be made accessible only through the HTTP protocol. ",
"name": "httponly"
}
],
"path": "php/function.setcookie",
"syntax": "bool setcookie ( string $name [, string $value [, int $expire = 0 [, string $path [, string $domain [, bool $secure = false [, bool $httponly = false ]]]]]] )",
"type": "Networking"
},
"setlocale": {
"descr": "Sets locale information.",
"name": "setlocale",
"params": [
{
"descr": "category is a named constant specifying the category of the functions affected by the locale setting: LC_ALL for all of the below LC_COLLATE for string comparison, see strcoll() LC_CTYPE for character classification and conversion, for example strtoupper() LC_MONETARY for localeconv() LC_NUMERIC for decimal separator (See also localeconv()) LC_TIME for date and time formatting with strftime() LC_MESSAGES for system responses (available if PHP was compiled with libintl)",
"name": "category"
},
{
"descr": "If locale is NULL or the empty string \"\", the locale names will be set from the values of environment variables with the same names as the above categories, or from \"LANG\". ",
"name": "locale"
},
{
"descr": "(Optional string or array parameters to try as locale settings until success.)",
"name": "..."
}
],
"path": "php/function.setlocale",
"syntax": "string setlocale ( int $category , string $locale [, string $... ] )",
"type": "String"
},
"setrawcookie": {
"descr": "setrawcookie() is exactly the same as setcookie() except that the cookie value will not be automatically urlencoded when sent to the browser.",
"name": "setrawcookie",
"params": [],
"path": "php/function.setrawcookie",
"syntax": "bool setrawcookie ( string $name [, string $value [, int $expire = 0 [, string $path [, string $domain [, bool $secure = false [, bool $httponly = false ]]]]]] )",
"type": "Networking"
},
"settype": {
"descr": "Set the type of variable var to type.",
"name": "settype",
"params": [
{
"descr": "The variable being converted.",
"name": "var"
},
{
"descr": "Possibles values of type are: \"boolean\" (or, since PHP 4.2.0, \"bool\") \"integer\" (or, since PHP 4.2.0, \"int\") \"float\" (only possible since PHP 4.2.0, for older versions use the deprecated variant \"double\") \"string\" \"array\" \"object\" \"null\" (since PHP 4.2.0)",
"name": "type"
}
],
"path": "php/function.settype",
"syntax": "bool settype ( mixed &$var , string $type )",
"type": "Variables"
},
"sha1": {
"descr": "",
"name": "sha1",
"params": [
{
"descr": "The input string.",
"name": "str"
},
{
"descr": "If the optional raw_output is set to TRUE, then the sha1 digest is instead returned in raw binary format with a length of 20, otherwise the returned value is a 40-character hexadecimal number.",
"name": "raw_output"
}
],
"path": "php/function.sha1",
"syntax": "string sha1 ( string $str [, bool $raw_output = false ] )",
"type": "String"
},
"sha1_file": {
"descr": "",
"name": "sha1_file",
"params": [
{
"descr": "The filename of the file to hash.",
"name": "filename"
},
{
"descr": "When TRUE, returns the digest in raw binary format with a length of 20.",
"name": "raw_output"
}
],
"path": "php/function.sha1-file",
"syntax": "string sha1_file ( string $filename [, bool $raw_output = false ] )",
"type": "String"
},
"shell_exec": {
"descr": "This function is identical to the backtick operator.",
"name": "shell_exec",
"params": [
{
"descr": "The command that will be executed.",
"name": "cmd"
}
],
"path": "php/function.shell-exec",
"syntax": "string shell_exec ( string $cmd )",
"type": "Process Control"
},
"shuffle": {
"descr": "This function shuffles (randomizes the order of the elements in) an array.",
"name": "shuffle",
"params": [
{
"descr": "The array.",
"name": "array"
}
],
"path": "php/function.shuffle",
"syntax": "bool shuffle ( array &$array )",
"type": "Array"
},
"similar_text": {
"descr": "This calculates the similarity between two strings as described in Programming Classics: Implementing the World's Best Algorithms by Oliver (ISBN 0-131-00413-1). Note that this implementation does not use a stack as in Oliver's pseudo code, but recursive calls which may or may not speed up the whole process. Note also that the complexity of this algorithm is O(N**3) where N is the length of the longest string.",
"name": "similar_text",
"params": [
{
"descr": "The first string.",
"name": "first"
},
{
"descr": "The second string.",
"name": "second"
},
{
"descr": "By passing a reference as third argument, similar_text() will calculate the similarity in percent for you.",
"name": "percent"
}
],
"path": "php/function.similar-text",
"syntax": "int similar_text ( string $first , string $second [, float &$percent ] )",
"type": "String"
},
"simplexml_import_dom": {
"descr": "This function takes a node of a DOM document and makes it into a SimpleXML node. This new object can then be used as a native SimpleXML element.",
"name": "simplexml_import_dom",
"params": [
{
"descr": "A DOM Element node",
"name": "node"
},
{
"descr": "You may use this optional parameter so that simplexml_import_dom() will return an object of the specified class. ",
"name": "class_name"
}
],
"path": "php/function.simplexml-import-dom",
"syntax": "SimpleXMLElement simplexml_import_dom ( DOMNode $node [, string $class_name = \"SimpleXMLElement\" ] )",
"type": "XML"
},
"simplexml_load_file": {
"descr": "Convert the well-formed XML document in the given file to an object.",
"name": "simplexml_load_file",
"params": [
{
"descr": "Path to the XML file Note: Libxml 2 unescapes the URI, so if you want to pass e.g. ",
"name": "filename"
},
{
"descr": "You may use this optional parameter so that simplexml_load_file() will return an object of the specified class. ",
"name": "class_name"
},
{
"descr": "Since PHP 5.1.0 and Libxml 2.6.0, you may also use the options parameter to specify additional Libxml parameters.",
"name": "options"
},
{
"descr": "Namespace prefix or URI.",
"name": "ns"
},
{
"descr": "TRUE if ns is a prefix, FALSE if it's a URI; defaults to FALSE.",
"name": "is_prefix"
}
],
"path": "php/function.simplexml-load-file",
"syntax": "SimpleXMLElement simplexml_load_file ( string $filename [, string $class_name = \"SimpleXMLElement\" [, int $options = 0 [, string $ns = \"\" [, bool $is_prefix = false ]]]] )",
"type": "XML"
},
"simplexml_load_string": {
"descr": "Takes a well-formed XML string and returns it as an object.",
"name": "simplexml_load_string",
"params": [
{
"descr": "A well-formed XML string",
"name": "data"
},
{
"descr": "You may use this optional parameter so that simplexml_load_string() will return an object of the specified class. ",
"name": "class_name"
},
{
"descr": "Since PHP 5.1.0 and Libxml 2.6.0, you may also use the options parameter to specify additional Libxml parameters.",
"name": "options"
},
{
"descr": "Namespace prefix or URI.",
"name": "ns"
},
{
"descr": "TRUE if ns is a prefix, FALSE if it's a URI; defaults to FALSE.",
"name": "is_prefix"
}
],
"path": "php/function.simplexml-load-string",
"syntax": "SimpleXMLElement simplexml_load_string ( string $data [, string $class_name = \"SimpleXMLElement\" [, int $options = 0 [, string $ns = \"\" [, bool $is_prefix = false ]]]] )",
"type": "XML"
},
"sin": {
"descr": "sin() returns the sine of the arg parameter. The arg parameter is in radians.",
"name": "sin",
"params": [
{
"descr": "A value in radians",
"name": "arg"
}
],
"path": "php/function.sin",
"syntax": "float sin ( float $arg )",
"type": "Mathematics"
},
"sinh": {
"descr": "Returns the hyperbolic sine of arg, defined as (exp(arg) - exp(-arg))/2.",
"name": "sinh",
"params": [
{
"descr": "The argument to process",
"name": "arg"
}
],
"path": "php/function.sinh",
"syntax": "float sinh ( float $arg )",
"type": "Mathematics"
},
"sleep": {
"descr": "",
"name": "sleep",
"params": [
{
"descr": "Halt time in seconds.",
"name": "seconds"
}
],
"path": "php/function.sleep",
"syntax": "int sleep ( int $seconds )",
"type": "Language"
},
"socket_accept": {
"descr": "After the socket socket has been created using socket_create(), bound to a name with socket_bind(), and told to listen for connections with socket_listen(), this function will accept incoming connections on that socket. Once a successful connection is made, a new socket resource is returned, which may be used for communication. If there are multiple connections queued on the socket, the first will be used. If there are no pending connections, socket_accept() will block until a connection becomes present. If socket has been made non-blocking using socket_set_blocking() or socket_set_nonblock(), FALSE will be returned.",
"name": "socket_accept",
"params": [
{
"descr": "A valid socket resource created with socket_create().",
"name": "socket"
}
],
"path": "php/function.socket-accept",
"syntax": "resource socket_accept ( resource $socket )",
"type": "Networking"
},
"socket_bind": {
"descr": "Binds the name given in address to the socket described by socket. This has to be done before a connection is be established using socket_connect() or socket_listen().",
"name": "socket_bind",
"params": [
{
"descr": "A valid socket resource created with socket_create().",
"name": "socket"
},
{
"descr": "If the socket is of the AF_INET family, the address is an IP in dotted-quad notation (e.g. ",
"name": "address"
},
{
"descr": "The port parameter is only used when binding an AF_INET socket, and designates the port on which to listen for connections.",
"name": "port (Optional)"
}
],
"path": "php/function.socket-bind",
"syntax": "bool socket_bind ( resource $socket , string $address [, int $port = 0 ] )",
"type": "Networking"
},
"socket_clear_error": {
"descr": "This function clears the error code on the given socket or the global last socket error if no socket is specified.",
"name": "socket_clear_error",
"params": [
{
"descr": "A valid socket resource created with socket_create().",
"name": "socket"
}
],
"path": "php/function.socket-clear-error",
"syntax": "void socket_clear_error ([ resource $socket ] )",
"type": "Networking"
},
"socket_close": {
"descr": "socket_close() closes the socket resource given by socket. This function is specific to sockets and cannot be used on any other type of resources.",
"name": "socket_close",
"params": [
{
"descr": "A valid socket resource created with socket_create() or socket_accept().",
"name": "socket"
}
],
"path": "php/function.socket-close",
"syntax": "void socket_close ( resource $socket )",
"type": "Networking"
},
"socket_cmsg_space": {
"descr": "Calculates the size of the buffer that should be allocated for receiving the ancillary data.",
"name": "socket_cmsg_space",
"params": [],
"path": "php/function.socket-cmsg-space",
"syntax": "int socket_cmsg_space ( int $level , int $type )",
"type": "Networking"
},
"socket_connect": {
"descr": "Initiate a connection to address using the socket resource socket, which must be a valid socket resource created with socket_create().",
"name": "socket_connect",
"params": [
{
"descr": "The address parameter is either an IPv4 address in dotted-quad notation (e.g. ",
"name": "socket address"
},
{
"descr": "The port parameter is only used and is mandatory when connecting to an AF_INET or an AF_INET6 socket, and designates the port on the remote host to which a connection should be made.",
"name": "port"
}
],
"path": "php/function.socket-connect",
"syntax": "bool socket_connect ( resource $socket , string $address [, int $port = 0 ] )",
"type": "Networking"
},
"socket_create": {
"descr": "Creates and returns a socket resource, also referred to as an endpoint of communication. A typical network connection is made up of 2 sockets, one performing the role of the client, and another performing the role of the server.",
"name": "socket_create",
"params": [
{
"descr": "The domain parameter specifies the protocol family to be used by the socket. ",
"name": "domain"
},
{
"descr": "The type parameter selects the type of communication to be used by the socket. ",
"name": "type"
},
{
"descr": "The protocol parameter sets the specific protocol within the specified domain to be used when communicating on the returned socket. ",
"name": "protocol"
}
],
"path": "php/function.socket-create",
"syntax": "resource socket_create ( int $domain , int $type , int $protocol )",
"type": "Networking"
},
"socket_create_listen": {
"descr": "socket_create_listen() creates a new socket resource of type AF_INET listening on all local interfaces on the given port waiting for new connections.",
"name": "socket_create_listen",
"params": [
{
"descr": "The port on which to listen on all interfaces.",
"name": "port"
},
{
"descr": "The backlog parameter defines the maximum length the queue of pending connections may grow to. ",
"name": "backlog"
}
],
"path": "php/function.socket-create-listen",
"syntax": "resource socket_create_listen ( int $port [, int $backlog = 128 ] )",
"type": "Networking"
},
"socket_create_pair": {
"descr": "socket_create_pair() creates two connected and indistinguishable sockets, and stores them in fd. This function is commonly used in IPC (InterProcess Communication).",
"name": "socket_create_pair",
"params": [
{
"descr": "The domain parameter specifies the protocol family to be used by the socket. ",
"name": "domain"
},
{
"descr": "The type parameter selects the type of communication to be used by the socket. ",
"name": "type"
},
{
"descr": "The protocol parameter sets the specific protocol within the specified domain to be used when communicating on the returned socket. ",
"name": "protocol"
},
{
"descr": "Reference to an array in which the two socket resources will be inserted.",
"name": "fd"
}
],
"path": "php/function.socket-create-pair",
"syntax": "bool socket_create_pair ( int $domain , int $type , int $protocol , array &$fd )",
"type": "Networking"
},
"socket_get_option": {
"descr": "The socket_get_option() function retrieves the value for the option specified by the optname parameter for the specified socket.",
"name": "socket_get_option",
"params": [
{
"descr": "A valid socket resource created with socket_create() or socket_accept().",
"name": "socket"
},
{
"descr": "The level parameter specifies the protocol level at which the option resides. ",
"name": "level"
},
{
"descr": "Available Socket Options Option Description Type SO_DEBUG Reports whether debugging information is being recorded. ",
"name": "optname"
}
],
"path": "php/function.socket-get-option",
"syntax": "mixed socket_get_option ( resource $socket , int $level , int $optname )",
"type": "Networking"
},
"socket_getpeername": {
"descr": "Queries the remote side of the given socket which may either result in host/port or in a Unix filesystem path, dependent on its type.",
"name": "socket_getpeername",
"params": [
{
"descr": "A valid socket resource created with socket_create() or socket_accept().",
"name": "socket"
},
{
"descr": "If the given socket is of type AF_INET or AF_INET6, socket_getpeername() will return the peers (remote) IP address in appropriate notation (e.g. ",
"name": "address"
},
{
"descr": "If given, this will hold the port associated to address.",
"name": "port"
}
],
"path": "php/function.socket-getpeername",
"syntax": "bool socket_getpeername ( resource $socket , string &$address [, int &$port ] )",
"type": "Networking"
},
"socket_getsockname": {
"descr": "",
"name": "socket_getsockname",
"params": [
{
"descr": "A valid socket resource created with socket_create() or socket_accept().",
"name": "socket"
},
{
"descr": "If the given socket is of type AF_INET or AF_INET6, socket_getsockname() will return the local IP address in appropriate notation (e.g. ",
"name": "addr"
},
{
"descr": "If provided, this will hold the associated port.",
"name": "port"
}
],
"path": "php/function.socket-getsockname",
"syntax": "bool socket_getsockname ( resource $socket , string &$addr [, int &$port ] )",
"type": "Networking"
},
"socket_import_stream": {
"descr": "Imports a stream that encapsulates a socket into a socket extension resource.",
"name": "socket_import_stream",
"params": [
{
"descr": "The stream resource to import.",
"name": "stream"
}
],
"path": "php/function.socket-import-stream",
"syntax": "resource socket_import_stream ( resource $stream )",
"type": "Networking"
},
"socket_last_error": {
"descr": "If a socket resource is passed to this function, the last error which occurred on this particular socket is returned. If the socket resource is omitted, the error code of the last failed socket function is returned. The latter is particularly helpful for functions like socket_create() which don't return a socket on failure and socket_select() which can fail for reasons not directly tied to a particular socket. The error code is suitable to be fed to socket_strerror() which returns a string describing the given error code.",
"name": "socket_last_error",
"params": [
{
"descr": "A valid socket resource created with socket_create().",
"name": "socket"
}
],
"path": "php/function.socket-last-error",
"syntax": "int socket_last_error ([ resource $socket ] )",
"type": "Networking"
},
"socket_listen": {
"descr": "After the socket socket has been created using socket_create() and bound to a name with socket_bind(), it may be told to listen for incoming connections on socket.",
"name": "socket_listen",
"params": [
{
"descr": "A valid socket resource created with socket_create().",
"name": "socket"
},
{
"descr": "A maximum of backlog incoming connections will be queued for processing. ",
"name": "backlog"
}
],
"path": "php/function.socket-listen",
"syntax": "bool socket_listen ( resource $socket [, int $backlog = 0 ] )",
"type": "Networking"
},
"socket_read": {
"descr": "The function socket_read() reads from the socket resource socket created by the socket_create() or socket_accept() functions.",
"name": "socket_read",
"params": [
{
"descr": "A valid socket resource created with socket_create() or socket_accept().",
"name": "socket"
},
{
"descr": "The maximum number of bytes read is specified by the length parameter. ",
"name": "length"
},
{
"descr": "Optional type parameter is a named constant: PHP_BINARY_READ (Default) - use the system recv() function. ",
"name": "type"
}
],
"path": "php/function.socket-read",
"syntax": "string socket_read ( resource $socket , int $length [, int $type = PHP_BINARY_READ ] )",
"type": "Networking"
},
"socket_recv": {
"descr": "The socket_recv() function receives len bytes of data in buf from socket. socket_recv() can be used to gather data from connected sockets. Additionally, one or more flags can be specified to modify the behaviour of the function.",
"name": "socket_recv",
"params": [
{
"descr": "The socket must be a socket resource previously created by socket_create().",
"name": "socket"
},
{
"descr": "The data received will be fetched to the variable specified with buf. ",
"name": "buf"
},
{
"descr": "Up to len bytes will be fetched from remote host.",
"name": "len"
},
{
"descr": "The value of flags can be any combination of the following flags, joined with the binary OR (|) operator. ",
"name": "flags"
}
],
"path": "php/function.socket-recv",
"syntax": "int socket_recv ( resource $socket , string &$buf , int $len , int $flags )",
"type": "Networking"
},
"socket_recvfrom": {
"descr": "The socket_recvfrom() function receives len bytes of data in buf from name on port port (if the socket is not of type AF_UNIX) using socket. socket_recvfrom() can be used to gather data from both connected and unconnected sockets. Additionally, one or more flags can be specified to modify the behaviour of the function.",
"name": "socket_recvfrom",
"params": [
{
"descr": "The socket must be a socket resource previously created by socket_create().",
"name": "socket"
},
{
"descr": "The data received will be fetched to the variable specified with buf.",
"name": "buf"
},
{
"descr": "Up to len bytes will be fetched from remote host.",
"name": "len"
},
{
"descr": "The value of flags can be any combination of the following flags, joined with the binary OR (|) operator. ",
"name": "flags"
},
{
"descr": "If the socket is of the type AF_UNIX type, name is the path to the file. ",
"name": "name"
},
{
"descr": "This argument only applies to AF_INET and AF_INET6 sockets, and specifies the remote port from which the data is received. ",
"name": "port"
}
],
"path": "php/function.socket-recvfrom",
"syntax": "int socket_recvfrom ( resource $socket , string &$buf , int $len , int $flags , string &$name [, int &$port ] )",
"type": "Networking"
},
"socket_recvmsg": {
"descr": "",
"name": "socket_recvmsg",
"params": [],
"path": "php/function.socket-recvmsg",
"syntax": "int socket_recvmsg ( resource $socket , string $message [, int $flags ] )",
"type": "Networking"
},
"socket_select": {
"descr": "socket_select() accepts arrays of sockets and waits for them to change status. Those coming with BSD sockets background will recognize that those socket resource arrays are in fact the so-called file descriptor sets. Three independent arrays of socket resources are watched.",
"name": "socket_select",
"params": [
{
"descr": "The sockets listed in the read array will be watched to see if characters become available for reading (more precisely, to see if a read will not block - in particular, a socket resource is also ready on end-of-file, in which case a socket_read() will return a zero length string).",
"name": "read"
},
{
"descr": "The sockets listed in the write array will be watched to see if a write will not block.",
"name": "write"
},
{
"descr": "The sockets listed in the except array will be watched for exceptions.",
"name": "except"
},
{
"descr": "The tv_sec and tv_usec together form the timeout parameter. ",
"name": "tv_sec"
}
],
"path": "php/function.socket-select",
"syntax": "int socket_select ( array &$read , array &$write , array &$except , int $tv_sec [, int $tv_usec = 0 ] )",
"type": "Networking"
},
"socket_send": {
"descr": "The function socket_send() sends len bytes to the socket socket from buf.",
"name": "socket_send",
"params": [
{
"descr": "A valid socket resource created with socket_create() or socket_accept().",
"name": "socket"
},
{
"descr": "A buffer containing the data that will be sent to the remote host.",
"name": "buf"
},
{
"descr": "The number of bytes that will be sent to the remote host from buf.",
"name": "len"
},
{
"descr": "The value of flags can be any combination of the following flags, joined with the binary OR (|) operator. ",
"name": "flags"
}
],
"path": "php/function.socket-send",
"syntax": "int socket_send ( resource $socket , string $buf , int $len , int $flags )",
"type": "Networking"
},
"socket_sendmsg": {
"descr": "",
"name": "socket_sendmsg",
"params": [],
"path": "php/function.socket-sendmsg",
"syntax": "int socket_sendmsg ( resource $socket , array $message , int $flags )",
"type": "Networking"
},
"socket_sendto": {
"descr": "The function socket_sendto() sends len bytes from buf through the socket socket to the port at the address addr.",
"name": "socket_sendto",
"params": [
{
"descr": "A valid socket resource created using socket_create().",
"name": "socket"
},
{
"descr": "The sent data will be taken from buffer buf.",
"name": "buf"
},
{
"descr": "len bytes from buf will be sent.",
"name": "len"
},
{
"descr": "The value of flags can be any combination of the following flags, joined with the binary OR (|) operator. ",
"name": "flags"
},
{
"descr": "IP address of the remote host.",
"name": "addr"
},
{
"descr": "port is the remote port number at which the data will be sent.",
"name": "port"
}
],
"path": "php/function.socket-sendto",
"syntax": "int socket_sendto ( resource $socket , string $buf , int $len , int $flags , string $addr [, int $port = 0 ] )",
"type": "Networking"
},
"socket_set_block": {
"descr": "The socket_set_block() function removes the O_NONBLOCK flag on the socket specified by the socket parameter.",
"name": "socket_set_block",
"params": [
{
"descr": "A valid socket resource created with socket_create() or socket_accept().",
"name": "socket"
}
],
"path": "php/function.socket-set-block",
"syntax": "bool socket_set_block ( resource $socket )",
"type": "Networking"
},
"socket_set_nonblock": {
"descr": "The socket_set_nonblock() function sets the O_NONBLOCK flag on the socket specified by the socket parameter.",
"name": "socket_set_nonblock",
"params": [
{
"descr": "A valid socket resource created with socket_create() or socket_accept().",
"name": "socket"
}
],
"path": "php/function.socket-set-nonblock",
"syntax": "bool socket_set_nonblock ( resource $socket )",
"type": "Networking"
},
"socket_set_option": {
"descr": "The socket_set_option() function sets the option specified by the optname parameter, at the specified protocol level, to the value pointed to by the optval parameter for the socket.",
"name": "socket_set_option",
"params": [
{
"descr": "A valid socket resource created with socket_create() or socket_accept().",
"name": "socket"
},
{
"descr": "The level parameter specifies the protocol level at which the option resides. ",
"name": "level"
},
{
"descr": "The available socket options are the same as those for the socket_get_option() function.",
"name": "optname"
},
{
"descr": "The option value.",
"name": "optval"
}
],
"path": "php/function.socket-set-option",
"syntax": "bool socket_set_option ( resource $socket , int $level , int $optname , mixed $optval )",
"type": "Networking"
},
"socket_shutdown": {
"descr": "The socket_shutdown() function allows you to stop incoming, outgoing or all data (the default) from being sent through the socket",
"name": "socket_shutdown",
"params": [
{
"descr": "A valid socket resource created with socket_create().",
"name": "socket"
},
{
"descr": "The value of how can be one of the following: possible values for how 0 Shutdown socket reading 1 Shutdown socket writing 2 Shutdown socket reading and writing",
"name": "how"
}
],
"path": "php/function.socket-shutdown",
"syntax": "bool socket_shutdown ( resource $socket [, int $how = 2 ] )",
"type": "Networking"
},
"socket_strerror": {
"descr": "socket_strerror() takes as its errno parameter a socket error code as returned by socket_last_error() and returns the corresponding explanatory text.",
"name": "socket_strerror",
"params": [
{
"descr": "A valid socket error number, likely produced by socket_last_error().",
"name": "errno"
}
],
"path": "php/function.socket-strerror",
"syntax": "string socket_strerror ( int $errno )",
"type": "Networking"
},
"socket_write": {
"descr": "The function socket_write() writes to the socket from the given buffer.",
"name": "socket_write",
"params": [
{
"descr": "The buffer to be written.",
"name": "socket buffer"
},
{
"descr": "The optional parameter length can specify an alternate length of bytes written to the socket. ",
"name": "length"
}
],
"path": "php/function.socket-write",
"syntax": "int socket_write ( resource $socket , string $buffer [, int $length = 0 ] )",
"type": "Networking"
},
"solr_get_version": {
"descr": "This function returns the current version of the extension as a string.",
"name": "solr_get_version",
"params": [],
"path": "php/function.solr-get-version",
"syntax": "string solr_get_version ( void )",
"type": "Solr"
},
"sort": {
"descr": "This function sorts an array. Elements will be arranged from lowest to highest when this function has completed.",
"name": "sort",
"params": [
{
"descr": "The input array.",
"name": "array"
},
{
"descr": "The optional second parameter sort_flags may be used to modify the sorting behavior using these values: Sorting type flags: SORT_REGULAR - compare items normally (don't change types) SORT_NUMERIC - compare items numerically SORT_STRING - compare items as strings SORT_LOCALE_STRING - compare items as strings, based on the current locale. It uses the locale, which can be changed using setlocale() SORT_NATURAL - compare items as strings using \"natural ordering\" like natsort() SORT_FLAG_CASE - can be combined (bitwise OR) with SORT_STRING or SORT_NATURAL to sort strings case-insensitively",
"name": "sort_flags"
}
],
"path": "php/function.sort",
"syntax": "bool sort ( array &$array [, int $sort_flags = SORT_REGULAR ] )",
"type": "Array"
},
"soundex": {
"descr": "Calculates the soundex key of str.",
"name": "soundex",
"params": [
{
"descr": "The input string.",
"name": "str"
}
],
"path": "php/function.soundex",
"syntax": "string soundex ( string $str )",
"type": "String"
},
"spl_autoload": {
"descr": "This function is intended to be used as a default implementation for __autoload(). If nothing else is specified and spl_autoload_register() is called without any parameters then this function will be used for any later call to __autoload().",
"name": "spl_autoload",
"params": [
{
"descr": "The lowercased name of the class (and namespace) being instantiated.",
"name": "class_name"
},
{
"descr": "By default it checks all include paths to contain filenames built up by the lowercase class name appended by the filename extensions .inc and .php.",
"name": "file_extensions"
}
],
"path": "php/function.spl-autoload",
"syntax": "void spl_autoload ( string $class_name [, string $file_extensions = spl_autoload_extensions() ] )",
"type": "SPL"
},
"spl_autoload_call": {
"descr": "This function can be used to manually search for a class or interface using the registered __autoload functions.",
"name": "spl_autoload_call",
"params": [
{
"descr": "The class name being searched.",
"name": "class_name"
}
],
"path": "php/function.spl-autoload-call",
"syntax": "void spl_autoload_call ( string $class_name )",
"type": "SPL"
},
"spl_autoload_extensions": {
"descr": "This function can modify and check the file extensions that the built in __autoload() fallback function spl_autoload() will be using.",
"name": "spl_autoload_extensions",
"params": [
{
"descr": "When calling without an argument, it simply returns the current list of extensions each separated by comma. ",
"name": "file_extensions"
}
],
"path": "php/function.spl-autoload-extensions",
"syntax": "string spl_autoload_extensions ([ string $file_extensions ] )",
"type": "SPL"
},
"spl_autoload_functions": {
"descr": "Get all registered __autoload() functions.",
"name": "spl_autoload_functions",
"params": [],
"path": "php/function.spl-autoload-functions",
"syntax": "array spl_autoload_functions ( void )",
"type": "SPL"
},
"spl_autoload_register": {
"descr": "Register a function with the spl provided __autoload stack. If the stack is not yet activated it will be activated.",
"name": "spl_autoload_register",
"params": [
{
"descr": "The autoload function being registered. ",
"name": "autoload_function"
},
{
"descr": "This parameter specifies whether spl_autoload_register() should throw exceptions when the autoload_function cannot be registered.",
"name": "throw"
},
{
"descr": "If true, spl_autoload_register() will prepend the autoloader on the autoload stack instead of appending it.",
"name": "prepend"
}
],
"path": "php/function.spl-autoload-register",
"syntax": "bool spl_autoload_register ([ callable $autoload_function [, bool $throw = true [, bool $prepend = false ]]] )",
"type": "SPL"
},
"spl_autoload_unregister": {
"descr": "Unregister a function from the spl provided __autoload stack. If the stack is activated and empty after unregistering the given function then it will be deactivated.",
"name": "spl_autoload_unregister",
"params": [
{
"descr": "The autoload function being unregistered.",
"name": "autoload_function"
}
],
"path": "php/function.spl-autoload-unregister",
"syntax": "bool spl_autoload_unregister ( mixed $autoload_function )",
"type": "SPL"
},
"spl_classes": {
"descr": "This function returns an array with the current available SPL classes.",
"name": "spl_classes",
"params": [],
"path": "php/function.spl-classes",
"syntax": "array spl_classes ( void )",
"type": "SPL"
},
"spl_object_hash": {
"descr": "This function returns a unique identifier for the object. This id can be used as a hash key for storing objects or for identifying an object.",
"name": "spl_object_hash",
"params": [
{
"descr": "Any object.",
"name": "object"
}
],
"path": "php/function.spl-object-hash",
"syntax": "string spl_object_hash ( object $obj )",
"type": "SPL"
},
"split": {
"descr": "Splits a string into array by regular expression.",
"name": "split",
"params": [
{
"descr": "Case sensitive regular expression. ",
"name": "pattern"
},
{
"descr": "The input string.",
"name": "string"
},
{
"descr": "If limit is set, the returned array will contain a maximum of limit elements with the last element containing the whole rest of string.",
"name": "limit"
}
],
"path": "php/function.split",
"syntax": "array split ( string $pattern , string $string [, int $limit = -1 ] )",
"type": "String"
},
"spliti": {
"descr": "Splits a string into array by regular expression.",
"name": "spliti",
"params": [
{
"descr": "Case insensitive regular expression. ",
"name": "pattern"
},
{
"descr": "The input string.",
"name": "string"
},
{
"descr": "If limit is set, the returned array will contain a maximum of limit elements with the last element containing the whole rest of string.",
"name": "limit"
}
],
"path": "php/function.spliti",
"syntax": "array spliti ( string $pattern , string $string [, int $limit = -1 ] )",
"type": "String"
},
"sprintf": {
"descr": "Returns a string produced according to the formatting string format.",
"name": "sprintf",
"params": [
{
"descr": "The format string is composed of zero or more directives: ordinary characters (excluding %) that are copied directly to the result, and conversion specifications, each of which results in fetching its own parameter. This applies to both sprintf() and printf(). Each conversion specification consists of a percent sign (%), followed by one or more of these elements, in order: An optional sign specifier that forces a sign (- or +) to be used on a number. By default, only the - sign is used on a number if it's negative. This specifier forces positive numbers to have the + sign attached as well, and was added in PHP 4.3.0. An optional padding specifier that says what character will be used for padding the results to the right string size. This may be a space character or a 0 (zero character). The default is to pad with spaces. An alternate padding character can be specified by prefixing it with a single quote ('). See the examples below. An optional alignment specifier that says if the result should be left-justified or right-justified. The default is right-justified; a - character here will make it left-justified. An optional number, a width specifier that says how many characters (minimum) this conversion should result in. An optional precision specifier in the form of a period (`.') followed by an optional decimal digit string that says how many decimal digits should be displayed for floating-point numbers. When using this specifier on a string, it acts as a cutoff point, setting a maximum character limit to the string. A type specifier that says what type the argument data should be treated as. Possible types: % - a literal percent character. No argument is required. b - the argument is treated as an integer, and presented as a binary number. c - the argument is treated as an integer, and presented as the character with that ASCII value. d - the argument is treated as an integer, and presented as a (signed) decimal number. e - the argument is treated as scientific notation (e.g. 1.2e+2). The precision specifier stands for the number of digits after the decimal point since PHP 5.2.1. In earlier versions, it was taken as number of significant digits (one less). E - like %e but uses uppercase letter (e.g. 1.2E+2). f - the argument is treated as a float, and presented as a floating-point number (locale aware). F - the argument is treated as a float, and presented as a floating-point number (non-locale aware). Available since PHP 4.3.10 and PHP 5.0.3. g - shorter of %e and %f. G - shorter of %E and %f. o - the argument is treated as an integer, and presented as an octal number. s - the argument is treated as and presented as a string. u - the argument is treated as an integer, and presented as an unsigned decimal number. x - the argument is treated as an integer and presented as a hexadecimal number (with lowercase letters). X - the argument is treated as an integer and presented as a hexadecimal number (with uppercase letters). Variables will be co-erced to a suitable type for the specifier: Type Handling Type Specifiers string s integer d, u, c, o, x, X, b double g, G, e, E, f, F Warning Attempting to use a combination of the string and width specifiers with character sets that require more than one byte per character may result in unexpected results The format string supports argument numbering/swapping. Here is an example: Example #1 Argument swapping This will output \"There are 5 monkeys in the tree\". But imagine we are creating a format string in a separate file, commonly because we would like to internationalize it and we rewrite it as: Example #2 Argument swapping We now have a problem. The order of the placeholders in the format string does not match the order of the arguments in the code. We would like to leave the code as is and simply indicate in the format string which arguments the placeholders refer to. We would write the format string like this instead: Example #3 Argument swapping An added benefit here is that you can repeat the placeholders without adding more arguments in the code. For example: Example #4 Argument swapping When using argument swapping, the n$ position specifier must come immediately after the percent sign (%), before any other specifiers, as shown in the example below. Example #5 Position specifier with other specifiers The above example will output: The tree contains 0005 monkeys Note: Attempting to use a position specifier greater than PHP_INT_MAX will result in sprintf() generating warnings. Warning The c type specifier ignores padding and width",
"name": "format"
}
],
"path": "php/function.sprintf",
"syntax": "string sprintf ( string $format [, mixed $args [, mixed $... ]] )",
"type": "String"
},
"sql_regcase": {
"descr": "Creates a regular expression for a case insensitive match.",
"name": "sql_regcase",
"params": [
{
"descr": "The input string.",
"name": "string"
}
],
"path": "php/function.sql-regcase",
"syntax": "string sql_regcase ( string $string )",
"type": "String"
},
"sqlsrv_begin_transaction": {
"descr": "The transaction begun by sqlsrv_begin_transaction() includes all statements that were executed after the call to sqlsrv_begin_transaction() and before calls to sqlsrv_rollback() or sqlsrv_commit(). Explicit transactions should be started and committed or rolled back using these functions instead of executing SQL statements that begin and committ/roll back transactions. For more information, see \u00bb SQLSRV Transactions.",
"name": "sqlsrv_begin_transaction",
"params": [
{
"descr": "The connection resource returned by a call to sqlsrv_connect().",
"name": "conn"
}
],
"path": "php/function.sqlsrv-begin-transaction",
"syntax": "bool sqlsrv_begin_transaction ( resource $conn )",
"type": "Database/SQL Server"
},
"sqlsrv_cancel": {
"descr": "Cancels a statement. Any results associated with the statement that have not been consumed are deleted. After sqlsrv_cancel() has been called, the specified statement can be re-executed if it was created with sqlsrv_prepare(). Calling sqlsrv_cancel() is not necessary if all the results associated with the statement have been consumed.",
"name": "sqlsrv_cancel",
"params": [
{
"descr": "The statement resource to be cancelled.",
"name": "stmt"
}
],
"path": "php/function.sqlsrv-cancel",
"syntax": "bool sqlsrv_cancel ( resource $stmt )",
"type": "Database/SQL Server"
},
"sqlsrv_client_info": {
"descr": "Returns information about the client and specified connection",
"name": "sqlsrv_client_info",
"params": [
{
"descr": "The connection about which information is returned.",
"name": "conn"
}
],
"path": "php/function.sqlsrv-client-info",
"syntax": "array sqlsrv_client_info ( resource $conn )",
"type": "Database/SQL Server"
},
"sqlsrv_close": {
"descr": "Closes an open connection and releases resourses associated with the connection.",
"name": "sqlsrv_close",
"params": [
{
"descr": "The connection to be closed.",
"name": "conn"
}
],
"path": "php/function.sqlsrv-close",
"syntax": "bool sqlsrv_close ( resource $conn )",
"type": "Database/SQL Server"
},
"sqlsrv_commit": {
"descr": "Commits a transaction that was begun with sqlsrv_begin_transaction(). The connection is returned to auto-commit mode after sqlsrv_commit() is called. The transaction that is committed includes all statements that were executed after the call to sqlsrv_begin_transaction(). Explicit transactions should be started and committed or rolled back using these functions instead of executing SQL statements that begin and committ/roll back transactions. For more information, see \u00bb SQLSRV Transactions.",
"name": "sqlsrv_commit",
"params": [
{
"descr": "The connection on which the transaction is to be committed.",
"name": "conn"
}
],
"path": "php/function.sqlsrv-commit",
"syntax": "bool sqlsrv_commit ( resource $conn )",
"type": "Database/SQL Server"
},
"sqlsrv_configure": {
"descr": "Changes the driver error handling and logging configurations.",
"name": "sqlsrv_configure",
"params": [
{
"descr": "The name of the setting to set. ",
"name": "setting"
},
{
"descr": "The value of the specified setting. ",
"name": "value"
}
],
"path": "php/function.sqlsrv-configure",
"syntax": "bool sqlsrv_configure ( string $setting , mixed $value )",
"type": "Database/SQL Server"
},
"sqlsrv_connect": {
"descr": "Opens a connection to a Microsoft SQL Server database. By default, the connection is attempted using Windows Authentication. To connect using SQL Server Authentication, include \"UID\" and \"PWD\" in the connection options array.",
"name": "sqlsrv_connect",
"params": [
{
"descr": "The name of the server to which a connection is established. ",
"name": "serverName"
},
{
"descr": "An associative array that specifies options for connecting to the server. ",
"name": "connectionInfo"
}
],
"path": "php/function.sqlsrv-connect",
"syntax": "resource sqlsrv_connect ( string $serverName [, array $connectionInfo ] )",
"type": "Database/SQL Server"
},
"sqlsrv_errors": {
"descr": "Returns error and warning information about the last SQLSRV operation performed.",
"name": "sqlsrv_errors",
"params": [
{
"descr": "Determines whether error information, warning information, or both are returned. ",
"name": "errorsOrWarnings"
}
],
"path": "php/function.sqlsrv-errors",
"syntax": "mixed sqlsrv_errors ([ int $errorsOrWarnings ] )",
"type": "Database/SQL Server"
},
"sqlsrv_execute": {
"descr": "Executes a statement prepared with sqlsrv_prepare(). This function is ideal for executing a prepared statement multiple times with different parameter values.",
"name": "sqlsrv_execute",
"params": [
{
"descr": "A statement resource returned by sqlsrv_prepare().",
"name": "stmt"
}
],
"path": "php/function.sqlsrv-execute",
"syntax": "bool sqlsrv_execute ( resource $stmt )",
"type": "Database/SQL Server"
},
"sqlsrv_fetch": {
"descr": "Makes the next row in a result set available for reading. Use sqlsrv_get_field() to read the fields of the row.",
"name": "sqlsrv_fetch",
"params": [
{
"descr": "A statement resource created by executing sqlsrv_query() or sqlsrv_execute().",
"name": "stmt"
},
{
"descr": "The row to be accessed. This parameter can only be used if the specified statement was prepared with a scrollable cursor. ",
"name": "row"
},
{
"descr": "Specifies the row to be accessed if the row parameter is set to SQLSRV_SCROLL_ABSOLUTE or SQLSRV_SCROLL_RELATIVE. ",
"name": "offset"
}
],
"path": "php/function.sqlsrv-fetch",
"syntax": "mixed sqlsrv_fetch ( resource $stmt [, int $row [, int $offset ]] )",
"type": "Database/SQL Server"
},
"sqlsrv_fetch_array": {
"descr": "Returns the next available row of data as an associative array, a numeric array, or both (the default).",
"name": "sqlsrv_fetch_array",
"params": [
{
"descr": "A statement resource returned by sqlsrv_query or sqlsrv_prepare.",
"name": "stmt"
},
{
"descr": "A predefined constant specifying the type of array to return. ",
"name": "fetchType"
},
{
"descr": "Specifies the row to access in a result set that uses a scrollable cursor. ",
"name": "row"
},
{
"descr": "Specifies the row to be accessed if the row parameter is set to SQLSRV_SCROLL_ABSOLUTE or SQLSRV_SCROLL_RELATIVE. ",
"name": "offset"
}
],
"path": "php/function.sqlsrv-fetch-array",
"syntax": "array sqlsrv_fetch_array ( resource $stmt [, int $fetchType [, int $row [, int $offset ]]] )",
"type": "Database/SQL Server"
},
"sqlsrv_fetch_object": {
"descr": "Retrieves the next row of data in a result set as an instance of the specified class with properties that match the row field names and values that correspond to the row field values.",
"name": "sqlsrv_fetch_object",
"params": [
{
"descr": "A statement resource created by sqlsrv_query() or sqlsrv_execute().",
"name": "stmt"
},
{
"descr": "The name of the class to instantiate. ",
"name": "className"
},
{
"descr": "Values passed to the constructor of the specified class. ",
"name": "ctorParams"
},
{
"descr": "The row to be accessed. This parameter can only be used if the specified statement was prepared with a scrollable cursor. ",
"name": "row"
},
{
"descr": "Specifies the row to be accessed if the row parameter is set to SQLSRV_SCROLL_ABSOLUTE or SQLSRV_SCROLL_RELATIVE. ",
"name": "offset"
}
],
"path": "php/function.sqlsrv-fetch-object",
"syntax": "mixed sqlsrv_fetch_object ( resource $stmt [, string $className [, array $ctorParams [, int $row [, int $offset ]]]] )",
"type": "Database/SQL Server"
},
"sqlsrv_field_metadata": {
"descr": "Retrieves metadata for the fields of a statement prepared by sqlsrv_prepare() or sqlsrv_query(). sqlsrv_field_metadata() can be called on a statement before or after statement execution.",
"name": "sqlsrv_field_metadata",
"params": [
{
"descr": "The statment resource for which metadata is returned.",
"name": "stmt"
}
],
"path": "php/function.sqlsrv-field-metadata",
"syntax": "mixed sqlsrv_field_metadata ( resource $stmt )",
"type": "Database/SQL Server"
},
"sqlsrv_free_stmt": {
"descr": "Frees all resources for the specified statement. The statement cannot be used after sqlsrv_free_stmt() has been called on it. If sqlsrv_free_stmt() is called on an in-progress statement that alters server state, statement execution is terminated and the statement is rolled back.",
"name": "sqlsrv_free_stmt",
"params": [
{
"descr": "The statment for which resources are freed. ",
"name": "stmt"
}
],
"path": "php/function.sqlsrv-free-stmt",
"syntax": "bool sqlsrv_free_stmt ( resource $stmt )",
"type": "Database/SQL Server"
},
"sqlsrv_get_config": {
"descr": "Returns the value of the specified configuration setting.",
"name": "sqlsrv_get_config",
"params": [
{
"descr": "The name of the setting for which the value is returned. ",
"name": "setting"
}
],
"path": "php/function.sqlsrv-get-config",
"syntax": "mixed sqlsrv_get_config ( string $setting )",
"type": "Database/SQL Server"
},
"sqlsrv_get_field": {
"descr": "Gets field data from the currently selected row. Fields must be accessed in order. Field indices start at 0.",
"name": "sqlsrv_get_field",
"params": [
{
"descr": "A statement resource returned by sqlsrv_query() or sqlsrv_execute().",
"name": "stmt"
},
{
"descr": "The index of the field to be retrieved. ",
"name": "fieldIndex"
},
{
"descr": "The PHP data type for the returned field data. ",
"name": "getAsType"
}
],
"path": "php/function.sqlsrv-get-field",
"syntax": "mixed sqlsrv_get_field ( resource $stmt , int $fieldIndex [, int $getAsType ] )",
"type": "Database/SQL Server"
},
"sqlsrv_has_rows": {
"descr": "Indicates whether the specified statement has rows.",
"name": "sqlsrv_has_rows",
"params": [
{
"descr": "A statement resource returned by sqlsrv_query() or sqlsrv_execute().",
"name": "stmt"
}
],
"path": "php/function.sqlsrv-has-rows",
"syntax": "bool sqlsrv_has_rows ( resource $stmt )",
"type": "Database/SQL Server"
},
"sqlsrv_next_result": {
"descr": "Makes the next result of the specified statement active. Results include result sets, row counts, and output parameters.",
"name": "sqlsrv_next_result",
"params": [
{
"descr": "The statment on which the next result is being called.",
"name": "stmt"
}
],
"path": "php/function.sqlsrv-next-result",
"syntax": "mixed sqlsrv_next_result ( resource $stmt )",
"type": "Database/SQL Server"
},
"sqlsrv_num_fields": {
"descr": "Retrieves the number of fields (columns) on a statement.",
"name": "sqlsrv_num_fields",
"params": [
{
"descr": "The statment for which the number of fields is returned. ",
"name": "stmt"
}
],
"path": "php/function.sqlsrv-num-fields",
"syntax": "mixed sqlsrv_num_fields ( resource $stmt )",
"type": "Database/SQL Server"
},
"sqlsrv_num_rows": {
"descr": "Retrieves the number of rows in a result set. This function requires that the statment resource be created with a static or keyset cursor. For more information, see sqlsrv_query(), sqlsrv_prepare(), or \u00bb Specifying a Cursor Type and Selecting Rows in the Microsoft SQLSRV documentation.",
"name": "sqlsrv_num_rows",
"params": [
{
"descr": "The statement for which the row count is returned. ",
"name": "stmt"
}
],
"path": "php/function.sqlsrv-num-rows",
"syntax": "mixed sqlsrv_num_rows ( resource $stmt )",
"type": "Database/SQL Server"
},
"sqlsrv_prepare": {
"descr": "Prepares a query for execution. This function is ideal for preparing a query that will be executed multiple times with different parameter values.",
"name": "sqlsrv_prepare",
"params": [
{
"descr": "A connection resource returned by sqlsrv_connect().",
"name": "conn"
},
{
"descr": "The string that defines the query to be prepared and executed.",
"name": "sql"
},
{
"descr": "An array specifying parameter information when executing a parameterized query. ",
"name": "params"
},
{
"descr": "An array specifing query property options. ",
"name": "options"
}
],
"path": "php/function.sqlsrv-prepare",
"syntax": "mixed sqlsrv_prepare ( resource $conn , string $sql [, array $params [, array $options ]] )",
"type": "Database/SQL Server"
},
"sqlsrv_query": {
"descr": "Prepares and executes a query.",
"name": "sqlsrv_query",
"params": [
{
"descr": "A connection resource returned by sqlsrv_connect().",
"name": "conn"
},
{
"descr": "The string that defines the query to be prepared and executed.",
"name": "sql"
},
{
"descr": "An array specifying parameter information when executing a parameterized query. ",
"name": "params"
},
{
"descr": "An array specifing query property options. ",
"name": "options"
}
],
"path": "php/function.sqlsrv-query",
"syntax": "mixed sqlsrv_query ( resource $conn , string $sql [, array $params [, array $options ]] )",
"type": "Database/SQL Server"
},
"sqlsrv_rollback": {
"descr": "Rolls back a transaction that was begun with sqlsrv_begin_transaction() and returns the connection to auto-commit mode.",
"name": "sqlsrv_rollback",
"params": [
{
"descr": "The connection resource returned by a call to sqlsrv_connect().",
"name": "conn"
}
],
"path": "php/function.sqlsrv-rollback",
"syntax": "bool sqlsrv_rollback ( resource $conn )",
"type": "Database/SQL Server"
},
"sqlsrv_rows_affected": {
"descr": "Returns the number of rows modified by the last INSERT, UPDATE, or DELETE query executed. For information about the number of rows returned by a SELECT query, see sqlsrv_num_rows().",
"name": "sqlsrv_rows_affected",
"params": [
{
"descr": "The executed statement resource for which the number of affected rows is returned.",
"name": "stmt"
}
],
"path": "php/function.sqlsrv-rows-affected",
"syntax": "int sqlsrv_rows_affected ( resource $stmt )",
"type": "Database/SQL Server"
},
"sqlsrv_send_stream_data": {
"descr": "Send data from parameter streams to the server. Up to 8 KB of data is sent with each call.",
"name": "sqlsrv_send_stream_data",
"params": [
{
"descr": "A statement resource returned by sqlsrv_query() or sqlsrv_execute().",
"name": "stmt"
}
],
"path": "php/function.sqlsrv-send-stream-data",
"syntax": "bool sqlsrv_send_stream_data ( resource $stmt )",
"type": "Database/SQL Server"
},
"sqlsrv_server_info": {
"descr": "Returns information about the server.",
"name": "sqlsrv_server_info",
"params": [
{
"descr": "The connection resource that connects the client and the server.",
"name": "conn"
}
],
"path": "php/function.sqlsrv-server-info",
"syntax": "array sqlsrv_server_info ( resource $conn )",
"type": "Database/SQL Server"
},
"sqrt": {
"descr": "Returns the square root of arg.",
"name": "sqrt",
"params": [
{
"descr": "The argument to process",
"name": "arg"
}
],
"path": "php/function.sqrt",
"syntax": "float sqrt ( float $arg )",
"type": "Mathematics"
},
"srand": {
"descr": "Seeds the random number generator with seed or with a random value if no seed is given.",
"name": "srand",
"params": [
{
"descr": "Optional seed value",
"name": "seed"
}
],
"path": "php/function.srand",
"syntax": "void srand ([ int $seed ] )",
"type": "Mathematics"
},
"sscanf": {
"descr": "The function sscanf() is the input analog of printf(). sscanf() reads from the string str and interprets it according to the specified format, which is described in the documentation for sprintf().",
"name": "sscanf",
"params": [
{
"descr": "The input string being parsed.",
"name": "str"
},
{
"descr": "The interpreted format for str, which is described in the documentation for sprintf() with following differences: Function is not locale-aware. ",
"name": "format"
},
{
"descr": "Optionally pass in variables by reference that will contain the parsed values.",
"name": "..."
}
],
"path": "php/function.sscanf",
"syntax": "mixed sscanf ( string $str , string $format [, mixed &$... ] )",
"type": "String"
},
"ssh2_auth_agent": {
"descr": "Authenticate over SSH using the ssh agent",
"name": "ssh2_auth_agent",
"params": [
{
"descr": "An SSH connection link identifier, obtained from a call to ssh2_connect().",
"name": "session"
},
{
"descr": "Remote user name.",
"name": "username"
}
],
"path": "php/function.ssh2-auth-agent",
"syntax": "bool ssh2_auth_agent ( resource $session , string $username )",
"type": "Networking"
},
"ssh2_auth_hostbased_file": {
"descr": "Authenticate using a public hostkey read from a file.",
"name": "ssh2_auth_hostbased_file",
"params": [
{
"descr": "An SSH connection link identifier, obtained from a call to ssh2_connect().",
"name": "session"
},
{
"descr": "If privkeyfile is encrypted (which it should be), the passphrase must be provided.",
"name": "username hostname pubkeyfile privkeyfile passphrase"
},
{
"descr": "If local_username is omitted, then the value for username will be used for it.",
"name": "local_username"
}
],
"path": "php/function.ssh2-auth-hostbased-file",
"syntax": "bool ssh2_auth_hostbased_file ( resource $session , string $username , string $hostname , string $pubkeyfile , string $privkeyfile [, string $passphrase [, string $local_username ]] )",
"type": "Networking"
},
"ssh2_auth_none": {
"descr": "Attempt \"none\" authentication which usually will (and should) fail. As part of the failure, this function will return an array of accepted authentication methods.",
"name": "ssh2_auth_none",
"params": [
{
"descr": "An SSH connection link identifier, obtained from a call to ssh2_connect().",
"name": "session"
},
{
"descr": "Remote user name.",
"name": "username"
}
],
"path": "php/function.ssh2-auth-none",
"syntax": "mixed ssh2_auth_none ( resource $session , string $username )",
"type": "Networking"
},
"ssh2_auth_password": {
"descr": "Authenticate over SSH using a plain password. Since version 0.12 this function also supports keyboard_interactive method.",
"name": "ssh2_auth_password",
"params": [
{
"descr": "An SSH connection link identifier, obtained from a call to ssh2_connect().",
"name": "session"
},
{
"descr": "Remote user name.",
"name": "username"
},
{
"descr": "Password for username",
"name": "password"
}
],
"path": "php/function.ssh2-auth-password",
"syntax": "bool ssh2_auth_password ( resource $session , string $username , string $password )",
"type": "Networking"
},
"ssh2_auth_pubkey_file": {
"descr": "Authenticate using a public key read from a file.",
"name": "ssh2_auth_pubkey_file",
"params": [
{
"descr": "An SSH connection link identifier, obtained from a call to ssh2_connect().",
"name": "session"
},
{
"descr": "The public key file needs to be in OpenSSH's format. ",
"name": "username pubkeyfile"
},
{
"descr": "If privkeyfile is encrypted (which it should be), the passphrase must be provided.",
"name": "privkeyfile passphrase"
}
],
"path": "php/function.ssh2-auth-pubkey-file",
"syntax": "bool ssh2_auth_pubkey_file ( resource $session , string $username , string $pubkeyfile , string $privkeyfile [, string $passphrase ] )",
"type": "Networking"
},
"ssh2_connect": {
"descr": "Establish a connection to a remote SSH server.",
"name": "ssh2_connect",
"params": [
{
"descr": "methods may be an associative array with up to four parameters as described below. ",
"name": "host port methods"
},
{
"descr": "callbacks may be an associative array with any or all of the following parameters. ",
"name": "callbacks"
}
],
"path": "php/function.ssh2-connect",
"syntax": "resource ssh2_connect ( string $host [, int $port = 22 [, array $methods [, array $callbacks ]]] )",
"type": "Networking"
},
"ssh2_exec": {
"descr": "Execute a command at the remote end and allocate a channel for it.",
"name": "ssh2_exec",
"params": [
{
"descr": "An SSH connection link identifier, obtained from a call to ssh2_connect().",
"name": "session"
},
{
"descr": "env may be passed as an associative array of name/value pairs to set in the target environment.",
"name": "command pty env"
},
{
"descr": "Width of the virtual terminal.",
"name": "width"
},
{
"descr": "Height of the virtual terminal.",
"name": "height"
},
{
"descr": "width_height_type should be one of SSH2_TERM_UNIT_CHARS or SSH2_TERM_UNIT_PIXELS.",
"name": "width_height_type"
}
],
"path": "php/function.ssh2-exec",
"syntax": "resource ssh2_exec ( resource $session , string $command [, string $pty [, array $env [, int $width = 80 [, int $height = 25 [, int $width_height_type = SSH2_TERM_UNIT_CHARS ]]]]] )",
"type": "Networking"
},
"ssh2_fetch_stream": {
"descr": "Fetches an alternate substream associated with an SSH2 channel stream. The SSH2 protocol currently defines only one substream, STDERR, which has a substream ID of SSH2_STREAM_STDERR (defined as 1).",
"name": "ssh2_fetch_stream",
"params": [
{
"descr": "An SSH2 channel stream.",
"name": "channel streamid"
}
],
"path": "php/function.ssh2-fetch-stream",
"syntax": "resource ssh2_fetch_stream ( resource $channel , int $streamid )",
"type": "Networking"
},
"ssh2_fingerprint": {
"descr": "Returns a server hostkey hash from an active session.",
"name": "ssh2_fingerprint",
"params": [
{
"descr": "An SSH connection link identifier, obtained from a call to ssh2_connect().",
"name": "session"
},
{
"descr": "flags may be either of SSH2_FINGERPRINT_MD5 or SSH2_FINGERPRINT_SHA1 logically ORed with SSH2_FINGERPRINT_HEX or SSH2_FINGERPRINT_RAW.",
"name": "flags"
}
],
"path": "php/function.ssh2-fingerprint",
"syntax": "string ssh2_fingerprint ( resource $session [, int $flags = SSH2_FINGERPRINT_MD5 | SSH2_FINGERPRINT_HEX ] )",
"type": "Networking"
},
"ssh2_methods_negotiated": {
"descr": "Returns list of negotiated methods.",
"name": "ssh2_methods_negotiated",
"params": [
{
"descr": "An SSH connection link identifier, obtained from a call to ssh2_connect().",
"name": "session"
}
],
"path": "php/function.ssh2-methods-negotiated",
"syntax": "array ssh2_methods_negotiated ( resource $session )",
"type": "Networking"
},
"ssh2_publickey_add": {
"descr": "",
"name": "ssh2_publickey_add",
"params": [
{
"descr": "Publickey Subsystem resource created by ssh2_publickey_init().",
"name": "pkey"
},
{
"descr": "Publickey algorithm (e.g.): ssh-dss, ssh-rsa",
"name": "algoname"
},
{
"descr": "Publickey blob as raw binary data",
"name": "blob"
},
{
"descr": "If the specified key already exists, should it be overwritten?",
"name": "overwrite"
},
{
"descr": "Associative array of attributes to assign to this public key. ",
"name": "attributes"
}
],
"path": "php/function.ssh2-publickey-add",
"syntax": "bool ssh2_publickey_add ( resource $pkey , string $algoname , string $blob [, bool $overwrite = false [, array $attributes ]] )",
"type": "Networking"
},
"ssh2_publickey_init": {
"descr": "Request the Publickey subsystem from an already connected SSH2 server.",
"name": "ssh2_publickey_init",
"params": [],
"path": "php/function.ssh2-publickey-init",
"syntax": "resource ssh2_publickey_init ( resource $session )",
"type": "Networking"
},
"ssh2_publickey_list": {
"descr": "List currently authorized publickeys.",
"name": "ssh2_publickey_list",
"params": [
{
"descr": "Publickey Subsystem resource",
"name": "pkey"
}
],
"path": "php/function.ssh2-publickey-list",
"syntax": "array ssh2_publickey_list ( resource $pkey )",
"type": "Networking"
},
"ssh2_publickey_remove": {
"descr": "Removes an authorized publickey.",
"name": "ssh2_publickey_remove",
"params": [
{
"descr": "Publickey Subsystem Resource",
"name": "pkey"
},
{
"descr": "Publickey algorithm (e.g.): ssh-dss, ssh-rsa",
"name": "algoname"
},
{
"descr": "Publickey blob as raw binary data",
"name": "blob"
}
],
"path": "php/function.ssh2-publickey-remove",
"syntax": "bool ssh2_publickey_remove ( resource $pkey , string $algoname , string $blob )",
"type": "Networking"
},
"ssh2_scp_recv": {
"descr": "Copy a file from the remote server to the local filesystem using the SCP protocol.",
"name": "ssh2_scp_recv",
"params": [
{
"descr": "An SSH connection link identifier, obtained from a call to ssh2_connect().",
"name": "session"
},
{
"descr": "Path to the remote file.",
"name": "remote_file"
},
{
"descr": "Path to the local file.",
"name": "local_file"
}
],
"path": "php/function.ssh2-scp-recv",
"syntax": "bool ssh2_scp_recv ( resource $session , string $remote_file , string $local_file )",
"type": "Networking"
},
"ssh2_scp_send": {
"descr": "Copy a file from the local filesystem to the remote server using the SCP protocol.",
"name": "ssh2_scp_send",
"params": [
{
"descr": "An SSH connection link identifier, obtained from a call to ssh2_connect().",
"name": "session"
},
{
"descr": "Path to the local file.",
"name": "local_file"
},
{
"descr": "Path to the remote file.",
"name": "remote_file"
},
{
"descr": "The file will be created with the mode specified by create_mode.",
"name": "create_mode"
}
],
"path": "php/function.ssh2-scp-send",
"syntax": "bool ssh2_scp_send ( resource $session , string $local_file , string $remote_file [, int $create_mode = 0644 ] )",
"type": "Networking"
},
"ssh2_sftp": {
"descr": "Request the SFTP subsystem from an already connected SSH2 server.",
"name": "ssh2_sftp",
"params": [
{
"descr": "An SSH connection link identifier, obtained from a call to ssh2_connect().",
"name": "session"
}
],
"path": "php/function.ssh2-sftp",
"syntax": "resource ssh2_sftp ( resource $session )",
"type": "Networking"
},
"ssh2_sftp_chmod": {
"descr": "Attempts to change the mode of the specified file to that given in mode.",
"name": "ssh2_sftp_chmod",
"params": [
{
"descr": "An SSH2 SFTP resource opened by ssh2_sftp().",
"name": "sftp"
},
{
"descr": "Path to the file.",
"name": "filename"
},
{
"descr": "Permissions on the file. See the chmod() for more details on this parameter.",
"name": "mode"
}
],
"path": "php/function.ssh2-sftp-chmod",
"syntax": "bool ssh2_sftp_chmod ( resource $sftp , string $filename , int $mode )",
"type": "Networking"
},
"ssh2_sftp_lstat": {
"descr": "Stats a symbolic link on the remote filesystem without following the link.",
"name": "ssh2_sftp_lstat",
"params": [
{
"descr": "Path to the remote symbolic link.",
"name": "sftp path"
}
],
"path": "php/function.ssh2-sftp-lstat",
"syntax": "array ssh2_sftp_lstat ( resource $sftp , string $path )",
"type": "Networking"
},
"ssh2_sftp_mkdir": {
"descr": "Creates a directory on the remote file server with permissions set to mode.",
"name": "ssh2_sftp_mkdir",
"params": [
{
"descr": "An SSH2 SFTP resource opened by ssh2_sftp().",
"name": "sftp"
},
{
"descr": "Path of the new directory.",
"name": "dirname"
},
{
"descr": "Permissions on the new directory.",
"name": "mode"
},
{
"descr": "If recursive is TRUE any parent directories required for dirname will be automatically created as well.",
"name": "recursive"
}
],
"path": "php/function.ssh2-sftp-mkdir",
"syntax": "bool ssh2_sftp_mkdir ( resource $sftp , string $dirname [, int $mode = 0777 [, bool $recursive = false ]] )",
"type": "Networking"
},
"ssh2_sftp_readlink": {
"descr": "Returns the target of a symbolic link.",
"name": "ssh2_sftp_readlink",
"params": [
{
"descr": "An SSH2 SFTP resource opened by ssh2_sftp().",
"name": "sftp"
},
{
"descr": "Path of the symbolic link.",
"name": "link"
}
],
"path": "php/function.ssh2-sftp-readlink",
"syntax": "string ssh2_sftp_readlink ( resource $sftp , string $link )",
"type": "Networking"
},
"ssh2_sftp_realpath": {
"descr": "Translates filename into the effective real path on the remote filesystem.",
"name": "ssh2_sftp_realpath",
"params": [
{
"descr": "An SSH2 SFTP resource opened by ssh2_sftp().",
"name": "sftp"
}
],
"path": "php/function.ssh2-sftp-realpath",
"syntax": "string ssh2_sftp_realpath ( resource $sftp , string $filename )",
"type": "Networking"
},
"ssh2_sftp_rename": {
"descr": "Renames a file on the remote filesystem.",
"name": "ssh2_sftp_rename",
"params": [
{
"descr": "An SSH2 SFTP resource opened by ssh2_sftp().",
"name": "sftp"
},
{
"descr": "The current file that is being renamed.",
"name": "from"
},
{
"descr": "The new file name that replaces from.",
"name": "to"
}
],
"path": "php/function.ssh2-sftp-rename",
"syntax": "bool ssh2_sftp_rename ( resource $sftp , string $from , string $to )",
"type": "Networking"
},
"ssh2_sftp_rmdir": {
"descr": "Removes a directory from the remote file server.",
"name": "ssh2_sftp_rmdir",
"params": [
{
"descr": "An SSH2 SFTP resource opened by ssh2_sftp().",
"name": "sftp"
}
],
"path": "php/function.ssh2-sftp-rmdir",
"syntax": "bool ssh2_sftp_rmdir ( resource $sftp , string $dirname )",
"type": "Networking"
},
"ssh2_sftp_stat": {
"descr": "Stats a file on the remote filesystem following any symbolic links.",
"name": "ssh2_sftp_stat",
"params": [
{
"descr": "An SSH2 SFTP resource opened by ssh2_sftp().",
"name": "sftp"
}
],
"path": "php/function.ssh2-sftp-stat",
"syntax": "array ssh2_sftp_stat ( resource $sftp , string $path )",
"type": "Networking"
},
"ssh2_sftp_symlink": {
"descr": "Creates a symbolic link named link on the remote filesystem pointing to target.",
"name": "ssh2_sftp_symlink",
"params": [
{
"descr": "An SSH2 SFTP resource opened by ssh2_sftp().",
"name": "sftp"
},
{
"descr": "Target of the symbolic link.",
"name": "target"
}
],
"path": "php/function.ssh2-sftp-symlink",
"syntax": "bool ssh2_sftp_symlink ( resource $sftp , string $target , string $link )",
"type": "Networking"
},
"ssh2_sftp_unlink": {
"descr": "Deletes a file on the remote filesystem.",
"name": "ssh2_sftp_unlink",
"params": [
{
"descr": "An SSH2 SFTP resource opened by ssh2_sftp().",
"name": "sftp"
}
],
"path": "php/function.ssh2-sftp-unlink",
"syntax": "bool ssh2_sftp_unlink ( resource $sftp , string $filename )",
"type": "Networking"
},
"ssh2_shell": {
"descr": "Open a shell at the remote end and allocate a stream for it.",
"name": "ssh2_shell",
"params": [
{
"descr": "An SSH connection link identifier, obtained from a call to ssh2_connect().",
"name": "session"
},
{
"descr": "term_type should correspond to one of the entries in the target system's /etc/termcap file.",
"name": "term_type"
},
{
"descr": "env may be passed as an associative array of name/value pairs to set in the target environment.",
"name": "env"
},
{
"descr": "Width of the virtual terminal.",
"name": "width"
},
{
"descr": "Height of the virtual terminal.",
"name": "height"
},
{
"descr": "width_height_type should be one of SSH2_TERM_UNIT_CHARS or SSH2_TERM_UNIT_PIXELS.",
"name": "width_height_type"
}
],
"path": "php/function.ssh2-shell",
"syntax": "resource ssh2_shell ( resource $session [, string $term_type = \"vanilla\" [, array $env [, int $width = 80 [, int $height = 25 [, int $width_height_type = SSH2_TERM_UNIT_CHARS ]]]]] )",
"type": "Networking"
},
"ssh2_tunnel": {
"descr": "Open a socket stream to an arbitrary host/port by way of the currently connected SSH server.",
"name": "ssh2_tunnel",
"params": [
{
"descr": "An SSH connection link identifier, obtained from a call to ssh2_connect().",
"name": "session"
}
],
"path": "php/function.ssh2-tunnel",
"syntax": "resource ssh2_tunnel ( resource $session , string $host , int $port )",
"type": "Networking"
},
"stat": {
"descr": "Gathers the statistics of the file named by filename. If filename is a symbolic link, statistics are from the file itself, not the symlink.",
"name": "stat",
"params": [
{
"descr": "Path to the file.",
"name": "filename"
}
],
"path": "php/function.stat",
"syntax": "array stat ( string $filename )",
"type": "File System"
},
"stats_absolute_deviation": {
"descr": "",
"name": "stats_absolute_deviation",
"params": [],
"path": "php/function.stats-absolute-deviation",
"syntax": "float stats_absolute_deviation ( array $a )",
"type": "Mathematics"
},
"stats_cdf_beta": {
"descr": "Method Cumulative distribution function (P) is calculated directly by code associated with the following reference. DiDinato, A. R. and Morris, A. H. Algorithm 708: Significant Digit Computation of the Incomplete Beta Function Ratios. ACM Trans. Math. Softw. 18 (1993), 360-373. Computation of other parameters involve a search for a value that produces the desired value of P. The search relies on the monotonicity of P with the other parameter. Note The beta density is proportional to t^(A-1) * (1-t)^(B-1) Arguments P -- The integral from 0 to X of the chi-square distribution. Input range: [0, 1]. Q -- 1-P. Input range: [0, 1]. P + Q = 1.0. X -- Upper limit of integration of beta density. Input range: [0,1]. Search range: [0,1] Y -- 1-X. Input range: [0,1]. Search range: [0,1] X + Y = 1.0. A -- The first parameter of the beta density. Input range: (0, +infinity). Search range: [1D-100,1D100] B -- The second parameter of the beta density. Input range: (0, +infinity). Search range: [1D-100,1D100] STATUS -- 0 if calculation completed correctly -I if input parameter number I is out of range 1 if answer appears to be lower than lowest search bound 2 if answer appears to be higher than greatest search bound 3 if P + Q .ne. 1 4 if X + Y .ne. 1 BOUND -- Undefined if STATUS is 0 Bound exceeded by parameter number I if STATUS is negative. Lower search bound if STATUS is 1. Upper search bound if STATUS is 2.",
"name": "stats_cdf_beta",
"params": [
{
"descr": "Integer indicating which of the next four argument values is to be calculated from the others. ",
"name": "par1 par2 par3 which"
}
],
"path": "php/function.stats-cdf-beta",
"syntax": "float stats_cdf_beta ( float $par1 , float $par2 , float $par3 , int $which )",
"type": "Mathematics"
},
"stats_cdf_binomial": {
"descr": "",
"name": "stats_cdf_binomial",
"params": [],
"path": "php/function.stats-cdf-binomial",
"syntax": "float stats_cdf_binomial ( float $par1 , float $par2 , float $par3 , int $which )",
"type": "Mathematics"
},
"stats_cdf_cauchy": {
"descr": "",
"name": "stats_cdf_cauchy",
"params": [],
"path": "php/function.stats-cdf-cauchy",
"syntax": "float stats_cdf_cauchy ( float $par1 , float $par2 , float $par3 , int $which )",
"type": "Mathematics"
},
"stats_cdf_chisquare": {
"descr": "",
"name": "stats_cdf_chisquare",
"params": [],
"path": "php/function.stats-cdf-chisquare",
"syntax": "float stats_cdf_chisquare ( float $par1 , float $par2 , int $which )",
"type": "Mathematics"
},
"stats_cdf_exponential": {
"descr": "",
"name": "stats_cdf_exponential",
"params": [],
"path": "php/function.stats-cdf-exponential",
"syntax": "float stats_cdf_exponential ( float $par1 , float $par2 , int $which )",
"type": "Mathematics"
},
"stats_cdf_f": {
"descr": "",
"name": "stats_cdf_f",
"params": [],
"path": "php/function.stats-cdf-f",
"syntax": "float stats_cdf_f ( float $par1 , float $par2 , float $par3 , int $which )",
"type": "Mathematics"
},
"stats_cdf_gamma": {
"descr": "",
"name": "stats_cdf_gamma",
"params": [],
"path": "php/function.stats-cdf-gamma",
"syntax": "float stats_cdf_gamma ( float $par1 , float $par2 , float $par3 , int $which )",
"type": "Mathematics"
},
"stats_cdf_laplace": {
"descr": "",
"name": "stats_cdf_laplace",
"params": [],
"path": "php/function.stats-cdf-laplace",
"syntax": "float stats_cdf_laplace ( float $par1 , float $par2 , float $par3 , int $which )",
"type": "Mathematics"
},
"stats_cdf_logistic": {
"descr": "",
"name": "stats_cdf_logistic",
"params": [],
"path": "php/function.stats-cdf-logistic",
"syntax": "float stats_cdf_logistic ( float $par1 , float $par2 , float $par3 , int $which )",
"type": "Mathematics"
},
"stats_cdf_negative_binomial": {
"descr": "",
"name": "stats_cdf_negative_binomial",
"params": [],
"path": "php/function.stats-cdf-negative-binomial",
"syntax": "float stats_cdf_negative_binomial ( float $par1 , float $par2 , float $par3 , int $which )",
"type": "Mathematics"
},
"stats_cdf_noncentral_chisquare": {
"descr": "",
"name": "stats_cdf_noncentral_chisquare",
"params": [],
"path": "php/function.stats-cdf-noncentral-chisquare",
"syntax": "float stats_cdf_noncentral_chisquare ( float $par1 , float $par2 , float $par3 , int $which )",
"type": "Mathematics"
},
"stats_cdf_noncentral_f": {
"descr": "",
"name": "stats_cdf_noncentral_f",
"params": [],
"path": "php/function.stats-cdf-noncentral-f",
"syntax": "float stats_cdf_noncentral_f ( float $par1 , float $par2 , float $par3 , float $par4 , int $which )",
"type": "Mathematics"
},
"stats_cdf_poisson": {
"descr": "",
"name": "stats_cdf_poisson",
"params": [],
"path": "php/function.stats-cdf-poisson",
"syntax": "float stats_cdf_poisson ( float $par1 , float $par2 , int $which )",
"type": "Mathematics"
},
"stats_cdf_t": {
"descr": "",
"name": "stats_cdf_t",
"params": [],
"path": "php/function.stats-cdf-t",
"syntax": "float stats_cdf_t ( float $par1 , float $par2 , int $which )",
"type": "Mathematics"
},
"stats_cdf_uniform": {
"descr": "",
"name": "stats_cdf_uniform",
"params": [],
"path": "php/function.stats-cdf-uniform",
"syntax": "float stats_cdf_uniform ( float $par1 , float $par2 , float $par3 , int $which )",
"type": "Mathematics"
},
"stats_cdf_weibull": {
"descr": "",
"name": "stats_cdf_weibull",
"params": [],
"path": "php/function.stats-cdf-weibull",
"syntax": "float stats_cdf_weibull ( float $par1 , float $par2 , float $par3 , int $which )",
"type": "Mathematics"
},
"stats_covariance": {
"descr": "",
"name": "stats_covariance",
"params": [],
"path": "php/function.stats-covariance",
"syntax": "float stats_covariance ( array $a , array $b )",
"type": "Mathematics"
},
"stats_den_uniform": {
"descr": "",
"name": "stats_den_uniform",
"params": [],
"path": "php/function.stats-den-uniform",
"syntax": "float stats_den_uniform ( float $x , float $a , float $b )",
"type": "Mathematics"
},
"stats_dens_beta": {
"descr": "",
"name": "stats_dens_beta",
"params": [],
"path": "php/function.stats-dens-beta",
"syntax": "float stats_dens_beta ( float $x , float $a , float $b )",
"type": "Mathematics"
},
"stats_dens_cauchy": {
"descr": "",
"name": "stats_dens_cauchy",
"params": [],
"path": "php/function.stats-dens-cauchy",
"syntax": "float stats_dens_cauchy ( float $x , float $ave , float $stdev )",
"type": "Mathematics"
},
"stats_dens_chisquare": {
"descr": "",
"name": "stats_dens_chisquare",
"params": [],
"path": "php/function.stats-dens-chisquare",
"syntax": "float stats_dens_chisquare ( float $x , float $dfr )",
"type": "Mathematics"
},
"stats_dens_exponential": {
"descr": "",
"name": "stats_dens_exponential",
"params": [],
"path": "php/function.stats-dens-exponential",
"syntax": "float stats_dens_exponential ( float $x , float $scale )",
"type": "Mathematics"
},
"stats_dens_f": {
"descr": "",
"name": "stats_dens_f",
"params": [],
"path": "php/function.stats-dens-f",
"syntax": "float stats_dens_f ( float $x , float $dfr1 , float $dfr2 )",
"type": "Mathematics"
},
"stats_dens_gamma": {
"descr": "",
"name": "stats_dens_gamma",
"params": [],
"path": "php/function.stats-dens-gamma",
"syntax": "float stats_dens_gamma ( float $x , float $shape , float $scale )",
"type": "Mathematics"
},
"stats_dens_laplace": {
"descr": "",
"name": "stats_dens_laplace",
"params": [],
"path": "php/function.stats-dens-laplace",
"syntax": "float stats_dens_laplace ( float $x , float $ave , float $stdev )",
"type": "Mathematics"
},
"stats_dens_logistic": {
"descr": "",
"name": "stats_dens_logistic",
"params": [],
"path": "php/function.stats-dens-logistic",
"syntax": "float stats_dens_logistic ( float $x , float $ave , float $stdev )",
"type": "Mathematics"
},
"stats_dens_negative_binomial": {
"descr": "",
"name": "stats_dens_negative_binomial",
"params": [],
"path": "php/function.stats-dens-negative-binomial",
"syntax": "float stats_dens_negative_binomial ( float $x , float $n , float $pi )",
"type": "Mathematics"
},
"stats_dens_normal": {
"descr": "",
"name": "stats_dens_normal",
"params": [],
"path": "php/function.stats-dens-normal",
"syntax": "float stats_dens_normal ( float $x , float $ave , float $stdev )",
"type": "Mathematics"
},
"stats_dens_pmf_binomial": {
"descr": "",
"name": "stats_dens_pmf_binomial",
"params": [],
"path": "php/function.stats-dens-pmf-binomial",
"syntax": "float stats_dens_pmf_binomial ( float $x , float $n , float $pi )",
"type": "Mathematics"
},
"stats_dens_pmf_hypergeometric": {
"descr": "",
"name": "stats_dens_pmf_hypergeometric",
"params": [],
"path": "php/function.stats-dens-pmf-hypergeometric",
"syntax": "float stats_dens_pmf_hypergeometric ( float $n1 , float $n2 , float $N1 , float $N2 )",
"type": "Mathematics"
},
"stats_dens_pmf_poisson": {
"descr": "",
"name": "stats_dens_pmf_poisson",
"params": [],
"path": "php/function.stats-dens-pmf-poisson",
"syntax": "float stats_dens_pmf_poisson ( float $x , float $lb )",
"type": "Mathematics"
},
"stats_dens_t": {
"descr": "",
"name": "stats_dens_t",
"params": [],
"path": "php/function.stats-dens-t",
"syntax": "float stats_dens_t ( float $x , float $dfr )",
"type": "Mathematics"
},
"stats_dens_weibull": {
"descr": "",
"name": "stats_dens_weibull",
"params": [],
"path": "php/function.stats-dens-weibull",
"syntax": "float stats_dens_weibull ( float $x , float $a , float $b )",
"type": "Mathematics"
},
"stats_harmonic_mean": {
"descr": "",
"name": "stats_harmonic_mean",
"params": [],
"path": "php/function.stats-harmonic-mean",
"syntax": "number stats_harmonic_mean ( array $a )",
"type": "Mathematics"
},
"stats_kurtosis": {
"descr": "",
"name": "stats_kurtosis",
"params": [],
"path": "php/function.stats-kurtosis",
"syntax": "float stats_kurtosis ( array $a )",
"type": "Mathematics"
},
"stats_rand_gen_beta": {
"descr": "Returns a random deviate from the beta distribution with parameters A and B. The density of the beta is x^(a-1) * (1-x)^(b-1) / B(a,b) for 0 < x <. Method R. C. H. Cheng.",
"name": "stats_rand_gen_beta",
"params": [],
"path": "php/function.stats-rand-gen-beta",
"syntax": "float stats_rand_gen_beta ( float $a , float $b )",
"type": "Mathematics"
},
"stats_rand_gen_chisquare": {
"descr": "",
"name": "stats_rand_gen_chisquare",
"params": [],
"path": "php/function.stats-rand-gen-chisquare",
"syntax": "float stats_rand_gen_chisquare ( float $df )",
"type": "Mathematics"
},
"stats_rand_gen_exponential": {
"descr": "",
"name": "stats_rand_gen_exponential",
"params": [],
"path": "php/function.stats-rand-gen-exponential",
"syntax": "float stats_rand_gen_exponential ( float $av )",
"type": "Mathematics"
},
"stats_rand_gen_f": {
"descr": "Generates a random deviate from the F (variance ratio) distribution with \"dfn\" degrees of freedom in the numerator and \"dfd\" degrees of freedom in the denominator. Method : directly generates ratio of chisquare variates.",
"name": "stats_rand_gen_f",
"params": [],
"path": "php/function.stats-rand-gen-f",
"syntax": "float stats_rand_gen_f ( float $dfn , float $dfd )",
"type": "Mathematics"
},
"stats_rand_gen_funiform": {
"descr": "",
"name": "stats_rand_gen_funiform",
"params": [],
"path": "php/function.stats-rand-gen-funiform",
"syntax": "float stats_rand_gen_funiform ( float $low , float $high )",
"type": "Mathematics"
},
"stats_rand_gen_gamma": {
"descr": "Generates random deviates from the gamma distribution whose density is (A**R)/Gamma(R) * X**(R-1) * Exp(-A*X).",
"name": "stats_rand_gen_gamma",
"params": [
{
"descr": "location parameter of Gamma distribution (a > 0).",
"name": "a"
},
{
"descr": "shape parameter of Gamma distribution (r > 0).",
"name": "r"
}
],
"path": "php/function.stats-rand-gen-gamma",
"syntax": "float stats_rand_gen_gamma ( float $a , float $r )",
"type": "Mathematics"
},
"stats_rand_gen_ibinomial": {
"descr": "",
"name": "stats_rand_gen_ibinomial",
"params": [],
"path": "php/function.stats-rand-gen-ibinomial",
"syntax": "int stats_rand_gen_ibinomial ( int $n , float $pp )",
"type": "Mathematics"
},
"stats_rand_gen_ibinomial_negative": {
"descr": "",
"name": "stats_rand_gen_ibinomial_negative",
"params": [],
"path": "php/function.stats-rand-gen-ibinomial-negative",
"syntax": "int stats_rand_gen_ibinomial_negative ( int $n , float $p )",
"type": "Mathematics"
},
"stats_rand_gen_int": {
"descr": "",
"name": "stats_rand_gen_int",
"params": [],
"path": "php/function.stats-rand-gen-int",
"syntax": "int stats_rand_gen_int ( void )",
"type": "Mathematics"
},
"stats_rand_gen_ipoisson": {
"descr": "",
"name": "stats_rand_gen_ipoisson",
"params": [],
"path": "php/function.stats-rand-gen-ipoisson",
"syntax": "int stats_rand_gen_ipoisson ( float $mu )",
"type": "Mathematics"
},
"stats_rand_gen_iuniform": {
"descr": "",
"name": "stats_rand_gen_iuniform",
"params": [],
"path": "php/function.stats-rand-gen-iuniform",
"syntax": "int stats_rand_gen_iuniform ( int $low , int $high )",
"type": "Mathematics"
},
"stats_rand_gen_noncenral_chisquare": {
"descr": "",
"name": "stats_rand_gen_noncenral_chisquare",
"params": [],
"path": "php/function.stats-rand-gen-noncenral-chisquare",
"syntax": "float stats_rand_gen_noncenral_chisquare ( float $df , float $xnonc )",
"type": "Mathematics"
},
"stats_rand_gen_noncentral_f": {
"descr": "",
"name": "stats_rand_gen_noncentral_f",
"params": [],
"path": "php/function.stats-rand-gen-noncentral-f",
"syntax": "float stats_rand_gen_noncentral_f ( float $dfn , float $dfd , float $xnonc )",
"type": "Mathematics"
},
"stats_rand_gen_noncentral_t": {
"descr": "",
"name": "stats_rand_gen_noncentral_t",
"params": [],
"path": "php/function.stats-rand-gen-noncentral-t",
"syntax": "float stats_rand_gen_noncentral_t ( float $df , float $xnonc )",
"type": "Mathematics"
},
"stats_rand_gen_normal": {
"descr": "",
"name": "stats_rand_gen_normal",
"params": [],
"path": "php/function.stats-rand-gen-normal",
"syntax": "float stats_rand_gen_normal ( float $av , float $sd )",
"type": "Mathematics"
},
"stats_rand_gen_t": {
"descr": "",
"name": "stats_rand_gen_t",
"params": [],
"path": "php/function.stats-rand-gen-t",
"syntax": "float stats_rand_gen_t ( float $df )",
"type": "Mathematics"
},
"stats_rand_get_seeds": {
"descr": "",
"name": "stats_rand_get_seeds",
"params": [],
"path": "php/function.stats-rand-get-seeds",
"syntax": "array stats_rand_get_seeds ( void )",
"type": "Mathematics"
},
"stats_rand_phrase_to_seeds": {
"descr": "",
"name": "stats_rand_phrase_to_seeds",
"params": [],
"path": "php/function.stats-rand-phrase-to-seeds",
"syntax": "array stats_rand_phrase_to_seeds ( string $phrase )",
"type": "Mathematics"
},
"stats_rand_ranf": {
"descr": "",
"name": "stats_rand_ranf",
"params": [],
"path": "php/function.stats-rand-ranf",
"syntax": "float stats_rand_ranf ( void )",
"type": "Mathematics"
},
"stats_rand_setall": {
"descr": "",
"name": "stats_rand_setall",
"params": [],
"path": "php/function.stats-rand-setall",
"syntax": "void stats_rand_setall ( int $iseed1 , int $iseed2 )",
"type": "Mathematics"
},
"stats_skew": {
"descr": "",
"name": "stats_skew",
"params": [],
"path": "php/function.stats-skew",
"syntax": "float stats_skew ( array $a )",
"type": "Mathematics"
},
"stats_standard_deviation": {
"descr": "",
"name": "stats_standard_deviation",
"params": [],
"path": "php/function.stats-standard-deviation",
"syntax": "float stats_standard_deviation ( array $a [, bool $sample = false ] )",
"type": "Mathematics"
},
"stats_stat_binomial_coef": {
"descr": "",
"name": "stats_stat_binomial_coef",
"params": [],
"path": "php/function.stats-stat-binomial-coef",
"syntax": "float stats_stat_binomial_coef ( int $x , int $n )",
"type": "Mathematics"
},
"stats_stat_correlation": {
"descr": "",
"name": "stats_stat_correlation",
"params": [],
"path": "php/function.stats-stat-correlation",
"syntax": "float stats_stat_correlation ( array $arr1 , array $arr2 )",
"type": "Mathematics"
},
"stats_stat_gennch": {
"descr": "",
"name": "stats_stat_gennch",
"params": [],
"path": "php/function.stats-stat-gennch",
"syntax": "float stats_stat_gennch ( int $n )",
"type": "Mathematics"
},
"stats_stat_independent_t": {
"descr": "",
"name": "stats_stat_independent_t",
"params": [],
"path": "php/function.stats-stat-independent-t",
"syntax": "float stats_stat_independent_t ( array $arr1 , array $arr2 )",
"type": "Mathematics"
},
"stats_stat_innerproduct": {
"descr": "",
"name": "stats_stat_innerproduct",
"params": [],
"path": "php/function.stats-stat-innerproduct",
"syntax": "float stats_stat_innerproduct ( array $arr1 , array $arr2 )",
"type": "Mathematics"
},
"stats_stat_noncentral_t": {
"descr": "",
"name": "stats_stat_noncentral_t",
"params": [],
"path": "php/function.stats-stat-noncentral-t",
"syntax": "float stats_stat_noncentral_t ( float $par1 , float $par2 , float $par3 , int $which )",
"type": "Mathematics"
},
"stats_stat_paired_t": {
"descr": "",
"name": "stats_stat_paired_t",
"params": [],
"path": "php/function.stats-stat-paired-t",
"syntax": "float stats_stat_paired_t ( array $arr1 , array $arr2 )",
"type": "Mathematics"
},
"stats_stat_percentile": {
"descr": "",
"name": "stats_stat_percentile",
"params": [],
"path": "php/function.stats-stat-percentile",
"syntax": "float stats_stat_percentile ( float $df , float $xnonc )",
"type": "Mathematics"
},
"stats_stat_powersum": {
"descr": "",
"name": "stats_stat_powersum",
"params": [],
"path": "php/function.stats-stat-powersum",
"syntax": "float stats_stat_powersum ( array $arr , float $power )",
"type": "Mathematics"
},
"stats_variance": {
"descr": "",
"name": "stats_variance",
"params": [],
"path": "php/function.stats-variance",
"syntax": "float stats_variance ( array $a [, bool $sample = false ] )",
"type": "Mathematics"
},
"str_getcsv": {
"descr": "Parses a string input for fields in CSV format and returns an array containing the fields read.",
"name": "str_getcsv",
"params": [
{
"descr": "The string to parse.",
"name": "input"
},
{
"descr": "Set the field delimiter (one character only).",
"name": "delimiter"
},
{
"descr": "Set the field enclosure character (one character only).",
"name": "enclosure"
},
{
"descr": "Set the escape character (one character only). ",
"name": "escape"
}
],
"path": "php/function.str-getcsv",
"syntax": "array str_getcsv ( string $input [, string $delimiter = ',' [, string $enclosure = '\"' [, string $escape = '\\\\' ]]] )",
"type": "String"
},
"str_ireplace": {
"descr": "This function returns a string or an array with all occurrences of search in subject (ignoring case) replaced with the given replace value. If you don't need fancy replacing rules, you should generally use this function instead of preg_replace() with the i modifier.",
"name": "str_ireplace",
"params": [
{
"descr": "The value being searched for, otherwise known as the needle. ",
"name": "search"
},
{
"descr": "The replacement value that replaces found search values. ",
"name": "replace"
},
{
"descr": "The string or array being searched and replaced on, otherwise known as the haystack. ",
"name": "subject"
},
{
"descr": "If passed, this will be set to the number of replacements performed.",
"name": "count"
}
],
"path": "php/function.str-ireplace",
"syntax": "mixed str_ireplace ( mixed $search , mixed $replace , mixed $subject [, int &$count ] )",
"type": "String"
},
"str_pad": {
"descr": "This functions returns the input string padded on the left, the right, or both sides to the specified padding length. If the optional argument pad_string is not supplied, the input is padded with spaces, otherwise it is padded with characters from pad_string up to the limit.",
"name": "str_pad",
"params": [
{
"descr": "The input string.",
"name": "input"
},
{
"descr": "If the value of pad_length is negative, less than, or equal to the length of the input string, no padding takes place.",
"name": "pad_length"
},
{
"descr": "Note: The pad_string may be truncated if the required number of padding characters can't be evenly divided by the pad_string's length.",
"name": "pad_string"
},
{
"descr": "Optional argument pad_type can be STR_PAD_RIGHT, STR_PAD_LEFT, or STR_PAD_BOTH. ",
"name": "pad_type"
}
],
"path": "php/function.str-pad",
"syntax": "string str_pad ( string $input , int $pad_length [, string $pad_string = \" \" [, int $pad_type = STR_PAD_RIGHT ]] )",
"type": "String"
},
"str_repeat": {
"descr": "Returns input repeated multiplier times.",
"name": "str_repeat",
"params": [
{
"descr": "The string to be repeated.",
"name": "input"
},
{
"descr": "Number of time the input string should be repeated. ",
"name": "multiplier"
}
],
"path": "php/function.str-repeat",
"syntax": "string str_repeat ( string $input , int $multiplier )",
"type": "String"
},
"str_replace": {
"descr": "This function returns a string or an array with all occurrences of search in subject replaced with the given replace value.",
"name": "str_replace",
"params": [
{
"descr": "The value being searched for, otherwise known as the needle. ",
"name": "search"
},
{
"descr": "The replacement value that replaces found search values. ",
"name": "replace"
},
{
"descr": "The string or array being searched and replaced on, otherwise known as the haystack. ",
"name": "subject"
},
{
"descr": "If passed, this will be set to the number of replacements performed.",
"name": "count"
}
],
"path": "php/function.str-replace",
"syntax": "mixed str_replace ( mixed $search , mixed $replace , mixed $subject [, int &$count ] )",
"type": "String"
},
"str_rot13": {
"descr": "Performs the ROT13 encoding on the str argument and returns the resulting string.",
"name": "str_rot13",
"params": [
{
"descr": "The input string.",
"name": "str"
}
],
"path": "php/function.str-rot13",
"syntax": "string str_rot13 ( string $str )",
"type": "String"
},
"str_shuffle": {
"descr": "",
"name": "str_shuffle",
"params": [
{
"descr": "The input string.",
"name": "str"
}
],
"path": "php/function.str-shuffle",
"syntax": "string str_shuffle ( string $str )",
"type": "String"
},
"str_split": {
"descr": "Converts a string to an array.",
"name": "str_split",
"params": [
{
"descr": "The input string.",
"name": "string"
},
{
"descr": "Maximum length of the chunk.",
"name": "split_length"
}
],
"path": "php/function.str-split",
"syntax": "array str_split ( string $string [, int $split_length = 1 ] )",
"type": "String"
},
"str_word_count": {
"descr": "Counts the number of words inside string. If the optional format is not specified, then the return value will be an integer representing the number of words found. In the event the format is specified, the return value will be an array, content of which is dependent on the format. The possible value for the format and the resultant outputs are listed below.",
"name": "str_word_count",
"params": [
{
"descr": "The string",
"name": "string"
},
{
"descr": "Specify the return value of this function. ",
"name": "format"
},
{
"descr": "A list of additional characters which will be considered as 'word'",
"name": "charlist"
}
],
"path": "php/function.str-word-count",
"syntax": "mixed str_word_count ( string $string [, int $format = 0 [, string $charlist ]] )",
"type": "String"
},
"strcasecmp": {
"descr": "Binary safe case-insensitive string comparison.",
"name": "strcasecmp",
"params": [
{
"descr": "The first string",
"name": "str1"
},
{
"descr": "The second string",
"name": "str2"
}
],
"path": "php/function.strcasecmp",
"syntax": "int strcasecmp ( string $str1 , string $str2 )",
"type": "String"
},
"strcmp": {
"descr": "",
"name": "strcmp",
"params": [
{
"descr": "The first string.",
"name": "str1"
},
{
"descr": "The second string.",
"name": "str2"
}
],
"path": "php/function.strcmp",
"syntax": "int strcmp ( string $str1 , string $str2 )",
"type": "String"
},
"strcoll": {
"descr": "Note that this comparison is case sensitive, and unlike strcmp() this function is not binary safe.",
"name": "strcoll",
"params": [
{
"descr": "The first string.",
"name": "str1"
},
{
"descr": "The second string.",
"name": "str2"
}
],
"path": "php/function.strcoll",
"syntax": "int strcoll ( string $str1 , string $str2 )",
"type": "String"
},
"strcspn": {
"descr": "Returns the length of the initial segment of str1 which does not contain any of the characters in str2.",
"name": "strcspn",
"params": [
{
"descr": "The first string.",
"name": "str1"
},
{
"descr": "The second string.",
"name": "str2"
},
{
"descr": "The start position of the string to examine.",
"name": "start"
},
{
"descr": "The length of the string to examine.",
"name": "length"
}
],
"path": "php/function.strcspn",
"syntax": "int strcspn ( string $str1 , string $str2 [, int $start [, int $length ]] )",
"type": "String"
},
"streamWrapper": {
"descr": "",
"name": "streamWrapper",
"params": [],
"path": "php/class.streamwrapper",
"syntax": "__construct ( void )",
"type": "Streams"
},
"streamWrapper::__construct": {
"descr": "Called when opening the stream wrapper, right before streamWrapper::stream_open().",
"name": "streamWrapper::__construct",
"params": [],
"path": "php/streamwrapper.construct",
"syntax": "streamWrapper::__construct ( void )",
"type": "Streams"
},
"streamWrapper::__destruct": {
"descr": "Called when closing the stream wrapper, right before streamWrapper::stream_flush().",
"name": "streamWrapper::__destruct",
"params": [],
"path": "php/streamwrapper.destruct",
"syntax": "streamWrapper::__destruct ( void )",
"type": "Streams"
},
"streamWrapper::dir_closedir": {
"descr": "This method is called in response to closedir().",
"name": "streamWrapper::dir_closedir",
"params": [],
"path": "php/streamwrapper.dir-closedir",
"syntax": "public bool streamWrapper::dir_closedir ( void )",
"type": "Streams"
},
"streamWrapper::dir_opendir": {
"descr": "This method is called in response to opendir().",
"name": "streamWrapper::dir_opendir",
"params": [
{
"descr": "Specifies the URL that was passed to opendir(). ",
"name": "path"
},
{
"descr": "Whether or not to enforce safe_mode (0x04).",
"name": "options"
}
],
"path": "php/streamwrapper.dir-opendir",
"syntax": "public bool streamWrapper::dir_opendir ( string $path , int $options )",
"type": "Streams"
},
"streamWrapper::dir_readdir": {
"descr": "This method is called in response to readdir().",
"name": "streamWrapper::dir_readdir",
"params": [],
"path": "php/streamwrapper.dir-readdir",
"syntax": "public string streamWrapper::dir_readdir ( void )",
"type": "Streams"
},
"streamWrapper::dir_rewinddir": {
"descr": "This method is called in response to rewinddir().",
"name": "streamWrapper::dir_rewinddir",
"params": [],
"path": "php/streamwrapper.dir-rewinddir",
"syntax": "public bool streamWrapper::dir_rewinddir ( void )",
"type": "Streams"
},
"streamWrapper::mkdir": {
"descr": "This method is called in response to mkdir().",
"name": "streamWrapper::mkdir",
"params": [
{
"descr": "Directory which should be created.",
"name": "path"
},
{
"descr": "The value passed to mkdir().",
"name": "mode"
},
{
"descr": "A bitwise mask of values, such as STREAM_MKDIR_RECURSIVE.",
"name": "options"
}
],
"path": "php/streamwrapper.mkdir",
"syntax": "public bool streamWrapper::mkdir ( string $path , int $mode , int $options )",
"type": "Streams"
},
"streamWrapper::rename": {
"descr": "This method is called in response to rename().",
"name": "streamWrapper::rename",
"params": [
{
"descr": "The URL to the current file.",
"name": "path_from"
},
{
"descr": "The URL which the path_from should be renamed to.",
"name": "path_to"
}
],
"path": "php/streamwrapper.rename",
"syntax": "public bool streamWrapper::rename ( string $path_from , string $path_to )",
"type": "Streams"
},
"streamWrapper::rmdir": {
"descr": "This method is called in response to rmdir().",
"name": "streamWrapper::rmdir",
"params": [
{
"descr": "The directory URL which should be removed.",
"name": "path"
},
{
"descr": "A bitwise mask of values, such as STREAM_MKDIR_RECURSIVE.",
"name": "options"
}
],
"path": "php/streamwrapper.rmdir",
"syntax": "public bool streamWrapper::rmdir ( string $path , int $options )",
"type": "Streams"
},
"streamWrapper::stream_cast": {
"descr": "This method is called in response to stream_select().",
"name": "streamWrapper::stream_cast",
"params": [
{
"descr": "Can be STREAM_CAST_FOR_SELECT when stream_select() is calling stream_cast() or STREAM_CAST_AS_STREAM when stream_cast() is called for other uses.",
"name": "cast_as"
}
],
"path": "php/streamwrapper.stream-cast",
"syntax": "public resource streamWrapper::stream_cast ( int $cast_as )",
"type": "Streams"
},
"streamWrapper::stream_close": {
"descr": "This method is called in response to fclose().",
"name": "streamWrapper::stream_close",
"params": [],
"path": "php/streamwrapper.stream-close",
"syntax": "public void streamWrapper::stream_close ( void )",
"type": "Streams"
},
"streamWrapper::stream_eof": {
"descr": "This method is called in response to feof().",
"name": "streamWrapper::stream_eof",
"params": [],
"path": "php/streamwrapper.stream-eof",
"syntax": "public bool streamWrapper::stream_eof ( void )",
"type": "Streams"
},
"streamWrapper::stream_flush": {
"descr": "This method is called in response to fflush().",
"name": "streamWrapper::stream_flush",
"params": [],
"path": "php/streamwrapper.stream-flush",
"syntax": "public bool streamWrapper::stream_flush ( void )",
"type": "Streams"
},
"streamWrapper::stream_lock": {
"descr": "This method is called in response to flock(), when file_put_contents() (when flags contains LOCK_EX), stream_set_blocking() and when closing the stream (LOCK_UN).",
"name": "streamWrapper::stream_lock",
"params": [
{
"descr": "operation is one of the following: LOCK_SH to acquire a shared lock (reader). ",
"name": "operation"
}
],
"path": "php/streamwrapper.stream-lock",
"syntax": "public bool streamWrapper::stream_lock ( int $operation )",
"type": "Streams"
},
"streamWrapper::stream_metadata": {
"descr": "This method is called to set metadata on the stream. It is called when one of the following functions is called on a stream URL:",
"name": "streamWrapper::stream_metadata",
"params": [
{
"descr": "The file path or URL to set metadata. ",
"name": "path"
},
{
"descr": "One of: STREAM_META_TOUCH (The method was called in response to touch()) STREAM_META_OWNER_NAME (The method was called in response to chown() with string parameter) STREAM_META_OWNER (The method was called in response to chown()) STREAM_META_GROUP_NAME (The method was called in response to chgrp()) STREAM_META_GROUP (The method was called in response to chgrp()) STREAM_META_ACCESS (The method was called in response to chmod())",
"name": "option"
},
{
"descr": "If option is STREAM_META_TOUCH: Array consisting of two arguments of the touch() function. ",
"name": "value"
}
],
"path": "php/streamwrapper.stream-metadata",
"syntax": "public bool streamWrapper::stream_metadata ( string $path , int $option , mixed $value )",
"type": "Streams"
},
"streamWrapper::stream_open": {
"descr": "This method is called immediately after the wrapper is initialized (f.e. by fopen() and file_get_contents()).",
"name": "streamWrapper::stream_open",
"params": [
{
"descr": "Specifies the URL that was passed to the original function. ",
"name": "path"
},
{
"descr": "The mode used to open the file, as detailed for fopen(). ",
"name": "mode"
},
{
"descr": "Holds additional flags set by the streams API. ",
"name": "options"
},
{
"descr": "If the path is opened successfully, and STREAM_USE_PATH is set in options, opened_path should be set to the full path of the file/resource that was actually opened.",
"name": "opened_path"
}
],
"path": "php/streamwrapper.stream-open",
"syntax": "public bool streamWrapper::stream_open ( string $path , string $mode , int $options , string &$opened_path )",
"type": "Streams"
},
"streamWrapper::stream_read": {
"descr": "This method is called in response to fread() and fgets().",
"name": "streamWrapper::stream_read",
"params": [
{
"descr": "How many bytes of data from the current position should be returned.",
"name": "count"
}
],
"path": "php/streamwrapper.stream-read",
"syntax": "public string streamWrapper::stream_read ( int $count )",
"type": "Streams"
},
"streamWrapper::stream_seek": {
"descr": "This method is called in response to fseek().",
"name": "streamWrapper::stream_seek",
"params": [
{
"descr": "The stream offset to seek to.",
"name": "offset"
},
{
"descr": "Possible values: SEEK_SET - Set position equal to offset bytes. ",
"name": "whence"
}
],
"path": "php/streamwrapper.stream-seek",
"syntax": "public bool streamWrapper::stream_seek ( int $offset , int $whence = SEEK_SET )",
"type": "Streams"
},
"streamWrapper::stream_set_option": {
"descr": "This method is called to set options on the stream.",
"name": "streamWrapper::stream_set_option",
"params": [
{
"descr": "One of: STREAM_OPTION_BLOCKING (The method was called in response to stream_set_blocking()) STREAM_OPTION_READ_TIMEOUT (The method was called in response to stream_set_timeout()) STREAM_OPTION_WRITE_BUFFER (The method was called in response to stream_set_write_buffer())",
"name": "option"
},
{
"descr": "If option is STREAM_OPTION_BLOCKING: requested blocking mode (1 meaning block 0 not blocking). ",
"name": "arg1"
},
{
"descr": "If option is STREAM_OPTION_BLOCKING: This option is not set. ",
"name": "arg2"
}
],
"path": "php/streamwrapper.stream-set-option",
"syntax": "public bool streamWrapper::stream_set_option ( int $option , int $arg1 , int $arg2 )",
"type": "Streams"
},
"streamWrapper::stream_stat": {
"descr": "This method is called in response to fstat().",
"name": "streamWrapper::stream_stat",
"params": [],
"path": "php/streamwrapper.stream-stat",
"syntax": "public array streamWrapper::stream_stat ( void )",
"type": "Streams"
},
"streamWrapper::stream_tell": {
"descr": "This method is called in response to fseek() to determine the current position.",
"name": "streamWrapper::stream_tell",
"params": [],
"path": "php/streamwrapper.stream-tell",
"syntax": "public int streamWrapper::stream_tell ( void )",
"type": "Streams"
},
"streamWrapper::stream_truncate": {
"descr": "Will respond to truncation, e.g., through ftruncate().",
"name": "streamWrapper::stream_truncate",
"params": [
{
"descr": "The new size.",
"name": "new_size"
}
],
"path": "php/streamwrapper.stream-truncate",
"syntax": "public bool streamWrapper::stream_truncate ( int $new_size )",
"type": "Streams"
},
"streamWrapper::stream_write": {
"descr": "This method is called in response to fwrite().",
"name": "streamWrapper::stream_write",
"params": [
{
"descr": "Should be stored into the underlying stream. ",
"name": "data"
}
],
"path": "php/streamwrapper.stream-write",
"syntax": "public int streamWrapper::stream_write ( string $data )",
"type": "Streams"
},
"streamWrapper::unlink": {
"descr": "This method is called in response to unlink().",
"name": "streamWrapper::unlink",
"params": [
{
"descr": "The file URL which should be deleted.",
"name": "path"
}
],
"path": "php/streamwrapper.unlink",
"syntax": "public bool streamWrapper::unlink ( string $path )",
"type": "Streams"
},
"streamWrapper::url_stat": {
"descr": "This method is called in response to all stat() related functions, such as:",
"name": "streamWrapper::url_stat",
"params": [
{
"descr": "The file path or URL to stat. Note that in the case of a URL, it must be a :// delimited URL. ",
"name": "path"
},
{
"descr": "Holds additional flags set by the streams API. ",
"name": "flags"
}
],
"path": "php/streamwrapper.url-stat",
"syntax": "public array streamWrapper::url_stat ( string $path , int $flags )",
"type": "Streams"
},
"stream_bucket_append": {
"descr": "",
"name": "stream_bucket_append",
"params": [],
"path": "php/function.stream-bucket-append",
"syntax": "void stream_bucket_append ( resource $brigade , resource $bucket )",
"type": "Streams"
},
"stream_bucket_make_writeable": {
"descr": "",
"name": "stream_bucket_make_writeable",
"params": [],
"path": "php/function.stream-bucket-make-writeable",
"syntax": "object stream_bucket_make_writeable ( resource $brigade )",
"type": "Streams"
},
"stream_bucket_new": {
"descr": "",
"name": "stream_bucket_new",
"params": [],
"path": "php/function.stream-bucket-new",
"syntax": "object stream_bucket_new ( resource $stream , string $buffer )",
"type": "Streams"
},
"stream_bucket_prepend": {
"descr": "This function can be called to prepend a bucket to a bucket brigade. It is typically called from php_user_filter::filter().",
"name": "stream_bucket_prepend",
"params": [
{
"descr": "brigade is a resource pointing to a bucket brigade which contains one or more bucket objects.",
"name": "brigade"
},
{
"descr": "A bucket object.",
"name": "bucket"
}
],
"path": "php/function.stream-bucket-prepend",
"syntax": "void stream_bucket_prepend ( resource $brigade , resource $bucket )",
"type": "Streams"
},
"stream_context_create": {
"descr": "Creates and returns a stream context with any options supplied in options preset.",
"name": "stream_context_create",
"params": [
{
"descr": "Must be an associative array of associative arrays in the format $arr['wrapper']['option'] = $value. ",
"name": "options"
},
{
"descr": "Must be an associative array in the format $arr['parameter'] = $value. ",
"name": "params"
}
],
"path": "php/function.stream-context-create",
"syntax": "resource stream_context_create ([ array $options [, array $params ]] )",
"type": "Streams"
},
"stream_context_get_default": {
"descr": "",
"name": "stream_context_get_default",
"params": [
{
"descr": "options must be an associative array of associative arrays in the format $arr['wrapper']['option'] = $value. ",
"name": "options"
}
],
"path": "php/function.stream-context-get-default",
"syntax": "resource stream_context_get_default ([ array $options ] )",
"type": "Streams"
},
"stream_context_get_options": {
"descr": "",
"name": "stream_context_get_options",
"params": [
{
"descr": "The stream or context to get options from",
"name": "stream_or_context"
}
],
"path": "php/function.stream-context-get-options",
"syntax": "array stream_context_get_options ( resource $stream_or_context )",
"type": "Streams"
},
"stream_context_get_params": {
"descr": "Retrieves parameter and options information from the stream or context.",
"name": "stream_context_get_params",
"params": [
{
"descr": "A stream resource or a context resource",
"name": "stream_or_context"
}
],
"path": "php/function.stream-context-get-params",
"syntax": "array stream_context_get_params ( resource $stream_or_context )",
"type": "Streams"
},
"stream_context_set_default": {
"descr": "",
"name": "stream_context_set_default",
"params": [
{
"descr": "The options to set for the default context. ",
"name": "options"
}
],
"path": "php/function.stream-context-set-default",
"syntax": "resource stream_context_set_default ( array $options )",
"type": "Streams"
},
"stream_context_set_option": {
"descr": "",
"name": "stream_context_set_option",
"params": [
{
"descr": "The stream or context resource to apply the options to.",
"name": "stream_or_context"
},
{
"descr": "The options to set for the default context. ",
"name": "options"
}
],
"path": "php/function.stream-context-set-option",
"syntax": "bool stream_context_set_option ( resource $stream_or_context , string $wrapper , string $option , mixed $value )",
"type": "Streams"
},
"stream_context_set_params": {
"descr": "Sets parameters on the specified context.",
"name": "stream_context_set_params",
"params": [
{
"descr": "The stream or context to apply the parameters too.",
"name": "stream_or_context"
},
{
"descr": "An array of parameters to set. Note: params should be an associative array of the structure: $params['paramname'] = \"paramvalue\";.",
"name": "params"
}
],
"path": "php/function.stream-context-set-params",
"syntax": "bool stream_context_set_params ( resource $stream_or_context , array $params )",
"type": "Streams"
},
"stream_copy_to_stream": {
"descr": "Makes a copy of up to maxlength bytes of data from the current position (or from the offset position, if specified) in source to dest. If maxlength is not specified, all remaining content in source will be copied.",
"name": "stream_copy_to_stream",
"params": [
{
"descr": "The source stream",
"name": "source"
},
{
"descr": "The destination stream",
"name": "dest"
},
{
"descr": "Maximum bytes to copy",
"name": "maxlength"
},
{
"descr": "The offset where to start to copy data",
"name": "offset"
}
],
"path": "php/function.stream-copy-to-stream",
"syntax": "int stream_copy_to_stream ( resource $source , resource $dest [, int $maxlength = -1 [, int $offset = 0 ]] )",
"type": "Streams"
},
"stream_encoding": {
"descr": "",
"name": "stream_encoding",
"params": [],
"path": "php/function.stream-encoding",
"syntax": "bool stream_encoding ( resource $stream [, string $encoding ] )",
"type": "Streams"
},
"stream_filter_append": {
"descr": "Adds filtername to the list of filters attached to stream.",
"name": "stream_filter_append",
"params": [
{
"descr": "The target stream.",
"name": "stream"
},
{
"descr": "The filter name.",
"name": "filtername"
},
{
"descr": "By default, stream_filter_append() will attach the filter to the read filter chain if the file was opened for reading (i.e. ",
"name": "read_write"
},
{
"descr": "This filter will be added with the specified params to the end of the list and will therefore be called last during stream operations. ",
"name": "params"
}
],
"path": "php/function.stream-filter-append",
"syntax": "resource stream_filter_append ( resource $stream , string $filtername [, int $read_write [, mixed $params ]] )",
"type": "Streams"
},
"stream_filter_prepend": {
"descr": "Adds filtername to the list of filters attached to stream.",
"name": "stream_filter_prepend",
"params": [
{
"descr": "The target stream.",
"name": "stream"
},
{
"descr": "The filter name.",
"name": "filtername"
},
{
"descr": "By default, stream_filter_prepend() will attach the filter to the read filter chain if the file was opened for reading (i.e. ",
"name": "read_write"
},
{
"descr": "This filter will be added with the specified params to the beginning of the list and will therefore be called first during stream operations. ",
"name": "params"
}
],
"path": "php/function.stream-filter-prepend",
"syntax": "resource stream_filter_prepend ( resource $stream , string $filtername [, int $read_write [, mixed $params ]] )",
"type": "Streams"
},
"stream_filter_register": {
"descr": "stream_filter_register() allows you to implement your own filter on any registered stream used with all the other filesystem functions (such as fopen(), fread() etc.).",
"name": "stream_filter_register",
"params": [
{
"descr": "The filter name to be registered.",
"name": "filtername"
},
{
"descr": "To implement a filter, you need to define a class as an extension of php_user_filter with a number of member functions. ",
"name": "classname"
}
],
"path": "php/function.stream-filter-register",
"syntax": "bool stream_filter_register ( string $filtername , string $classname )",
"type": "Streams"
},
"stream_filter_remove": {
"descr": "Removes a stream filter previously added to a stream with stream_filter_prepend() or stream_filter_append(). Any data remaining in the filter's internal buffer will be flushed through to the next filter before removing it.",
"name": "stream_filter_remove",
"params": [
{
"descr": "The stream filter to be removed.",
"name": "stream_filter"
}
],
"path": "php/function.stream-filter-remove",
"syntax": "bool stream_filter_remove ( resource $stream_filter )",
"type": "Streams"
},
"stream_get_contents": {
"descr": "Identical to file_get_contents(), except that stream_get_contents() operates on an already open stream resource and returns the remaining contents in a string, up to maxlength bytes and starting at the specified offset.",
"name": "stream_get_contents",
"params": [
{
"descr": "A stream resource (e.g. returned from fopen())",
"name": "handle (resource)"
},
{
"descr": "The maximum bytes to read. Defaults to -1 (read all the remaining buffer).",
"name": "maxlength (integer)"
},
{
"descr": "Seek to the specified offset before reading. ",
"name": "offset (integer)"
}
],
"path": "php/function.stream-get-contents",
"syntax": "string stream_get_contents ( resource $handle [, int $maxlength = -1 [, int $offset = -1 ]] )",
"type": "Streams"
},
"stream_get_filters": {
"descr": "",
"name": "stream_get_filters",
"params": [],
"path": "php/function.stream-get-filters",
"syntax": "array stream_get_filters ( void )",
"type": "Streams"
},
"stream_get_line": {
"descr": "Gets a line from the given handle.",
"name": "stream_get_line",
"params": [
{
"descr": "A valid file handle.",
"name": "handle"
},
{
"descr": "The number of bytes to read from the handle.",
"name": "length"
},
{
"descr": "An optional string delimiter.",
"name": "ending"
}
],
"path": "php/function.stream-get-line",
"syntax": "string stream_get_line ( resource $handle , int $length [, string $ending ] )",
"type": "Streams"
},
"stream_get_meta_data": {
"descr": "Returns information about an existing stream.",
"name": "stream_get_meta_data",
"params": [
{
"descr": "The stream can be any stream created by fopen(), fsockopen() and pfsockopen().",
"name": "stream"
}
],
"path": "php/function.stream-get-meta-data",
"syntax": "array stream_get_meta_data ( resource $stream )",
"type": "Streams"
},
"stream_get_transports": {
"descr": "",
"name": "stream_get_transports",
"params": [],
"path": "php/function.stream-get-transports",
"syntax": "array stream_get_transports ( void )",
"type": "Streams"
},
"stream_get_wrappers": {
"descr": "Retrieve list of registered streams available on the running system.",
"name": "stream_get_wrappers",
"params": [],
"path": "php/function.stream-get-wrappers",
"syntax": "array stream_get_wrappers ( void )",
"type": "Streams"
},
"stream_is_local": {
"descr": "Checks if a stream, or a URL, is a local one or not.",
"name": "stream_is_local",
"params": [
{
"descr": "The stream resource or URL to check.",
"name": "stream_or_url"
}
],
"path": "php/function.stream-is-local",
"syntax": "bool stream_is_local ( mixed $stream_or_url )",
"type": "Streams"
},
"stream_notification_callback": {
"descr": "A callable function, used by the notification context parameter, called during an event.",
"name": "stream_notification_callback",
"params": [
{
"descr": "One of the STREAM_NOTIFY_* notification constants.",
"name": "notification_code"
},
{
"descr": "One of the STREAM_NOTIFY_SEVERITY_* notification constants.",
"name": "severity"
},
{
"descr": "Passed if a descriptive message is available for the event.",
"name": "message"
},
{
"descr": "Passed if a descriptive message code is available for the event. ",
"name": "message_code"
},
{
"descr": "If applicable, the bytes_transferred will be populated.",
"name": "bytes_transferred"
},
{
"descr": "If applicable, the bytes_max will be populated.",
"name": "bytes_max"
}
],
"path": "php/function.stream-notification-callback",
"syntax": "void stream_notification_callback ( int $notification_code , int $severity , string $message , int $message_code , int $bytes_transferred , int $bytes_max )",
"type": "Streams"
},
"stream_resolve_include_path": {
"descr": "Resolve filename against the include path according to the same rules as fopen()/include.",
"name": "stream_resolve_include_path",
"params": [
{
"descr": "The filename to resolve.",
"name": "filename"
}
],
"path": "php/function.stream-resolve-include-path",
"syntax": "string stream_resolve_include_path ( string $filename )",
"type": "Streams"
},
"stream_select": {
"descr": "The stream_select() function accepts arrays of streams and waits for them to change status. Its operation is equivalent to that of the socket_select() function except in that it acts on streams.",
"name": "stream_select",
"params": [
{
"descr": "The streams listed in the read array will be watched to see if characters become available for reading (more precisely, to see if a read will not block - in particular, a stream resource is also ready on end-of-file, in which case an fread() will return a zero length string).",
"name": "read"
},
{
"descr": "The streams listed in the write array will be watched to see if a write will not block.",
"name": "write"
},
{
"descr": "The streams listed in the except array will be watched for high priority exceptional (\"out-of-band\") data arriving. ",
"name": "except"
},
{
"descr": "The tv_sec and tv_usec together form the timeout parameter, tv_sec specifies the number of seconds while tv_usec the number of microseconds. ",
"name": "tv_sec"
},
{
"descr": "See tv_sec description.",
"name": "tv_usec"
}
],
"path": "php/function.stream-select",
"syntax": "int stream_select ( array &$read , array &$write , array &$except , int $tv_sec [, int $tv_usec = 0 ] )",
"type": "Streams"
},
"stream_set_blocking": {
"descr": "Sets blocking or non-blocking mode on a stream.",
"name": "stream_set_blocking",
"params": [
{
"descr": "The stream.",
"name": "stream"
},
{
"descr": "If mode is 0, the given stream will be switched to non-blocking mode, and if 1, it will be switched to blocking mode. ",
"name": "mode"
}
],
"path": "php/function.stream-set-blocking",
"syntax": "bool stream_set_blocking ( resource $stream , int $mode )",
"type": "Streams"
},
"stream_set_chunk_size": {
"descr": "Set the stream chunk size.",
"name": "stream_set_chunk_size",
"params": [
{
"descr": "The target stream.",
"name": "fp"
},
{
"descr": "The desired new chunk size.",
"name": "chunk_size"
}
],
"path": "php/function.stream-set-chunk-size",
"syntax": "int stream_set_chunk_size ( resource $fp , int $chunk_size )",
"type": "Streams"
},
"stream_set_read_buffer": {
"descr": "Sets the read buffer. It's the equivalent of stream_set_write_buffer(), but for read operations.",
"name": "stream_set_read_buffer",
"params": [
{
"descr": "The file pointer.",
"name": "stream"
},
{
"descr": "The number of bytes to buffer. If buffer is 0 then read operations are unbuffered. ",
"name": "buffer"
}
],
"path": "php/function.stream-set-read-buffer",
"syntax": "int stream_set_read_buffer ( resource $stream , int $buffer )",
"type": "Streams"
},
"stream_set_timeout": {
"descr": "Sets the timeout value on stream, expressed in the sum of seconds and microseconds.",
"name": "stream_set_timeout",
"params": [
{
"descr": "The target stream.",
"name": "stream"
},
{
"descr": "The seconds part of the timeout to be set.",
"name": "seconds"
},
{
"descr": "The microseconds part of the timeout to be set.",
"name": "microseconds"
}
],
"path": "php/function.stream-set-timeout",
"syntax": "bool stream_set_timeout ( resource $stream , int $seconds [, int $microseconds = 0 ] )",
"type": "Streams"
},
"stream_set_write_buffer": {
"descr": "Sets the buffering for write operations on the given stream to buffer bytes.",
"name": "stream_set_write_buffer",
"params": [
{
"descr": "The file pointer.",
"name": "stream"
},
{
"descr": "The number of bytes to buffer. If buffer is 0 then write operations are unbuffered. ",
"name": "buffer"
}
],
"path": "php/function.stream-set-write-buffer",
"syntax": "int stream_set_write_buffer ( resource $stream , int $buffer )",
"type": "Streams"
},
"stream_socket_accept": {
"descr": "Accept a connection on a socket previously created by stream_socket_server().",
"name": "stream_socket_accept",
"params": [
{
"descr": "The server socket to accept a connection from.",
"name": "server_socket"
},
{
"descr": "Override the default socket accept timeout. ",
"name": "timeout"
},
{
"descr": "Will be set to the name (address) of the client which connected, if included and available from the selected transport. ",
"name": "peername"
}
],
"path": "php/function.stream-socket-accept",
"syntax": "resource stream_socket_accept ( resource $server_socket [, float $timeout = ini_get(\"default_socket_timeout\") [, string &$peername ]] )",
"type": "Streams"
},
"stream_socket_client": {
"descr": "Initiates a stream or datagram connection to the destination specified by remote_socket. The type of socket created is determined by the transport specified using standard URL formatting: transport://target. For Internet Domain sockets (AF_INET) such as TCP and UDP, the target portion of the remote_socket parameter should consist of a hostname or IP address followed by a colon and a port number. For Unix domain sockets, the target portion should point to the socket file on the filesystem.",
"name": "stream_socket_client",
"params": [
{
"descr": "Address to the socket to connect to.",
"name": "remote_socket"
},
{
"descr": "Will be set to the system level error number if connection fails.",
"name": "errno"
},
{
"descr": "Will be set to the system level error message if the connection fails.",
"name": "errstr"
},
{
"descr": "Number of seconds until the connect() system call should timeout. ",
"name": "timeout"
},
{
"descr": "Bitmask field which may be set to any combination of connection flags. ",
"name": "flags"
},
{
"descr": "A valid context resource created with stream_context_create().",
"name": "context"
}
],
"path": "php/function.stream-socket-client",
"syntax": "resource stream_socket_client ( string $remote_socket [, int &$errno [, string &$errstr [, float $timeout = ini_get(\"default_socket_timeout\") [, int $flags = STREAM_CLIENT_CONNECT [, resource $context ]]]]] )",
"type": "Streams"
},
"stream_socket_enable_crypto": {
"descr": "",
"name": "stream_socket_enable_crypto",
"params": [
{
"descr": "The stream resource.",
"name": "stream"
},
{
"descr": "Enable/disable cryptography on the stream.",
"name": "enable"
},
{
"descr": "Setup encryption on the stream. ",
"name": "crypto_type"
},
{
"descr": "Seed the stream with settings from session_stream.",
"name": "session_stream"
}
],
"path": "php/function.stream-socket-enable-crypto",
"syntax": "mixed stream_socket_enable_crypto ( resource $stream , bool $enable [, int $crypto_type [, resource $session_stream ]] )",
"type": "Streams"
},
"stream_socket_get_name": {
"descr": "Returns the local or remote name of a given socket connection.",
"name": "stream_socket_get_name",
"params": [
{
"descr": "The socket to get the name of.",
"name": "handle"
},
{
"descr": "If set to TRUE the remote socket name will be returned, if set to FALSE the local socket name will be returned.",
"name": "want_peer"
}
],
"path": "php/function.stream-socket-get-name",
"syntax": "string stream_socket_get_name ( resource $handle , bool $want_peer )",
"type": "Streams"
},
"stream_socket_pair": {
"descr": "stream_socket_pair() creates a pair of connected, indistinguishable socket streams. This function is commonly used in IPC (Inter-Process Communication).",
"name": "stream_socket_pair",
"params": [
{
"descr": "The protocol family to be used: STREAM_PF_INET, STREAM_PF_INET6 or STREAM_PF_UNIX",
"name": "domain"
},
{
"descr": "The type of communication to be used: STREAM_SOCK_DGRAM, STREAM_SOCK_RAW, STREAM_SOCK_RDM, STREAM_SOCK_SEQPACKET or STREAM_SOCK_STREAM",
"name": "type"
},
{
"descr": "The protocol to be used: STREAM_IPPROTO_ICMP, STREAM_IPPROTO_IP, STREAM_IPPROTO_RAW, STREAM_IPPROTO_TCP or STREAM_IPPROTO_UDP",
"name": "protocol"
}
],
"path": "php/function.stream-socket-pair",
"syntax": "array stream_socket_pair ( int $domain , int $type , int $protocol )",
"type": "Streams"
},
"stream_socket_recvfrom": {
"descr": "stream_socket_recvfrom() accepts data from a remote socket up to length bytes.",
"name": "stream_socket_recvfrom",
"params": [
{
"descr": "The remote socket.",
"name": "socket"
},
{
"descr": "The number of bytes to receive from the socket.",
"name": "length"
},
{
"descr": "The value of flags can be any combination of the following: Possible values for flags STREAM_OOB Process OOB (out-of-band) data. ",
"name": "flags"
},
{
"descr": "If address is provided it will be populated with the address of the remote socket.",
"name": "address"
}
],
"path": "php/function.stream-socket-recvfrom",
"syntax": "string stream_socket_recvfrom ( resource $socket , int $length [, int $flags = 0 [, string &$address ]] )",
"type": "Streams"
},
"stream_socket_sendto": {
"descr": "Sends the specified data through the socket.",
"name": "stream_socket_sendto",
"params": [
{
"descr": "The socket to send data to.",
"name": "socket"
},
{
"descr": "The data to be sent.",
"name": "data"
},
{
"descr": "The value of flags can be any combination of the following: possible values for flags STREAM_OOB Process OOB (out-of-band) data.",
"name": "flags"
},
{
"descr": "The address specified when the socket stream was created will be used unless an alternate address is specified in address. ",
"name": "address"
}
],
"path": "php/function.stream-socket-sendto",
"syntax": "int stream_socket_sendto ( resource $socket , string $data [, int $flags = 0 [, string $address ]] )",
"type": "Streams"
},
"stream_socket_server": {
"descr": "Creates a stream or datagram socket on the specified local_socket.",
"name": "stream_socket_server",
"params": [
{
"descr": "The type of socket created is determined by the transport specified using standard URL formatting: transport://target. ",
"name": "local_socket"
},
{
"descr": "If the optional errno and errstr arguments are present they will be set to indicate the actual system level error that occurred in the system-level socket(), bind(), and listen() calls. ",
"name": "errno"
},
{
"descr": "See errno description.",
"name": "errstr"
},
{
"descr": "A bitmask field which may be set to any combination of socket creation flags. ",
"name": "flags"
}
],
"path": "php/function.stream-socket-server",
"syntax": "resource stream_socket_server ( string $local_socket [, int &$errno [, string &$errstr [, int $flags = STREAM_SERVER_BIND | STREAM_SERVER_LISTEN [, resource $context ]]]] )",
"type": "Streams"
},
"stream_socket_shutdown": {
"descr": "Shutdowns (partially or not) a full-duplex connection.",
"name": "stream_socket_shutdown",
"params": [
{
"descr": "An open stream (opened with stream_socket_client(), for example)",
"name": "stream"
},
{
"descr": "One of the following constants: STREAM_SHUT_RD (disable further receptions), STREAM_SHUT_WR (disable further transmissions) or STREAM_SHUT_RDWR (disable further receptions and transmissions).",
"name": "how"
}
],
"path": "php/function.stream-socket-shutdown",
"syntax": "bool stream_socket_shutdown ( resource $stream , int $how )",
"type": "Streams"
},
"stream_supports_lock": {
"descr": "Tells whether the stream supports locking through flock().",
"name": "stream_supports_lock",
"params": [
{
"descr": "The stream to check.",
"name": "stream"
}
],
"path": "php/function.stream-supports-lock",
"syntax": "bool stream_supports_lock ( resource $stream )",
"type": "Streams"
},
"stream_wrapper_register": {
"descr": "Allows you to implement your own protocol handlers and streams for use with all the other filesystem functions (such as fopen(), fread() etc.).",
"name": "stream_wrapper_register",
"params": [
{
"descr": "The wrapper name to be registered.",
"name": "protocol"
},
{
"descr": "The classname which implements the protocol.",
"name": "classname"
},
{
"descr": "Should be set to STREAM_IS_URL if protocol is a URL protocol. ",
"name": "flags"
}
],
"path": "php/function.stream-wrapper-register",
"syntax": "bool stream_wrapper_register ( string $protocol , string $classname [, int $flags = 0 ] )",
"type": "Streams"
},
"stream_wrapper_restore": {
"descr": "Restores a built-in wrapper previously unregistered with stream_wrapper_unregister().",
"name": "stream_wrapper_restore",
"params": [],
"path": "php/function.stream-wrapper-restore",
"syntax": "bool stream_wrapper_restore ( string $protocol )",
"type": "Streams"
},
"stream_wrapper_unregister": {
"descr": "Allows you to disable an already defined stream wrapper. Once the wrapper has been disabled you may override it with a user-defined wrapper using stream_wrapper_register() or reenable it later on with stream_wrapper_restore().",
"name": "stream_wrapper_unregister",
"params": [],
"path": "php/function.stream-wrapper-unregister",
"syntax": "bool stream_wrapper_unregister ( string $protocol )",
"type": "Streams"
},
"strftime": {
"descr": "Format the time and/or date according to locale settings. Month and weekday names and other language-dependent strings respect the current locale set with setlocale().",
"name": "strftime",
"params": [
{
"descr": "The following characters are recognized in the format parameter string format Description Example returned values Day --- --- %a An abbreviated textual representation of the day Sun through Sat %A A full textual representation of the day Sunday through Saturday %d Two-digit day of the month (with leading zeros) 01 to 31 %e Day of the month, with a space preceding single digits. Not implemented as described on Windows. See below for more information. 1 to 31 %j Day of the year, 3 digits with leading zeros 001 to 366 %u ISO-8601 numeric representation of the day of the week 1 (for Monday) though 7 (for Sunday) %w Numeric representation of the day of the week 0 (for Sunday) through 6 (for Saturday) Week --- --- %U Week number of the given year, starting with the first Sunday as the first week 13 (for the 13th full week of the year) %V ISO-8601:1988 week number of the given year, starting with the first week of the year with at least 4 weekdays, with Monday being the start of the week 01 through 53 (where 53 accounts for an overlapping week) %W A numeric representation of the week of the year, starting with the first Monday as the first week 46 (for the 46th week of the year beginning with a Monday) Month --- --- %b Abbreviated month name, based on the locale Jan through Dec %B Full month name, based on the locale January through December %h Abbreviated month name, based on the locale (an alias of %b) Jan through Dec %m Two digit representation of the month 01 (for January) through 12 (for December) Year --- --- %C Two digit representation of the century (year divided by 100, truncated to an integer) 19 for the 20th Century %g Two digit representation of the year going by ISO-8601:1988 standards (see %V) Example: 09 for the week of January 6, 2009 %G The full four-digit version of %g Example: 2008 for the week of January 3, 2009 %y Two digit representation of the year Example: 09 for 2009, 79 for 1979 %Y Four digit representation for the year Example: 2038 Time --- --- %H Two digit representation of the hour in 24-hour format 00 through 23 %k Two digit representation of the hour in 24-hour format, with a space preceding single digits 0 through 23 %I Two digit representation of the hour in 12-hour format 01 through 12 %l (lower-case 'L') Hour in 12-hour format, with a space preceding single digits 1 through 12 %M Two digit representation of the minute 00 through 59 %p UPPER-CASE 'AM' or 'PM' based on the given time Example: AM for 00:31, PM for 22:23 %P lower-case 'am' or 'pm' based on the given time Example: am for 00:31, pm for 22:23 %r Same as \"%I:%M:%S %p\" Example: 09:34:17 PM for 21:34:17 %R Same as \"%H:%M\" Example: 00:35 for 12:35 AM, 16:44 for 4:44 PM %S Two digit representation of the second 00 through 59 %T Same as \"%H:%M:%S\" Example: 21:34:17 for 09:34:17 PM %X Preferred time representation based on locale, without the date Example: 03:59:16 or 15:59:16 %z The time zone offset. Not implemented as described on Windows. See below for more information. Example: -0500 for US Eastern Time %Z The time zone abbreviation. Not implemented as described on Windows. See below for more information. Example: EST for Eastern Time Time and Date Stamps --- --- %c Preferred date and time stamp based on locale Example: Tue Feb 5 00:45:10 2009 for February 5, 2009 at 12:45:10 AM %D Same as \"%m/%d/%y\" Example: 02/05/09 for February 5, 2009 %F Same as \"%Y-%m-%d\" (commonly used in database datestamps) Example: 2009-02-05 for February 5, 2009 %s Unix Epoch Time timestamp (same as the time() function) Example: 305815200 for September 10, 1979 08:40:00 AM %x Preferred date representation based on locale, without the time Example: 02/05/09 for February 5, 2009 Miscellaneous --- --- %n A newline character (\"\\n\") --- %t A Tab character (\"\\t\") --- %% A literal percentage character (\"%\") --- Maximum length of this parameter is 1023 characters. Warning Contrary to ISO-9899:1999, Sun Solaris starts with Sunday as 1. As a result, %u may not function as described in this manual. Warning Windows only: The %e modifier is not supported in the Windows implementation of this function. To achieve this value, the %#d modifier can be used instead. The example below illustrates how to write a cross platform compatible function. The %z and %Z modifiers both return the time zone name instead of the offset or abbreviation. Warning Mac OS X only: The %P modifier is not supported in the Mac OS X implementation of this function.",
"name": "format"
},
{
"descr": "The optional timestamp parameter is an integer Unix timestamp that defaults to the current local time if a timestamp is not given. ",
"name": "timestamp"
}
],
"path": "php/function.strftime",
"syntax": "string strftime ( string $format [, int $timestamp = time() ] )",
"type": "Date and Time"
},
"strip_tags": {
"descr": "This function tries to return a string with all NULL bytes, HTML and PHP tags stripped from a given str. It uses the same tag stripping state machine as the fgetss() function.",
"name": "strip_tags",
"params": [
{
"descr": "The input string.",
"name": "str"
},
{
"descr": "You can use the optional second parameter to specify tags which should not be stripped. ",
"name": "allowable_tags"
}
],
"path": "php/function.strip-tags",
"syntax": "string strip_tags ( string $str [, string $allowable_tags ] )",
"type": "String"
},
"stripcslashes": {
"descr": "Returns a string with backslashes stripped off. Recognizes C-like \\n, \\r ..., octal and hexadecimal representation.",
"name": "stripcslashes",
"params": [
{
"descr": "The string to be unescaped.",
"name": "str"
}
],
"path": "php/function.stripcslashes",
"syntax": "string stripcslashes ( string $str )",
"type": "String"
},
"stripos": {
"descr": "Find the numeric position of the first occurrence of needle in the haystack string.",
"name": "stripos",
"params": [
{
"descr": "The string to search in.",
"name": "haystack"
},
{
"descr": "Note that the needle may be a string of one or more characters. ",
"name": "needle"
},
{
"descr": "If specified, search will start this number of characters counted from the beginning of the string. ",
"name": "offset"
}
],
"path": "php/function.stripos",
"syntax": "int stripos ( string $haystack , string $needle [, int $offset = 0 ] )",
"type": "String"
},
"stripslashes": {
"descr": "Un-quotes a quoted string.",
"name": "stripslashes",
"params": [
{
"descr": "The input string.",
"name": "str"
}
],
"path": "php/function.stripslashes",
"syntax": "string stripslashes ( string $str )",
"type": "String"
},
"stristr": {
"descr": "Returns all of haystack starting from and including the first occurrence of needle to the end.",
"name": "stristr",
"params": [
{
"descr": "The string to search in",
"name": "haystack"
},
{
"descr": "If needle is not a string, it is converted to an integer and applied as the ordinal value of a character.",
"name": "needle"
},
{
"descr": "If TRUE, stristr() returns the part of the haystack before the first occurrence of the needle (excluding needle).",
"name": "before_needle"
}
],
"path": "php/function.stristr",
"syntax": "string stristr ( string $haystack , mixed $needle [, bool $before_needle = false ] )",
"type": "String"
},
"strlen": {
"descr": "Returns the length of the given string.",
"name": "strlen",
"params": [
{
"descr": "The string being measured for length.",
"name": "string"
}
],
"path": "php/function.strlen",
"syntax": "int strlen ( string $string )",
"type": "String"
},
"strnatcasecmp": {
"descr": "This function implements a comparison algorithm that orders alphanumeric strings in the way a human being would. The behaviour of this function is similar to strnatcmp(), except that the comparison is not case sensitive. For more information see: Martin Pool's \u00bb Natural Order String Comparison page.",
"name": "strnatcasecmp",
"params": [
{
"descr": "The first string.",
"name": "str1"
},
{
"descr": "The second string.",
"name": "str2"
}
],
"path": "php/function.strnatcasecmp",
"syntax": "int strnatcasecmp ( string $str1 , string $str2 )",
"type": "String"
},
"strnatcmp": {
"descr": "This function implements a comparison algorithm that orders alphanumeric strings in the way a human being would, this is described as a \"natural ordering\". Note that this comparison is case sensitive.",
"name": "strnatcmp",
"params": [
{
"descr": "The first string.",
"name": "str1"
},
{
"descr": "The second string.",
"name": "str2"
}
],
"path": "php/function.strnatcmp",
"syntax": "int strnatcmp ( string $str1 , string $str2 )",
"type": "String"
},
"strncasecmp": {
"descr": "This function is similar to strcasecmp(), with the difference that you can specify the (upper limit of the) number of characters from each string to be used in the comparison.",
"name": "strncasecmp",
"params": [
{
"descr": "The first string.",
"name": "str1"
},
{
"descr": "The second string.",
"name": "str2"
},
{
"descr": "The length of strings to be used in the comparison.",
"name": "len"
}
],
"path": "php/function.strncasecmp",
"syntax": "int strncasecmp ( string $str1 , string $str2 , int $len )",
"type": "String"
},
"strncmp": {
"descr": "This function is similar to strcmp(), with the difference that you can specify the (upper limit of the) number of characters from each string to be used in the comparison.",
"name": "strncmp",
"params": [
{
"descr": "The first string.",
"name": "str1"
},
{
"descr": "The second string.",
"name": "str2"
},
{
"descr": "Number of characters to use in the comparison.",
"name": "len"
}
],
"path": "php/function.strncmp",
"syntax": "int strncmp ( string $str1 , string $str2 , int $len )",
"type": "String"
},
"strpbrk": {
"descr": "strpbrk() searches the haystack string for a char_list.",
"name": "strpbrk",
"params": [
{
"descr": "The string where char_list is looked for.",
"name": "haystack"
},
{
"descr": "This parameter is case sensitive.",
"name": "char_list"
}
],
"path": "php/function.strpbrk",
"syntax": "string strpbrk ( string $haystack , string $char_list )",
"type": "String"
},
"strpos": {
"descr": "Find the numeric position of the first occurrence of needle in the haystack string.",
"name": "strpos",
"params": [
{
"descr": "The string to search in.",
"name": "haystack"
},
{
"descr": "If needle is not a string, it is converted to an integer and applied as the ordinal value of a character.",
"name": "needle"
},
{
"descr": "If specified, search will start this number of characters counted from the beginning of the string. ",
"name": "offset"
}
],
"path": "php/function.strpos",
"syntax": "mixed strpos ( string $haystack , mixed $needle [, int $offset = 0 ] )",
"type": "String"
},
"strptime": {
"descr": "strptime() returns an array with the date parsed, or FALSE on error.",
"name": "strptime",
"params": [
{
"descr": "The string to parse (e.g. returned from strftime()).",
"name": "date (string)"
},
{
"descr": "The format used in date (e.g. the same as used in strftime()). ",
"name": "format (string)"
}
],
"path": "php/function.strptime",
"syntax": "array strptime ( string $date , string $format )",
"type": "Date and Time"
},
"strrchr": {
"descr": "This function returns the portion of haystack which starts at the last occurrence of needle and goes until the end of haystack.",
"name": "strrchr",
"params": [
{
"descr": "The string to search in",
"name": "haystack"
},
{
"descr": "If needle contains more than one character, only the first is used. ",
"name": "needle"
}
],
"path": "php/function.strrchr",
"syntax": "string strrchr ( string $haystack , mixed $needle )",
"type": "String"
},
"strrev": {
"descr": "Returns string, reversed.",
"name": "strrev",
"params": [
{
"descr": "The string to be reversed.",
"name": "string"
}
],
"path": "php/function.strrev",
"syntax": "string strrev ( string $string )",
"type": "String"
},
"strripos": {
"descr": "Find the numeric position of the last occurrence of needle in the haystack string.",
"name": "strripos",
"params": [
{
"descr": "The string to search in.",
"name": "haystack"
},
{
"descr": "If needle is not a string, it is converted to an integer and applied as the ordinal value of a character.",
"name": "needle"
},
{
"descr": "If specified, search will start this number of characters counted from the beginning of the string. ",
"name": "offset"
}
],
"path": "php/function.strripos",
"syntax": "int strripos ( string $haystack , string $needle [, int $offset = 0 ] )",
"type": "String"
},
"strrpos": {
"descr": "Find the numeric position of the last occurrence of needle in the haystack string.",
"name": "strrpos",
"params": [
{
"descr": "The string to search in.",
"name": "haystack"
},
{
"descr": "If needle is not a string, it is converted to an integer and applied as the ordinal value of a character.",
"name": "needle"
},
{
"descr": "If specified, search will start this number of characters counted from the beginning of the string. ",
"name": "offset"
}
],
"path": "php/function.strrpos",
"syntax": "int strrpos ( string $haystack , string $needle [, int $offset = 0 ] )",
"type": "String"
},
"strspn": {
"descr": "Finds the length of the initial segment of subject that contains only characters from mask.",
"name": "strspn",
"params": [
{
"descr": "The string to examine.",
"name": "subject"
},
{
"descr": "The list of allowable characters.",
"name": "mask"
},
{
"descr": "The position in subject to start searching. ",
"name": "start"
},
{
"descr": "The length of the segment from subject to examine. ",
"name": "length"
}
],
"path": "php/function.strspn",
"syntax": "int strspn ( string $subject , string $mask [, int $start [, int $length ]] )",
"type": "String"
},
"strstr": {
"descr": "Returns part of haystack string starting from and including the first occurrence of needle to the end of haystack.",
"name": "strstr",
"params": [
{
"descr": "The input string.",
"name": "haystack"
},
{
"descr": "If needle is not a string, it is converted to an integer and applied as the ordinal value of a character.",
"name": "needle"
},
{
"descr": "If TRUE, strstr() returns the part of the haystack before the first occurrence of the needle (excluding the needle).",
"name": "before_needle"
}
],
"path": "php/function.strstr",
"syntax": "string strstr ( string $haystack , mixed $needle [, bool $before_needle = false ] )",
"type": "String"
},
"strtok": {
"descr": "strtok() splits a string (str) into smaller strings (tokens), with each token being delimited by any character from token. That is, if you have a string like \"This is an example string\" you could tokenize this string into its individual words by using the space character as the token.",
"name": "strtok",
"params": [
{
"descr": "The string being split up into smaller strings (tokens).",
"name": "str"
},
{
"descr": "The delimiter used when splitting up str.",
"name": "token"
}
],
"path": "php/function.strtok",
"syntax": "string strtok ( string $str , string $token )",
"type": "String"
},
"strtolower": {
"descr": "Returns string with all alphabetic characters converted to lowercase.",
"name": "strtolower",
"params": [
{
"descr": "The input string.",
"name": "str"
}
],
"path": "php/function.strtolower",
"syntax": "string strtolower ( string $str )",
"type": "String"
},
"strtotime": {
"descr": "",
"name": "strtotime",
"params": [
{
"descr": "A date/time string. Valid formats are explained in Date and Time Formats.",
"name": "time"
},
{
"descr": "The timestamp which is used as a base for the calculation of relative dates.",
"name": "now"
}
],
"path": "php/function.strtotime",
"syntax": "int strtotime ( string $time [, int $now = time() ] )",
"type": "Date and Time"
},
"strtoupper": {
"descr": "Returns string with all alphabetic characters converted to uppercase.",
"name": "strtoupper",
"params": [
{
"descr": "The input string.",
"name": "string"
}
],
"path": "php/function.strtoupper",
"syntax": "string strtoupper ( string $string )",
"type": "String"
},
"strtr": {
"descr": "If given three arguments, this function returns a copy of str where all occurrences of each (single-byte) character in from have been translated to the corresponding character in to, i.e., every occurrence of $from[$n] has been replaced with $to[$n], where $n is a valid offset in both arguments.",
"name": "strtr",
"params": [
{
"descr": "The string being translated.",
"name": "str"
},
{
"descr": "The string being translated to to.",
"name": "from"
},
{
"descr": "The string replacing from.",
"name": "to"
},
{
"descr": "The replace_pairs parameter may be used instead of to and from, in which case it's an array in the form array('from' => 'to', ...).",
"name": "replace_pairs"
}
],
"path": "php/function.strtr",
"syntax": "string strtr ( string $str , string $from , string $to )",
"type": "String"
},
"strval": {
"descr": "",
"name": "strval",
"params": [
{
"descr": "The variable that is being converted to a string. ",
"name": "var"
}
],
"path": "php/function.strval",
"syntax": "string strval ( mixed $var )",
"type": "Variables"
},
"substr": {
"descr": "Returns the portion of string specified by the start and length parameters.",
"name": "substr",
"params": [
{
"descr": "The input string. Must be one character or longer.",
"name": "string"
},
{
"descr": "If start is non-negative, the returned string will start at the start'th position in string, counting from zero. ",
"name": "start"
},
{
"descr": "If length is given and is positive, the string returned will contain at most length characters beginning from start (depending on the length of string). ",
"name": "length"
}
],
"path": "php/function.substr",
"syntax": "string substr ( string $string , int $start [, int $length ] )",
"type": "String"
},
"substr_compare": {
"descr": "substr_compare() compares main_str from position offset with str up to length characters.",
"name": "substr_compare",
"params": [
{
"descr": "The main string being compared.",
"name": "main_str"
},
{
"descr": "The secondary string being compared.",
"name": "str"
},
{
"descr": "The start position for the comparison. ",
"name": "offset"
},
{
"descr": "The length of the comparison. The default value is the largest of the length of the str compared to the length of main_str less the offset.",
"name": "length"
},
{
"descr": "If case_insensitivity is TRUE, comparison is case insensitive.",
"name": "case_insensitivity"
}
],
"path": "php/function.substr-compare",
"syntax": "int substr_compare ( string $main_str , string $str , int $offset [, int $length [, bool $case_insensitivity = false ]] )",
"type": "String"
},
"substr_count": {
"descr": "substr_count() returns the number of times the needle substring occurs in the haystack string. Please note that needle is case sensitive.",
"name": "substr_count",
"params": [
{
"descr": "The string to search in",
"name": "haystack"
},
{
"descr": "The substring to search for",
"name": "needle"
},
{
"descr": "The offset where to start counting",
"name": "offset"
},
{
"descr": "The maximum length after the specified offset to search for the substring. ",
"name": "length"
}
],
"path": "php/function.substr-count",
"syntax": "int substr_count ( string $haystack , string $needle [, int $offset = 0 [, int $length ]] )",
"type": "String"
},
"substr_replace": {
"descr": "substr_replace() replaces a copy of string delimited by the start and (optionally) length parameters with the string given in replacement.",
"name": "substr_replace",
"params": [
{
"descr": "The input string. An array of strings can be provided, in which case the replacements will occur on each string in turn. ",
"name": "string"
},
{
"descr": "The replacement string.",
"name": "replacement"
},
{
"descr": "If start is positive, the replacing will begin at the start'th offset into string. ",
"name": "start"
},
{
"descr": "If given and is positive, it represents the length of the portion of string which is to be replaced. ",
"name": "length"
}
],
"path": "php/function.substr-replace",
"syntax": "mixed substr_replace ( mixed $string , mixed $replacement , mixed $start [, mixed $length ] )",
"type": "String"
},
"symlink": {
"descr": "symlink() creates a symbolic link to the existing target with the specified name link.",
"name": "symlink",
"params": [
{
"descr": "Target of the link.",
"name": "target"
},
{
"descr": "The link name.",
"name": "link"
}
],
"path": "php/function.symlink",
"syntax": "bool symlink ( string $target , string $link )",
"type": "File System"
},
"sys_get_temp_dir": {
"descr": "Returns the path of the directory PHP stores temporary files in by default.",
"name": "sys_get_temp_dir",
"params": [],
"path": "php/function.sys-get-temp-dir",
"syntax": "string sys_get_temp_dir ( void )",
"type": "Language"
},
"sys_getloadavg": {
"descr": "Returns three samples representing the average system load (the number of processes in the system run queue) over the last 1, 5 and 15 minutes, respectively.",
"name": "sys_getloadavg",
"params": [],
"path": "php/function.sys-getloadavg",
"syntax": "array sys_getloadavg ( void )",
"type": "Language"
},
"syslog": {
"descr": "syslog() generates a log message that will be distributed by the system logger.",
"name": "syslog",
"params": [
{
"descr": "priority is a combination of the facility and the level. ",
"name": "priority"
},
{
"descr": "The message to send, except that the two characters %m will be replaced by the error message string (strerror) corresponding to the present value of errno.",
"name": "message"
}
],
"path": "php/function.syslog",
"syntax": "bool syslog ( int $priority , string $message )",
"type": "Networking"
},
"system": {
"descr": "system() is just like the C version of the function in that it executes the given command and outputs the result.",
"name": "system",
"params": [
{
"descr": "The command that will be executed.",
"name": "command"
},
{
"descr": "If the return_var argument is present, then the return status of the executed command will be written to this variable.",
"name": "return_var"
}
],
"path": "php/function.system",
"syntax": "string system ( string $command [, int &$return_var ] )",
"type": "Process Control"
},
"taint": {
"descr": "Make a string tainted. This is used for testing purpose only.",
"name": "taint",
"params": [],
"path": "php/function.taint",
"syntax": "bool taint ( string &$string [, string $... ] )",
"type": "String"
},
"tan": {
"descr": "tan() returns the tangent of the arg parameter. The arg parameter is in radians.",
"name": "tan",
"params": [
{
"descr": "The argument to process in radians",
"name": "arg"
}
],
"path": "php/function.tan",
"syntax": "float tan ( float $arg )",
"type": "Mathematics"
},
"tanh": {
"descr": "Returns the hyperbolic tangent of arg, defined as sinh(arg)/cosh(arg).",
"name": "tanh",
"params": [
{
"descr": "The argument to process",
"name": "arg"
}
],
"path": "php/function.tanh",
"syntax": "float tanh ( float $arg )",
"type": "Mathematics"
},
"tempnam": {
"descr": "Creates a file with a unique filename, with access permission set to 0600, in the specified directory. If the directory does not exist, tempnam() may generate a file in the system's temporary directory, and return the name of that.",
"name": "tempnam",
"params": [
{
"descr": "The directory where the temporary filename will be created.",
"name": "dir"
},
{
"descr": "The prefix of the generated temporary filename. ",
"name": "prefix"
}
],
"path": "php/function.tempnam",
"syntax": "string tempnam ( string $dir , string $prefix )",
"type": "File System"
},
"textdomain": {
"descr": "This function sets the domain to search within when calls are made to gettext(), usually the named after an application.",
"name": "textdomain",
"params": [
{
"descr": "The new message domain, or NULL to get the current setting without changing it",
"name": "text_domain"
}
],
"path": "php/function.textdomain",
"syntax": "string textdomain ( string $text_domain )",
"type": "Encoding"
},
"tidy": {
"descr": "",
"name": "tidy",
"params": [],
"path": "php/class.tidy",
"syntax": "tidyNode body ( void )",
"type": "HTML"
},
"tidy::$errorBuffer": {
"descr": "Returns warnings and errors which occurred parsing the specified document.",
"name": "tidy::$errorBuffer",
"params": [
{
"descr": "The Tidy object.",
"name": "tidy"
}
],
"path": "php/tidy.props.errorbuffer",
"syntax": "string tidy_get_error_buffer ( tidy $tidy )",
"type": "HTML"
},
"tidy::__construct": {
"descr": "Constructs a new tidy object.",
"name": "tidy::__construct",
"params": [
{
"descr": "If the filename parameter is given, this function will also read that file and initialize the object with the file, acting like tidy_parse_file().",
"name": "filename"
},
{
"descr": "The config config can be passed either as an array or as a string. ",
"name": "config"
},
{
"descr": "The encoding parameter sets the encoding for input/output documents. ",
"name": "encoding"
},
{
"descr": "Search for the file in the include_path.",
"name": "use_include_path"
}
],
"path": "php/tidy.construct",
"syntax": "tidy::__construct ([ string $filename [, mixed $config [, string $encoding [, bool $use_include_path ]]]] )",
"type": "HTML"
},
"tidy::body": {
"descr": "Returns a tidyNode object starting from the tag of the tidy parse tree.",
"name": "tidy::body",
"params": [
{
"descr": "The Tidy object.",
"name": "object"
}
],
"path": "php/tidy.body",
"syntax": "tidyNode tidy::body ( void )",
"type": "HTML"
},
"tidy::cleanRepair": {
"descr": "This function cleans and repairs the given tidy object.",
"name": "tidy::cleanRepair",
"params": [
{
"descr": "The Tidy object.",
"name": "object"
}
],
"path": "php/tidy.cleanrepair",
"syntax": "bool tidy::cleanRepair ( void )",
"type": "HTML"
},
"tidy::diagnose": {
"descr": "Runs diagnostic tests on the given tidy object, adding some more information about the document in the error buffer.",
"name": "tidy::diagnose",
"params": [
{
"descr": "The Tidy object.",
"name": "object"
}
],
"path": "php/tidy.diagnose",
"syntax": "bool tidy::diagnose ( void )",
"type": "HTML"
},
"tidy::getConfig": {
"descr": "Gets the list of the configuration options in use by the given tidy object.",
"name": "tidy::getConfig",
"params": [
{
"descr": "The Tidy object.",
"name": "object"
}
],
"path": "php/tidy.getconfig",
"syntax": "array tidy::getConfig ( void )",
"type": "HTML"
},
"tidy::getHtmlVer": {
"descr": "Returns the detected HTML version for the specified tidy object.",
"name": "tidy::getHtmlVer",
"params": [
{
"descr": "The Tidy object.",
"name": "object"
}
],
"path": "php/tidy.gethtmlver",
"syntax": "int tidy::getHtmlVer ( void )",
"type": "HTML"
},
"tidy::getOpt": {
"descr": "Returns the value of the specified option for the specified tidy object.",
"name": "tidy::getOpt",
"params": [
{
"descr": "The Tidy object.",
"name": "object"
},
{
"descr": "You will find a list with each configuration option and their types at: \u00bb http://tidy.sourceforge.net/docs/quickref.html.",
"name": "option"
}
],
"path": "php/tidy.getopt",
"syntax": "mixed tidy::getOpt ( string $option )",
"type": "HTML"
},
"tidy::getOptDoc": {
"descr": "tidy_get_opt_doc() returns the documentation for the given option name.",
"name": "tidy::getOptDoc",
"params": [
{
"descr": "The Tidy object.",
"name": "object"
},
{
"descr": "The option name",
"name": "optname"
}
],
"path": "php/tidy.getoptdoc",
"syntax": "string tidy::getOptDoc ( string $optname )",
"type": "HTML"
},
"tidy::getRelease": {
"descr": "Gets the release date of the Tidy library.",
"name": "tidy::getRelease",
"params": [],
"path": "php/tidy.getrelease",
"syntax": "string tidy::getRelease ( void )",
"type": "HTML"
},
"tidy::getStatus": {
"descr": "Returns the status for the specified tidy object.",
"name": "tidy::getStatus",
"params": [
{
"descr": "The Tidy object.",
"name": "object"
}
],
"path": "php/tidy.getstatus",
"syntax": "int tidy::getStatus ( void )",
"type": "HTML"
},
"tidy::head": {
"descr": "Returns a tidyNode object starting from the tag of the tidy parse tree.",
"name": "tidy::head",
"params": [
{
"descr": "The Tidy object.",
"name": "object"
}
],
"path": "php/tidy.head",
"syntax": "tidyNode tidy::head ( void )",
"type": "HTML"
},
"tidy::html": {
"descr": "Returns a tidyNode object starting from the tag of the tidy parse tree.",
"name": "tidy::html",
"params": [
{
"descr": "The Tidy object.",
"name": "object"
}
],
"path": "php/tidy.html",
"syntax": "tidyNode tidy::head ( void )",
"type": "HTML"
},
"tidy::isXhtml": {
"descr": "Tells if the document is a XHTML document.",
"name": "tidy::isXhtml",
"params": [
{
"descr": "The Tidy object.",
"name": "object"
}
],
"path": "php/tidy.isxhtml",
"syntax": "bool tidy::isXhtml ( void )",
"type": "HTML"
},
"tidy::isXml": {
"descr": "Tells if the document is a generic (non HTML/XHTML) XML document.",
"name": "tidy::isXml",
"params": [
{
"descr": "The Tidy object.",
"name": "object"
}
],
"path": "php/tidy.isxml",
"syntax": "bool tidy::isXml ( void )",
"type": "HTML"
},
"tidy::parseFile": {
"descr": "Parses the given file.",
"name": "tidy::parseFile",
"params": [
{
"descr": "If the filename parameter is given, this function will also read that file and initialize the object with the file, acting like tidy_parse_file().",
"name": "filename"
},
{
"descr": "The config config can be passed either as an array or as a string. ",
"name": "config"
},
{
"descr": "The encoding parameter sets the encoding for input/output documents. ",
"name": "encoding"
},
{
"descr": "Search for the file in the include_path.",
"name": "use_include_path"
}
],
"path": "php/tidy.parsefile",
"syntax": "bool tidy::parseFile ( string $filename [, mixed $config [, string $encoding [, bool $use_include_path = false ]]] )",
"type": "HTML"
},
"tidy::parseString": {
"descr": "Parses a document stored in a string.",
"name": "tidy::parseString",
"params": [
{
"descr": "The data to be parsed.",
"name": "input"
},
{
"descr": "The config config can be passed either as an array or as a string. ",
"name": "config"
},
{
"descr": "The encoding parameter sets the encoding for input/output documents. ",
"name": "encoding"
}
],
"path": "php/tidy.parsestring",
"syntax": "bool tidy::parseString ( string $input [, mixed $config [, string $encoding ]] )",
"type": "HTML"
},
"tidy::repairFile": {
"descr": "Repairs the given file and returns it as a string.",
"name": "tidy::repairFile",
"params": [
{
"descr": "The file to be repaired.",
"name": "filename"
},
{
"descr": "The config config can be passed either as an array or as a string. ",
"name": "config"
},
{
"descr": "The encoding parameter sets the encoding for input/output documents. ",
"name": "encoding"
},
{
"descr": "Search for the file in the include_path.",
"name": "use_include_path"
}
],
"path": "php/tidy.repairfile",
"syntax": "string tidy::repairFile ( string $filename [, mixed $config [, string $encoding [, bool $use_include_path = false ]]] )",
"type": "HTML"
},
"tidy::repairString": {
"descr": "Repairs the given string.",
"name": "tidy::repairString",
"params": [
{
"descr": "The data to be repaired.",
"name": "data"
},
{
"descr": "The config config can be passed either as an array or as a string. ",
"name": "config"
},
{
"descr": "The encoding parameter sets the encoding for input/output documents. ",
"name": "encoding"
}
],
"path": "php/tidy.repairstring",
"syntax": "string tidy::repairString ( string $data [, mixed $config [, string $encoding ]] )",
"type": "HTML"
},
"tidy::root": {
"descr": "Returns a tidyNode object representing the root of the tidy parse tree.",
"name": "tidy::root",
"params": [
{
"descr": "The Tidy object.",
"name": "object"
}
],
"path": "php/tidy.root",
"syntax": "tidyNode tidy::root ( void )",
"type": "HTML"
},
"tidyNode": {
"descr": "",
"name": "tidyNode",
"params": [],
"path": "php/class.tidynode",
"syntax": "tidyNode getParent ( void )",
"type": "HTML"
},
"tidyNode::getParent": {
"descr": "Returns the parent node of the current node.",
"name": "tidyNode::getParent",
"params": [],
"path": "php/tidynode.getparent",
"syntax": "tidyNode tidyNode::getParent ( void )",
"type": "HTML"
},
"tidyNode::hasChildren": {
"descr": "Tells if the node has children.",
"name": "tidyNode::hasChildren",
"params": [],
"path": "php/tidynode.haschildren",
"syntax": "bool tidyNode::hasChildren ( void )",
"type": "HTML"
},
"tidyNode::hasSiblings": {
"descr": "Tells if the node has siblings.",
"name": "tidyNode::hasSiblings",
"params": [],
"path": "php/tidynode.hassiblings",
"syntax": "bool tidyNode::hasSiblings ( void )",
"type": "HTML"
},
"tidyNode::isAsp": {
"descr": "Tells whether the current node is ASP.",
"name": "tidyNode::isAsp",
"params": [],
"path": "php/tidynode.isasp",
"syntax": "bool tidyNode::isAsp ( void )",
"type": "HTML"
},
"tidyNode::isComment": {
"descr": "Tells if the node is a comment.",
"name": "tidyNode::isComment",
"params": [],
"path": "php/tidynode.iscomment",
"syntax": "bool tidyNode::isComment ( void )",
"type": "HTML"
},
"tidyNode::isHtml": {
"descr": "Tells if the node is part of HTML document.",
"name": "tidyNode::isHtml",
"params": [],
"path": "php/tidynode.ishtml",
"syntax": "bool tidyNode::isHtml ( void )",
"type": "HTML"
},
"tidyNode::isJste": {
"descr": "Tells if the node is JSTE.",
"name": "tidyNode::isJste",
"params": [],
"path": "php/tidynode.isjste",
"syntax": "bool tidyNode::isJste ( void )",
"type": "HTML"
},
"tidyNode::isPhp": {
"descr": "Tells if the node is PHP.",
"name": "tidyNode::isPhp",
"params": [],
"path": "php/tidynode.isphp",
"syntax": "bool tidyNode::isPhp ( void )",
"type": "HTML"
},
"tidyNode::isText": {
"descr": "Tells if the node represents a text (without any markup).",
"name": "tidyNode::isText",
"params": [],
"path": "php/tidynode.istext",
"syntax": "bool tidyNode::isText ( void )",
"type": "HTML"
},
"tidy_access_count": {
"descr": "tidy_access_count() returns the number of accessibility warnings found for the specified document.",
"name": "tidy_access_count",
"params": [
{
"descr": "The Tidy object.",
"name": "object"
}
],
"path": "php/function.tidy-access-count",
"syntax": "int tidy_access_count ( tidy $object )",
"type": "HTML"
},
"tidy_config_count": {
"descr": "Returns the number of errors encountered in the configuration of the specified tidy object.",
"name": "tidy_config_count",
"params": [
{
"descr": "The Tidy object.",
"name": "object"
}
],
"path": "php/function.tidy-config-count",
"syntax": "int tidy_config_count ( tidy $object )",
"type": "HTML"
},
"tidy_error_count": {
"descr": "Returns the number of Tidy errors encountered for the specified document.",
"name": "tidy_error_count",
"params": [
{
"descr": "The Tidy object.",
"name": "object"
}
],
"path": "php/function.tidy-error-count",
"syntax": "int tidy_error_count ( tidy $object )",
"type": "HTML"
},
"tidy_get_output": {
"descr": "Gets a string with the repaired html.",
"name": "tidy_get_output",
"params": [
{
"descr": "The Tidy object.",
"name": "object"
}
],
"path": "php/function.tidy-get-output",
"syntax": "string tidy_get_output ( tidy $object )",
"type": "HTML"
},
"tidy_load_config": {
"descr": "Loads a Tidy configuration file, with the specified encoding.",
"name": "tidy_load_config",
"params": [],
"path": "php/function.tidy-load-config",
"syntax": "void tidy_load_config ( string $filename , string $encoding )",
"type": "HTML"
},
"tidy_reset_config": {
"descr": "This function restores the Tidy configuration to the default values.",
"name": "tidy_reset_config",
"params": [],
"path": "php/function.tidy-reset-config",
"syntax": "bool tidy_reset_config ( void )",
"type": "HTML"
},
"tidy_save_config": {
"descr": "Saves current settings to the specified file. Only non-default values are written.",
"name": "tidy_save_config",
"params": [
{
"descr": "Path to the config file.",
"name": "filename"
}
],
"path": "php/function.tidy-save-config",
"syntax": "bool tidy_save_config ( string $filename )",
"type": "HTML"
},
"tidy_set_encoding": {
"descr": "Sets the encoding for input/output documents.",
"name": "tidy_set_encoding",
"params": [
{
"descr": "The encoding parameter sets the encoding for input/output documents. ",
"name": "encoding"
}
],
"path": "php/function.tidy-set-encoding",
"syntax": "bool tidy_set_encoding ( string $encoding )",
"type": "HTML"
},
"tidy_setopt": {
"descr": "tidy_setopt() updates the specified option with a new value.",
"name": "tidy_setopt",
"params": [
{
"descr": "The tidy option name. A list of available configuration options may be found at: \u00bb http://tidy.sourceforge.net/docs/quickref.html.",
"name": "option"
},
{
"descr": "The tidy option name.",
"name": "value"
}
],
"path": "php/function.tidy-setopt",
"syntax": "bool tidy_setopt ( string $option , mixed $value )",
"type": "HTML"
},
"tidy_warning_count": {
"descr": "Returns the number of Tidy warnings encountered for the specified document.",
"name": "tidy_warning_count",
"params": [
{
"descr": "The Tidy object.",
"name": "object"
}
],
"path": "php/function.tidy-warning-count",
"syntax": "int tidy_warning_count ( tidy $object )",
"type": "HTML"
},
"time": {
"descr": "Returns the current time measured in the number of seconds since the Unix Epoch (January 1 1970 00:00:00 GMT).",
"name": "time",
"params": [],
"path": "php/function.time",
"syntax": "int time ( void )",
"type": "Date and Time"
},
"time_nanosleep": {
"descr": "Delays program execution for the given number of seconds and nanoseconds.",
"name": "time_nanosleep",
"params": [
{
"descr": "Must be a non-negative integer.",
"name": "seconds"
},
{
"descr": "Must be a non-negative integer less than 1 billion.",
"name": "nanoseconds"
}
],
"path": "php/function.time-nanosleep",
"syntax": "mixed time_nanosleep ( int $seconds , int $nanoseconds )",
"type": "Language"
},
"time_sleep_until": {
"descr": "Makes the script sleep until the specified timestamp.",
"name": "time_sleep_until",
"params": [
{
"descr": "The timestamp when the script should wake.",
"name": "timestamp"
}
],
"path": "php/function.time-sleep-until",
"syntax": "bool time_sleep_until ( float $timestamp )",
"type": "Language"
},
"timezone_name_from_abbr": {
"descr": "",
"name": "timezone_name_from_abbr",
"params": [
{
"descr": "Time zone abbreviation.",
"name": "abbr"
},
{
"descr": "Offset from GMT in seconds. Defaults to -1 which means that first found time zone corresponding to abbr is returned. ",
"name": "gmtOffset"
},
{
"descr": "Daylight saving time indicator. ",
"name": "isdst"
}
],
"path": "php/function.timezone-name-from-abbr",
"syntax": "string timezone_name_from_abbr ( string $abbr [, int $gmtOffset = -1 [, int $isdst = -1 ]] )",
"type": "Date and Time"
},
"timezone_version_get": {
"descr": "Returns the current version of the timezonedb.",
"name": "timezone_version_get",
"params": [],
"path": "php/function.timezone-version-get",
"syntax": "string timezone_version_get ( void )",
"type": "Date and Time"
},
"tmpfile": {
"descr": "Creates a temporary file with a unique name in read-write (w+) mode and returns a file handle .",
"name": "tmpfile",
"params": [],
"path": "php/function.tmpfile",
"syntax": "resource tmpfile ( void )",
"type": "File System"
},
"touch": {
"descr": "Attempts to set the access and modification times of the file named in the filename parameter to the value given in time. Note that the access time is always modified, regardless of the number of parameters.",
"name": "touch",
"params": [
{
"descr": "The name of the file being touched.",
"name": "filename"
},
{
"descr": "The touch time. If time is not supplied, the current system time is used.",
"name": "time"
},
{
"descr": "If present, the access time of the given filename is set to the value of atime. ",
"name": "atime"
}
],
"path": "php/function.touch",
"syntax": "bool touch ( string $filename [, int $time = time() [, int $atime ]] )",
"type": "File System"
},
"trait_exists": {
"descr": "",
"name": "trait_exists",
"params": [
{
"descr": "Name of the trait to check",
"name": "traitname"
},
{
"descr": "Whether to autoload if not already loaded.",
"name": "autoload"
}
],
"path": "php/function.trait-exists",
"syntax": "bool trait_exists ( string $traitname [, bool $autoload ] )",
"type": "Classes and Functions"
},
"trigger_error": {
"descr": "Used to trigger a user error condition, it can be used in conjunction with the built-in error handler, or with a user defined function that has been set as the new error handler (set_error_handler()).",
"name": "trigger_error",
"params": [
{
"descr": "The designated error message for this error. ",
"name": "error_msg"
},
{
"descr": "The designated error type for this error. ",
"name": "error_type"
}
],
"path": "php/function.trigger-error",
"syntax": "bool trigger_error ( string $error_msg [, int $error_type = E_USER_NOTICE ] )",
"type": "Errors"
},
"trim": {
"descr": "This function returns a string with whitespace stripped from the beginning and end of str. Without the second parameter, trim() will strip these characters:",
"name": "trim",
"params": [
{
"descr": "The string that will be trimmed.",
"name": "str"
},
{
"descr": "Optionally, the stripped characters can also be specified using the character_mask parameter. ",
"name": "character_mask"
}
],
"path": "php/function.trim",
"syntax": "string trim ( string $str [, string $character_mask = \" \\t\\n\\r\\0\\x0B\" ] )",
"type": "String"
},
"uasort": {
"descr": "This function sorts an array such that array indices maintain their correlation with the array elements they are associated with, using a user-defined comparison function.",
"name": "uasort",
"params": [
{
"descr": "The input array.",
"name": "array"
},
{
"descr": "See usort() and uksort() for examples of user-defined comparison functions.",
"name": "value_compare_func"
}
],
"path": "php/function.uasort",
"syntax": "bool uasort ( array &$array , callable $value_compare_func )",
"type": "Array"
},
"ucfirst": {
"descr": "Returns a string with the first character of str capitalized, if that character is alphabetic.",
"name": "ucfirst",
"params": [
{
"descr": "The input string.",
"name": "str"
}
],
"path": "php/function.ucfirst",
"syntax": "string ucfirst ( string $str )",
"type": "String"
},
"ucwords": {
"descr": "Returns a string with the first character of each word in str capitalized, if that character is alphabetic.",
"name": "ucwords",
"params": [
{
"descr": "The input string.",
"name": "str"
}
],
"path": "php/function.ucwords",
"syntax": "string ucwords ( string $str )",
"type": "String"
},
"uksort": {
"descr": "uksort() will sort the keys of an array using a user-supplied comparison function. If the array you wish to sort needs to be sorted by some non-trivial criteria, you should use this function.",
"name": "uksort",
"params": [
{
"descr": "The input array.",
"name": "array"
},
{
"descr": "The comparison function must return an integer less than, equal to, or greater than zero if the first argument is considered to be respectively less than, equal to, or greater than the second. ",
"name": "key_compare_func"
}
],
"path": "php/function.uksort",
"syntax": "bool uksort ( array &$array , callable $key_compare_func )",
"type": "Array"
},
"umask": {
"descr": "umask() sets PHP's umask to mask & 0777 and returns the old umask. When PHP is being used as a server module, the umask is restored when each request is finished.",
"name": "umask",
"params": [
{
"descr": "The new umask.",
"name": "mask"
}
],
"path": "php/function.umask",
"syntax": "int umask ([ int $mask ] )",
"type": "File System"
},
"uniqid": {
"descr": "Gets a prefixed unique identifier based on the current time in microseconds.",
"name": "uniqid",
"params": [
{
"descr": "Can be useful, for instance, if you generate identifiers simultaneously on several hosts that might happen to generate the identifier at the same microsecond. ",
"name": "prefix"
},
{
"descr": "If set to TRUE, uniqid() will add additional entropy (using the combined linear congruential generator) at the end of the return value, which increases the likelihood that the result will be unique.",
"name": "more_entropy"
}
],
"path": "php/function.uniqid",
"syntax": "string uniqid ([ string $prefix = \"\" [, bool $more_entropy = false ]] )",
"type": "Language"
},
"unixtojd": {
"descr": "Return the Julian Day for a Unix timestamp (seconds since 1.1.1970), or for the current day if no timestamp is given.",
"name": "unixtojd",
"params": [
{
"descr": "A unix timestamp to convert.",
"name": "timestamp"
}
],
"path": "php/function.unixtojd",
"syntax": "int unixtojd ([ int $timestamp = time() ] )",
"type": "Date and Time"
},
"unlink": {
"descr": "Deletes filename. Similar to the Unix C unlink() function. A E_WARNING level error will be generated on failure.",
"name": "unlink",
"params": [
{
"descr": "Path to the file.",
"name": "filename"
},
{
"descr": "Note: Context support was added with PHP 5.0.0. ",
"name": "context"
}
],
"path": "php/function.unlink",
"syntax": "bool unlink ( string $filename [, resource $context ] )",
"type": "File System"
},
"unpack": {
"descr": "Unpacks from a binary string into an array according to the given format.",
"name": "unpack",
"params": [
{
"descr": "See pack() for an explanation of the format codes.",
"name": "format"
},
{
"descr": "The packed data.",
"name": "data"
}
],
"path": "php/function.unpack",
"syntax": "array unpack ( string $format , string $data )",
"type": "Language"
},
"unregister_tick_function": {
"descr": "",
"name": "unregister_tick_function",
"params": [
{
"descr": "The function name, as a string.",
"name": "function_name"
}
],
"path": "php/function.unregister-tick-function",
"syntax": "void unregister_tick_function ( string $function_name )",
"type": "Classes and Functions"
},
"unserialize": {
"descr": "",
"name": "unserialize",
"params": [
{
"descr": "The serialized string. If the variable being unserialized is an object, after successfully reconstructing the object PHP will automatically attempt to call the __wakeup() member function (if it exists). Note: unserialize_callback_func directive It's possible to set a callback-function which will be called, if an undefined class should be instantiated during unserializing. (to prevent getting an incomplete object \"__PHP_Incomplete_Class\".) Use your php.ini, ini_set() or .htaccess to define 'unserialize_callback_func'. Everytime an undefined class should be instantiated, it'll be called. To disable this feature just empty this setting.",
"name": "str"
}
],
"path": "php/function.unserialize",
"syntax": "mixed unserialize ( string $str )",
"type": "Variables"
},
"unset": {
"descr": "unset() destroys the specified variables.",
"name": "unset",
"params": [
{
"descr": "The variable to be unset.",
"name": "var"
},
{
"descr": "Another variable ...",
"name": "..."
}
],
"path": "php/function.unset",
"syntax": "void unset ( mixed $var [, mixed $... ] )",
"type": "Variables"
},
"untaint": {
"descr": "Untaint strings",
"name": "untaint",
"params": [],
"path": "php/function.untaint",
"syntax": "bool untaint ( string &$string [, string $... ] )",
"type": "String"
},
"urldecode": {
"descr": "Decodes any %## encoding in the given string. Plus symbols ('+') are decoded to a space character.",
"name": "urldecode",
"params": [
{
"descr": "The string to be decoded.",
"name": "str"
}
],
"path": "php/function.urldecode",
"syntax": "string urldecode ( string $str )",
"type": "Networking"
},
"urlencode": {
"descr": "This function is convenient when encoding a string to be used in a query part of a URL, as a convenient way to pass variables to the next page.",
"name": "urlencode",
"params": [
{
"descr": "The string to be encoded.",
"name": "str"
}
],
"path": "php/function.urlencode",
"syntax": "string urlencode ( string $str )",
"type": "Networking"
},
"use_soap_error_handler": {
"descr": "This function sets whether or not to use the SOAP error handler in the SOAP server. It will return the previous value. If set to TRUE, details of errors in a SoapServer application will be sent to the client as a SOAP fault message. If FALSE, the standard PHP error handler is used. The default is to use the standard PHP error handler.",
"name": "use_soap_error_handler",
"params": [
{
"descr": "Set to TRUE to send error details to clients.",
"name": "handler"
}
],
"path": "php/function.use-soap-error-handler",
"syntax": "bool use_soap_error_handler ([ bool $handler = true ] )",
"type": "SOAP"
},
"usleep": {
"descr": "Delays program execution for the given number of micro seconds.",
"name": "usleep",
"params": [
{
"descr": "Halt time in micro seconds. A micro second is one millionth of a second.",
"name": "micro_seconds"
}
],
"path": "php/function.usleep",
"syntax": "void usleep ( int $micro_seconds )",
"type": "Language"
},
"usort": {
"descr": "This function will sort an array by its values using a user-supplied comparison function. If the array you wish to sort needs to be sorted by some non-trivial criteria, you should use this function.",
"name": "usort",
"params": [
{
"descr": "The input array.",
"name": "array"
},
{
"descr": "The comparison function must return an integer less than, equal to, or greater than zero if the first argument is considered to be respectively less than, equal to, or greater than the second. ",
"name": "value_compare_func"
}
],
"path": "php/function.usort",
"syntax": "bool usort ( array &$array , callable $value_compare_func )",
"type": "Array"
},
"utf8_decode": {
"descr": "This function decodes data, assumed to be UTF-8 encoded, to ISO-8859-1.",
"name": "utf8_decode",
"params": [
{
"descr": "An UTF-8 encoded string.",
"name": "data"
}
],
"path": "php/function.utf8-decode",
"syntax": "string utf8_decode ( string $data )",
"type": "XML"
},
"utf8_encode": {
"descr": "This function encodes the string data to UTF-8, and returns the encoded version. UTF-8 is a standard mechanism used by Unicode for encoding wide character values into a byte stream. UTF-8 is transparent to plain ASCII characters, is self-synchronized (meaning it is possible for a program to figure out where in the bytestream characters start) and can be used with normal string comparison functions for sorting and such. PHP encodes UTF-8 characters in up to four bytes, like this:",
"name": "utf8_encode",
"params": [
{
"descr": "An ISO-8859-1 string.",
"name": "data"
}
],
"path": "php/function.utf8-encode",
"syntax": "string utf8_encode ( string $data )",
"type": "XML"
},
"var_dump": {
"descr": "",
"name": "var_dump",
"params": [
{
"descr": "The variable you want to dump.",
"name": "expression"
}
],
"path": "php/function.var-dump",
"syntax": "void var_dump ( mixed $expression [, mixed $... ] )",
"type": "Variables"
},
"var_export": {
"descr": "",
"name": "var_export",
"params": [
{
"descr": "The variable you want to export.",
"name": "expression"
},
{
"descr": "If used and set to TRUE, var_export() will return the variable representation instead of outputting it.",
"name": "return"
}
],
"path": "php/function.var-export",
"syntax": "mixed var_export ( mixed $expression [, bool $return = false ] )",
"type": "Variables"
},
"version_compare": {
"descr": "version_compare() compares two \"PHP-standardized\" version number strings. This is useful if you would like to write programs working only on some versions of PHP.",
"name": "version_compare",
"params": [
{
"descr": "First version number.",
"name": "version1"
},
{
"descr": "Second version number.",
"name": "version2"
},
{
"descr": "If you specify the third optional operator argument, you can test for a particular relationship. ",
"name": "operator"
}
],
"path": "php/function.version-compare",
"syntax": "mixed version_compare ( string $version1 , string $version2 [, string $operator ] )",
"type": "Language"
},
"vfprintf": {
"descr": "Write a string produced according to format to the stream resource specified by handle.",
"name": "vfprintf",
"params": [
{
"descr": "See sprintf() for a description of format.",
"name": "handle format"
}
],
"path": "php/function.vfprintf",
"syntax": "int vfprintf ( resource $handle , string $format , array $args )",
"type": "String"
},
"virtual": {
"descr": "virtual() is an Apache-specific function which is similar to in mod_include. It performs an Apache sub-request. It is useful for including CGI scripts or .shtml files, or anything else that you would parse through Apache. Note that for a CGI script, the script must generate valid CGI headers. At the minimum that means it must generate a Content-Type header.",
"name": "virtual",
"params": [
{
"descr": "The file that the virtual command will be performed on.",
"name": "filename"
}
],
"path": "php/function.virtual",
"syntax": "bool virtual ( string $filename )",
"type": "Apache"
},
"vprintf": {
"descr": "Display array values as a formatted string according to format (which is described in the documentation for sprintf()).",
"name": "vprintf",
"params": [
{
"descr": "See sprintf() for a description of format.",
"name": "format"
}
],
"path": "php/function.vprintf",
"syntax": "int vprintf ( string $format , array $args )",
"type": "String"
},
"vsprintf": {
"descr": "Operates as sprintf() but accepts an array of arguments, rather than a variable number of arguments.",
"name": "vsprintf",
"params": [
{
"descr": "See sprintf() for a description of format.",
"name": "format"
}
],
"path": "php/function.vsprintf",
"syntax": "string vsprintf ( string $format , array $args )",
"type": "String"
},
"wordwrap": {
"descr": "Wraps a string to a given number of characters using a string break character.",
"name": "wordwrap",
"params": [
{
"descr": "The input string.",
"name": "str"
},
{
"descr": "The number of characters at which the string will be wrapped.",
"name": "width"
},
{
"descr": "The line is broken using the optional break parameter.",
"name": "break"
},
{
"descr": "If the cut is set to TRUE, the string is always wrapped at or before the specified width. ",
"name": "cut"
}
],
"path": "php/function.wordwrap",
"syntax": "string wordwrap ( string $str [, int $width = 75 [, string $break = \"\\n\" [, bool $cut = false ]]] )",
"type": "String"
},
"xml_error_string": {
"descr": "Gets the XML parser error string associated with the given code.",
"name": "xml_error_string",
"params": [
{
"descr": "An error code from xml_get_error_code().",
"name": "code"
}
],
"path": "php/function.xml-error-string",
"syntax": "string xml_error_string ( int $code )",
"type": "XML"
},
"xml_get_current_byte_index": {
"descr": "Gets the current byte index of the given XML parser.",
"name": "xml_get_current_byte_index",
"params": [
{
"descr": "A reference to the XML parser to get byte index from.",
"name": "parser"
}
],
"path": "php/function.xml-get-current-byte-index",
"syntax": "int xml_get_current_byte_index ( resource $parser )",
"type": "XML"
},
"xml_get_current_column_number": {
"descr": "Gets the current column number of the given XML parser.",
"name": "xml_get_current_column_number",
"params": [
{
"descr": "A reference to the XML parser to get column number from.",
"name": "parser"
}
],
"path": "php/function.xml-get-current-column-number",
"syntax": "int xml_get_current_column_number ( resource $parser )",
"type": "XML"
},
"xml_get_current_line_number": {
"descr": "Gets the current line number for the given XML parser.",
"name": "xml_get_current_line_number",
"params": [
{
"descr": "A reference to the XML parser to get line number from.",
"name": "parser"
}
],
"path": "php/function.xml-get-current-line-number",
"syntax": "int xml_get_current_line_number ( resource $parser )",
"type": "XML"
},
"xml_get_error_code": {
"descr": "Gets the XML parser error code.",
"name": "xml_get_error_code",
"params": [
{
"descr": "A reference to the XML parser to get error code from.",
"name": "parser"
}
],
"path": "php/function.xml-get-error-code",
"syntax": "int xml_get_error_code ( resource $parser )",
"type": "XML"
},
"xml_parse": {
"descr": "xml_parse() parses an XML document. The handlers for the configured events are called as many times as necessary.",
"name": "xml_parse",
"params": [
{
"descr": "A reference to the XML parser to use.",
"name": "parser"
},
{
"descr": "Chunk of data to parse. A document may be parsed piece-wise by calling xml_parse() several times with new data, as long as the is_final parameter is set and TRUE when the last data is parsed.",
"name": "data"
},
{
"descr": "If set and TRUE, data is the last piece of data sent in this parse.",
"name": "is_final"
}
],
"path": "php/function.xml-parse",
"syntax": "int xml_parse ( resource $parser , string $data [, bool $is_final = false ] )",
"type": "XML"
},
"xml_parse_into_struct": {
"descr": "This function parses an XML string into 2 parallel array structures, one (index) containing pointers to the location of the appropriate values in the values array. These last two parameters must be passed by reference.",
"name": "xml_parse_into_struct",
"params": [
{
"descr": "A reference to the XML parser.",
"name": "parser"
},
{
"descr": "A string containing the XML data.",
"name": "data"
},
{
"descr": "An array containing the values of the XML data",
"name": "values"
},
{
"descr": "An array containing pointers to the location of the appropriate values in the $values.",
"name": "index"
}
],
"path": "php/function.xml-parse-into-struct",
"syntax": "int xml_parse_into_struct ( resource $parser , string $data , array &$values [, array &$index ] )",
"type": "XML"
},
"xml_parser_create": {
"descr": "xml_parser_create() creates a new XML parser and returns a resource handle referencing it to be used by the other XML functions.",
"name": "xml_parser_create",
"params": [
{
"descr": "The optional encoding specifies the character encoding for the input/output in PHP 4. ",
"name": "encoding"
}
],
"path": "php/function.xml-parser-create",
"syntax": "resource xml_parser_create ([ string $encoding ] )",
"type": "XML"
},
"xml_parser_create_ns": {
"descr": "xml_parser_create_ns() creates a new XML parser with XML namespace support and returns a resource handle referencing it to be used by the other XML functions.",
"name": "xml_parser_create_ns",
"params": [
{
"descr": "The optional encoding specifies the character encoding for the input/output in PHP 4. ",
"name": "encoding"
},
{
"descr": "With a namespace aware parser tag parameters passed to the various handler functions will consist of namespace and tag name separated by the string specified in separator.",
"name": "separator"
}
],
"path": "php/function.xml-parser-create-ns",
"syntax": "resource xml_parser_create_ns ([ string $encoding [, string $separator = ':' ]] )",
"type": "XML"
},
"xml_parser_free": {
"descr": "Frees the given XML parser.",
"name": "xml_parser_free",
"params": [
{
"descr": "A reference to the XML parser to free.",
"name": "parser"
}
],
"path": "php/function.xml-parser-free",
"syntax": "bool xml_parser_free ( resource $parser )",
"type": "XML"
},
"xml_parser_get_option": {
"descr": "Gets an option value from an XML parser.",
"name": "xml_parser_get_option",
"params": [
{
"descr": "A reference to the XML parser to get an option from.",
"name": "parser"
},
{
"descr": "Which option to fetch. XML_OPTION_CASE_FOLDING and XML_OPTION_TARGET_ENCODING are available. ",
"name": "option"
}
],
"path": "php/function.xml-parser-get-option",
"syntax": "mixed xml_parser_get_option ( resource $parser , int $option )",
"type": "XML"
},
"xml_parser_set_option": {
"descr": "Sets an option in an XML parser.",
"name": "xml_parser_set_option",
"params": [
{
"descr": "A reference to the XML parser to set an option in.",
"name": "parser"
},
{
"descr": "Which option to set. See below. ",
"name": "option"
},
{
"descr": "The option's new value.",
"name": "value"
}
],
"path": "php/function.xml-parser-set-option",
"syntax": "bool xml_parser_set_option ( resource $parser , int $option , mixed $value )",
"type": "XML"
},
"xml_set_character_data_handler": {
"descr": "Sets the character data handler function for the XML parser parser.",
"name": "xml_set_character_data_handler",
"params": [
{
"descr": "A reference to the XML parser to set up character data handler function.",
"name": "parser"
},
{
"descr": "handler is a string containing the name of a function that must exist when xml_parse() is called for parser. ",
"name": "handler"
},
{
"descr": "The second parameter, data, contains the character data as a string.",
"name": "data"
}
],
"path": "php/function.xml-set-character-data-handler",
"syntax": "bool xml_set_character_data_handler ( resource $parser , callable $handler )",
"type": "XML"
},
"xml_set_default_handler": {
"descr": "Sets the default handler function for the XML parser parser.",
"name": "xml_set_default_handler",
"params": [
{
"descr": "A reference to the XML parser to set up default handler function.",
"name": "parser"
},
{
"descr": "handler is a string containing the name of a function that must exist when xml_parse() is called for parser. ",
"name": "handler"
},
{
"descr": "The second parameter, data, contains the character data.This may be the XML declaration, document type declaration, entities or other data for which no other handler exists.",
"name": "data"
}
],
"path": "php/function.xml-set-default-handler",
"syntax": "bool xml_set_default_handler ( resource $parser , callable $handler )",
"type": "XML"
},
"xml_set_element_handler": {
"descr": "Sets the element handler functions for the XML parser. start_element_handler and end_element_handler are strings containing the names of functions that must exist when xml_parse() is called for parser.",
"name": "xml_set_element_handler",
"params": [
{
"descr": "A reference to the XML parser to set up start and end element handler functions.",
"name": "parser"
},
{
"descr": "The function named by start_element_handler must accept three parameters: start_element_handler ( resource $parser , string $name , array $attribs ) parser The first parameter, parser, is a reference to the XML parser calling the handler.",
"name": "start_element_handler"
},
{
"descr": "The second parameter, name, contains the name of the element for which this handler is called.If case-folding is in effect for this parser, the element name will be in uppercase letters.",
"name": "name"
},
{
"descr": "The third parameter, attribs, contains an associative array with the element's attributes (if any).The keys of this array are the attribute names, the values are the attribute values.Attribute names are case-folded on the same criteria as element names.Attribute values are not case-folded. The original order of the attributes can be retrieved by walking through attribs the normal way, using each().The first key in the array was the first attribute, and so on.",
"name": "attribs"
},
{
"descr": "The function named by end_element_handler must accept two parameters: end_element_handler ( resource $parser , string $name ) parser The first parameter, parser, is a reference to the XML parser calling the handler.",
"name": "end_element_handler"
},
{
"descr": "The second parameter, name, contains the name of the element for which this handler is called.If case-folding is in effect for this parser, the element name will be in uppercase letters.",
"name": "name"
}
],
"path": "php/function.xml-set-element-handler",
"syntax": "bool xml_set_element_handler ( resource $parser , callable $start_element_handler , callable $end_element_handler )",
"type": "XML"
},
"xml_set_end_namespace_decl_handler": {
"descr": "Set a handler to be called when leaving the scope of a namespace declaration. This will be called, for each namespace declaration, after the handler for the end tag of the element in which the namespace was declared.",
"name": "xml_set_end_namespace_decl_handler",
"params": [
{
"descr": "A reference to the XML parser.",
"name": "parser"
},
{
"descr": "handler is a string containing the name of a function that must exist when xml_parse() is called for parser. ",
"name": "handler"
},
{
"descr": "The prefix is a string used to reference the namespace within an XML object.",
"name": "prefix"
}
],
"path": "php/function.xml-set-end-namespace-decl-handler",
"syntax": "bool xml_set_end_namespace_decl_handler ( resource $parser , callable $handler )",
"type": "XML"
},
"xml_set_external_entity_ref_handler": {
"descr": "Sets the external entity reference handler function for the XML parser parser.",
"name": "xml_set_external_entity_ref_handler",
"params": [
{
"descr": "A reference to the XML parser to set up external entity reference handler function.",
"name": "parser"
},
{
"descr": "handler is a string containing the name of a function that must exist when xml_parse() is called for parser. ",
"name": "handler"
},
{
"descr": "The second parameter, open_entity_names, is a space-separated list of the names of the entities that are open for the parse of this entity (including the name of the referenced entity).",
"name": "open_entity_names"
},
{
"descr": "This is the base for resolving the system identifier (system_id) of the external entity.Currently this parameter will always be set to an empty string.",
"name": "base"
},
{
"descr": "The fourth parameter, system_id, is the system identifier as specified in the entity declaration.",
"name": "system_id"
},
{
"descr": "The fifth parameter, public_id, is the public identifier as specified in the entity declaration, or an empty string if none was specified; the whitespace in the public identifier will have been normalized as required by the XML spec.",
"name": "public_id"
}
],
"path": "php/function.xml-set-external-entity-ref-handler",
"syntax": "bool xml_set_external_entity_ref_handler ( resource $parser , callable $handler )",
"type": "XML"
},
"xml_set_notation_decl_handler": {
"descr": "Sets the notation declaration handler function for the XML parser parser.",
"name": "xml_set_notation_decl_handler",
"params": [
{
"descr": "A reference to the XML parser to set up notation declaration handler function.",
"name": "parser"
},
{
"descr": "handler is a string containing the name of a function that must exist when xml_parse() is called for parser. ",
"name": "handler"
},
{
"descr": "This is the notation's name, as per the notation format described above.",
"name": "notation_name"
},
{
"descr": "This is the base for resolving the system identifier (system_id) of the notation declaration. ",
"name": "base"
},
{
"descr": "System identifier of the external notation declaration.",
"name": "system_id"
},
{
"descr": "Public identifier of the external notation declaration.",
"name": "public_id"
}
],
"path": "php/function.xml-set-notation-decl-handler",
"syntax": "bool xml_set_notation_decl_handler ( resource $parser , callable $handler )",
"type": "XML"
},
"xml_set_object": {
"descr": "This function allows to use parser inside object. All callback functions could be set with xml_set_element_handler() etc and assumed to be methods of object.",
"name": "xml_set_object",
"params": [
{
"descr": "A reference to the XML parser to use inside the object.",
"name": "parser"
},
{
"descr": "The object where to use the XML parser.",
"name": "object"
}
],
"path": "php/function.xml-set-object",
"syntax": "bool xml_set_object ( resource $parser , object &$object )",
"type": "XML"
},
"xml_set_processing_instruction_handler": {
"descr": "Sets the processing instruction (PI) handler function for the XML parser parser.",
"name": "xml_set_processing_instruction_handler",
"params": [
{
"descr": "A reference to the XML parser to set up processing instruction (PI) handler function.",
"name": "parser"
},
{
"descr": "handler is a string containing the name of a function that must exist when xml_parse() is called for parser. ",
"name": "handler"
},
{
"descr": "The second parameter, target, contains the PI target.",
"name": "target"
},
{
"descr": "The third parameter, data, contains the PI data.",
"name": "data"
}
],
"path": "php/function.xml-set-processing-instruction-handler",
"syntax": "bool xml_set_processing_instruction_handler ( resource $parser , callable $handler )",
"type": "XML"
},
"xml_set_start_namespace_decl_handler": {
"descr": "Set a handler to be called when a namespace is declared. Namespace declarations occur inside start tags. But the namespace declaration start handler is called before the start tag handler for each namespace declared in that start tag.",
"name": "xml_set_start_namespace_decl_handler",
"params": [
{
"descr": "A reference to the XML parser.",
"name": "parser"
},
{
"descr": "handler is a string containing the name of a function that must exist when xml_parse() is called for parser. ",
"name": "handler"
},
{
"descr": "The prefix is a string used to reference the namespace within an XML object.",
"name": "prefix"
},
{
"descr": "Uniform Resource Identifier (URI) of namespace.",
"name": "uri"
}
],
"path": "php/function.xml-set-start-namespace-decl-handler",
"syntax": "bool xml_set_start_namespace_decl_handler ( resource $parser , callable $handler )",
"type": "XML"
},
"xml_set_unparsed_entity_decl_handler": {
"descr": "Sets the unparsed entity declaration handler function for the XML parser parser.",
"name": "xml_set_unparsed_entity_decl_handler",
"params": [
{
"descr": "A reference to the XML parser to set up unparsed entity declaration handler function.",
"name": "parser"
},
{
"descr": "handler is a string containing the name of a function that must exist when xml_parse() is called for parser. ",
"name": "handler"
},
{
"descr": "The name of the entity that is about to be defined.",
"name": "entity_name"
},
{
"descr": "This is the base for resolving the system identifier (systemId) of the external entity.Currently this parameter will always be set to an empty string.",
"name": "base"
},
{
"descr": "System identifier for the external entity.",
"name": "system_id"
},
{
"descr": "Public identifier for the external entity.",
"name": "public_id"
},
{
"descr": "Name of the notation of this entity (see xml_set_notation_decl_handler()).",
"name": "notation_name"
}
],
"path": "php/function.xml-set-unparsed-entity-decl-handler",
"syntax": "bool xml_set_unparsed_entity_decl_handler ( resource $parser , callable $handler )",
"type": "XML"
},
"xmlrpc_decode": {
"descr": "",
"name": "xmlrpc_decode",
"params": [
{
"descr": "XML response returned by XMLRPC method.",
"name": "xml"
},
{
"descr": "Input encoding supported by iconv.",
"name": "encoding"
}
],
"path": "php/function.xmlrpc-decode",
"syntax": "mixed xmlrpc_decode ( string $xml [, string $encoding = \"iso-8859-1\" ] )",
"type": "XML"
},
"xmlrpc_decode_request": {
"descr": "",
"name": "xmlrpc_decode_request",
"params": [],
"path": "php/function.xmlrpc-decode-request",
"syntax": "mixed xmlrpc_decode_request ( string $xml , string &$method [, string $encoding ] )",
"type": "XML"
},
"xmlrpc_encode": {
"descr": "",
"name": "xmlrpc_encode",
"params": [],
"path": "php/function.xmlrpc-encode",
"syntax": "string xmlrpc_encode ( mixed $value )",
"type": "XML"
},
"xmlrpc_encode_request": {
"descr": "",
"name": "xmlrpc_encode_request",
"params": [
{
"descr": "Name of the method to call.",
"name": "method"
},
{
"descr": "Method parameters compatible with method signature.",
"name": "params"
},
{
"descr": "Array specifying output options may contain (default values are emphasised): output_type: php, xml verbosity: no_white_space, newlines_only, pretty escaping: cdata, non-ascii, non-print, markup (may be a string with one value or an array with multiple values) version: simple, xmlrpc, soap 1.1, auto encoding: iso-8859-1, other character set supported by iconv",
"name": "output_options"
}
],
"path": "php/function.xmlrpc-encode-request",
"syntax": "string xmlrpc_encode_request ( string $method , mixed $params [, array $output_options ] )",
"type": "XML"
},
"xmlrpc_get_type": {
"descr": "",
"name": "xmlrpc_get_type",
"params": [
{
"descr": "PHP value",
"name": "value"
}
],
"path": "php/function.xmlrpc-get-type",
"syntax": "string xmlrpc_get_type ( mixed $value )",
"type": "XML"
},
"xmlrpc_is_fault": {
"descr": "",
"name": "xmlrpc_is_fault",
"params": [
{
"descr": "Array returned by xmlrpc_decode().",
"name": "arg"
}
],
"path": "php/function.xmlrpc-is-fault",
"syntax": "bool xmlrpc_is_fault ( array $arg )",
"type": "XML"
},
"xmlrpc_parse_method_descriptions": {
"descr": "",
"name": "xmlrpc_parse_method_descriptions",
"params": [],
"path": "php/function.xmlrpc-parse-method-descriptions",
"syntax": "array xmlrpc_parse_method_descriptions ( string $xml )",
"type": "XML"
},
"xmlrpc_server_add_introspection_data": {
"descr": "",
"name": "xmlrpc_server_add_introspection_data",
"params": [],
"path": "php/function.xmlrpc-server-add-introspection-data",
"syntax": "int xmlrpc_server_add_introspection_data ( resource $server , array $desc )",
"type": "XML"
},
"xmlrpc_server_call_method": {
"descr": "",
"name": "xmlrpc_server_call_method",
"params": [],
"path": "php/function.xmlrpc-server-call-method",
"syntax": "string xmlrpc_server_call_method ( resource $server , string $xml , mixed $user_data [, array $output_options ] )",
"type": "XML"
},
"xmlrpc_server_create": {
"descr": "",
"name": "xmlrpc_server_create",
"params": [],
"path": "php/function.xmlrpc-server-create",
"syntax": "resource xmlrpc_server_create ( void )",
"type": "XML"
},
"xmlrpc_server_destroy": {
"descr": "",
"name": "xmlrpc_server_destroy",
"params": [],
"path": "php/function.xmlrpc-server-destroy",
"syntax": "int xmlrpc_server_destroy ( resource $server )",
"type": "XML"
},
"xmlrpc_server_register_introspection_callback": {
"descr": "",
"name": "xmlrpc_server_register_introspection_callback",
"params": [],
"path": "php/function.xmlrpc-server-register-introspection-callback",
"syntax": "bool xmlrpc_server_register_introspection_callback ( resource $server , string $function )",
"type": "XML"
},
"xmlrpc_server_register_method": {
"descr": "",
"name": "xmlrpc_server_register_method",
"params": [],
"path": "php/function.xmlrpc-server-register-method",
"syntax": "bool xmlrpc_server_register_method ( resource $server , string $method_name , string $function )",
"type": "XML"
},
"xmlrpc_set_type": {
"descr": "Sets xmlrpc type, base64 or datetime, for a PHP string value.",
"name": "xmlrpc_set_type",
"params": [
{
"descr": "Value to set the type",
"name": "value"
},
{
"descr": "'base64' or 'datetime'",
"name": "type"
}
],
"path": "php/function.xmlrpc-set-type",
"syntax": "bool xmlrpc_set_type ( string &$value , string $type )",
"type": "XML"
},
"yaml_emit": {
"descr": "Generate a YAML representation of the provided data.",
"name": "yaml_emit",
"params": [
{
"descr": "The data being encoded. Can be any type except a resource.",
"name": "data"
},
{
"descr": "Output character encoding chosen from YAML_ANY_ENCODING, YAML_UTF8_ENCODING, YAML_UTF16LE_ENCODING, YAML_UTF16BE_ENCODING.",
"name": "encoding"
},
{
"descr": "Output linebreak style chosen from YAML_ANY_BREAK, YAML_CR_BREAK, YAML_LN_BREAK, YAML_CRLN_BREAK.",
"name": "linebreak"
},
{
"descr": "Content handlers for emitting YAML nodes. ",
"name": "callbacks"
}
],
"path": "php/function.yaml-emit",
"syntax": "string yaml_emit ( mixed $data [, int $encoding = YAML_ANY_ENCODING [, int $linebreak = YAML_ANY_BREAK [, array $callbacks ]]] )",
"type": "YAML"
},
"yaml_emit_file": {
"descr": "Generate a YAML representation of the provided data in the filename.",
"name": "yaml_emit_file",
"params": [
{
"descr": "Path to the file.",
"name": "filename"
},
{
"descr": "The data being encoded. Can be any type except a resource.",
"name": "data"
},
{
"descr": "Output character encoding chosen from YAML_ANY_ENCODING, YAML_UTF8_ENCODING, YAML_UTF16LE_ENCODING, YAML_UTF16BE_ENCODING.",
"name": "encoding"
},
{
"descr": "Output linebreak style chosen from YAML_ANY_BREAK, YAML_CR_BREAK, YAML_LN_BREAK, YAML_CRLN_BREAK.",
"name": "linebreak"
},
{
"descr": "Content handlers for emitting YAML nodes. ",
"name": "callbacks"
}
],
"path": "php/function.yaml-emit-file",
"syntax": "bool yaml_emit_file ( string $filename , mixed $data [, int $encoding = YAML_ANY_ENCODING [, int $linebreak = YAML_ANY_BREAK [, array $callbacks ]]] )",
"type": "YAML"
},
"yaml_parse": {
"descr": "Convert all or part of a YAML document stream to a PHP variable.",
"name": "yaml_parse",
"params": [
{
"descr": "The string to parse as a YAML document stream.",
"name": "input"
},
{
"descr": "Document to extract from stream (-1 for all documents, 0 for first document, ...).",
"name": "pos"
},
{
"descr": "If ndocs is provided, then it is filled with the number of documents found in stream.",
"name": "ndocs"
},
{
"descr": "Content handlers for YAML nodes. ",
"name": "callbacks"
}
],
"path": "php/function.yaml-parse",
"syntax": "mixed yaml_parse ( string $input [, int $pos = 0 [, int &$ndocs [, array $callbacks ]]] )",
"type": "YAML"
},
"yaml_parse_file": {
"descr": "Convert all or part of a YAML document stream read from a file to a PHP variable.",
"name": "yaml_parse_file",
"params": [
{
"descr": "Path to the file.",
"name": "filename"
},
{
"descr": "Document to extract from stream (-1 for all documents, 0 for first document, ...).",
"name": "pos"
},
{
"descr": "If ndocs is provided, then it is filled with the number of documents found in stream.",
"name": "ndocs"
},
{
"descr": "Content handlers for YAML nodes. ",
"name": "callbacks"
}
],
"path": "php/function.yaml-parse-file",
"syntax": "mixed yaml_parse_file ( string $filename [, int $pos = 0 [, int &$ndocs [, array $callbacks ]]] )",
"type": "YAML"
},
"yaml_parse_url": {
"descr": "Convert all or part of a YAML document stream read from a URL to a PHP variable.",
"name": "yaml_parse_url",
"params": [
{
"descr": "url should be of the form \"scheme://...\". ",
"name": "url"
},
{
"descr": "Document to extract from stream (-1 for all documents, 0 for first document, ...).",
"name": "pos"
},
{
"descr": "If ndocs is provided, then it is filled with the number of documents found in stream.",
"name": "ndocs"
},
{
"descr": "Content handlers for YAML nodes. ",
"name": "callbacks"
}
],
"path": "php/function.yaml-parse-url",
"syntax": "mixed yaml_parse_url ( string $url [, int $pos = 0 [, int &$ndocs [, array $callbacks ]]] )",
"type": "YAML"
},
"zend_logo_guid": {
"descr": "This function returns the ID which can be used to display the Zend logo using the built-in image.",
"name": "zend_logo_guid",
"params": [],
"path": "php/function.zend-logo-guid",
"syntax": "string zend_logo_guid ( void )",
"type": "Language"
},
"zend_thread_id": {
"descr": "This function returns a unique identifier for the current thread.",
"name": "zend_thread_id",
"params": [],
"path": "php/function.zend-thread-id",
"syntax": "int zend_thread_id ( void )",
"type": "Language"
},
"zend_version": {
"descr": "Returns a string containing the version of the currently running Zend Engine.",
"name": "zend_version",
"params": [],
"path": "php/function.zend-version",
"syntax": "string zend_version ( void )",
"type": "Language"
},
"zip_close": {
"descr": "Closes the given ZIP file archive.",
"name": "zip_close",
"params": [
{
"descr": "A ZIP file previously opened with zip_open().",
"name": "zip"
}
],
"path": "php/function.zip-close",
"syntax": "void zip_close ( resource $zip )",
"type": "Compression"
},
"zip_entry_close": {
"descr": "Closes the specified directory entry.",
"name": "zip_entry_close",
"params": [
{
"descr": "A directory entry previously opened zip_entry_open().",
"name": "zip_entry"
}
],
"path": "php/function.zip-entry-close",
"syntax": "bool zip_entry_close ( resource $zip_entry )",
"type": "Compression"
},
"zip_entry_compressedsize": {
"descr": "Returns the compressed size of the specified directory entry.",
"name": "zip_entry_compressedsize",
"params": [
{
"descr": "A directory entry returned by zip_read().",
"name": "zip_entry"
}
],
"path": "php/function.zip-entry-compressedsize",
"syntax": "int zip_entry_compressedsize ( resource $zip_entry )",
"type": "Compression"
},
"zip_entry_compressionmethod": {
"descr": "Returns the compression method of the directory entry specified by zip_entry.",
"name": "zip_entry_compressionmethod",
"params": [
{
"descr": "A directory entry returned by zip_read().",
"name": "zip_entry"
}
],
"path": "php/function.zip-entry-compressionmethod",
"syntax": "string zip_entry_compressionmethod ( resource $zip_entry )",
"type": "Compression"
},
"zip_entry_filesize": {
"descr": "Returns the actual size of the specified directory entry.",
"name": "zip_entry_filesize",
"params": [
{
"descr": "A directory entry returned by zip_read().",
"name": "zip_entry"
}
],
"path": "php/function.zip-entry-filesize",
"syntax": "int zip_entry_filesize ( resource $zip_entry )",
"type": "Compression"
},
"zip_entry_name": {
"descr": "Returns the name of the specified directory entry.",
"name": "zip_entry_name",
"params": [
{
"descr": "A directory entry returned by zip_read().",
"name": "zip_entry"
}
],
"path": "php/function.zip-entry-name",
"syntax": "string zip_entry_name ( resource $zip_entry )",
"type": "Compression"
},
"zip_entry_open": {
"descr": "Opens a directory entry in a zip file for reading.",
"name": "zip_entry_open",
"params": [
{
"descr": "A valid resource handle returned by zip_open().",
"name": "zip"
},
{
"descr": "A directory entry returned by zip_read().",
"name": "zip_entry"
},
{
"descr": "Any of the modes specified in the documentation of fopen(). ",
"name": "mode"
}
],
"path": "php/function.zip-entry-open",
"syntax": "bool zip_entry_open ( resource $zip , resource $zip_entry [, string $mode ] )",
"type": "Compression"
},
"zip_entry_read": {
"descr": "Reads from an open directory entry.",
"name": "zip_entry_read",
"params": [
{
"descr": "A directory entry returned by zip_read().",
"name": "zip_entry"
},
{
"descr": "The number of bytes to return. Note: This should be the uncompressed length you wish to read.",
"name": "length"
}
],
"path": "php/function.zip-entry-read",
"syntax": "string zip_entry_read ( resource $zip_entry [, int $length = 1024 ] )",
"type": "Compression"
},
"zip_open": {
"descr": "Opens a new zip archive for reading.",
"name": "zip_open",
"params": [
{
"descr": "The file name of the ZIP archive to open.",
"name": "filename"
}
],
"path": "php/function.zip-open",
"syntax": "resource zip_open ( string $filename )",
"type": "Compression"
},
"zip_read": {
"descr": "Reads the next entry in a zip file archive.",
"name": "zip_read",
"params": [
{
"descr": "A ZIP file previously opened with zip_open().",
"name": "zip"
}
],
"path": "php/function.zip-read",
"syntax": "resource zip_read ( resource $zip )",
"type": "Compression"
},
"zlib_decode": {
"descr": "Uncompress any raw/gzip/zlib encoded data.",
"name": "zlib_decode",
"params": [],
"path": "php/function.zlib-decode",
"syntax": "string zlib_decode ( string $data [, string $max_decoded_len ] )",
"type": "Compression"
},
"zlib_encode": {
"descr": "Compress data with the specified encoding.",
"name": "zlib_encode",
"params": [],
"path": "php/function.zlib-encode",
"syntax": "string zlib_encode ( string $data , string $encoding [, string $level = -1 ] )",
"type": "Compression"
},
"zlib_get_coding_type": {
"descr": "Returns the coding type used for output compression.",
"name": "zlib_get_coding_type",
"params": [],
"path": "php/function.zlib-get-coding-type",
"syntax": "string zlib_get_coding_type ( void )",
"type": "Compression"
}
}