// Start of mbstring v.
/**
* Perform case folding on a string
* @link http://php.net/manual/en/function.mb-convert-case.php
* @param string $str
* The string being converted.
*
* @param int $mode
* The mode of the conversion. It can be one of
* MB_CASE_UPPER,
* MB_CASE_LOWER, or
* MB_CASE_TITLE.
*
* @param string $encoding [optional] &mbstring.encoding.parameter;
* @return string A case folded version of string converted in the
* way specified by mode.
* @since 4.3.0
* @since 5.0
*/
function mb_convert_case ($str, $mode, $encoding = null) {}
/**
* Make a string uppercase
* @link http://php.net/manual/en/function.mb-strtoupper.php
* @param string $str
* The string being uppercased.
*
* @param string $encoding [optional] &mbstring.encoding.parameter;
* @return string str with all alphabetic characters converted to uppercase.
* @since 4.3.0
* @since 5.0
*/
function mb_strtoupper ($str, $encoding = null) {}
/**
* Make a string lowercase
* @link http://php.net/manual/en/function.mb-strtolower.php
* @param string $str
* The string being lowercased.
*
* @param string $encoding [optional] &mbstring.encoding.parameter;
* @return string str with all alphabetic characters converted to lowercase.
* @since 4.3.0
* @since 5.0
*/
function mb_strtolower ($str, $encoding = null) {}
/**
* Set/Get current language
* @link http://php.net/manual/en/function.mb-language.php
* @param string $language [optional]
* Used for encoding
* e-mail messages. Valid languages are "Japanese",
* "ja","English","en" and "uni"
* (UTF-8). mb_send_mail uses this setting to
* encode e-mail.
*
*
* Language and its setting is ISO-2022-JP/Base64 for
* Japanese, UTF-8/Base64 for uni, ISO-8859-1/quoted printable for
* English.
*
* @return mixed If language is set and
* language is valid, it returns
* true. Otherwise, it returns false.
* When language is omitted, it returns the language
* name as a string. If no language is set previously, it then returns
* false.
* @since 4.0.6
* @since 5.0
*/
function mb_language ($language = null) {}
/**
* Set/Get internal character encoding
* @link http://php.net/manual/en/function.mb-internal-encoding.php
* @param string $encoding [optional]
* 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.
*
* @return mixed If encoding is set, then
* true on success or false on failure.
* If encoding is omitted, then
* the current character encoding name is returned.
* @since 4.0.6
* @since 5.0
*/
function mb_internal_encoding ($encoding = null) {}
/**
* Detect HTTP input character encoding
* @link http://php.net/manual/en/function.mb-http-input.php
* @param string $type [optional]
* Input string specifies the input type.
* "G" for GET, "P" for POST, "C" for COOKIE, "S" for string, "L" for list, and
* "I" for the whole list (will return array).
* If type is omitted, it returns the last input type processed.
*
* @return mixed The character encoding name, as per the type.
* If mb_http_input does not process specified
* HTTP input, it returns false.
* @since 4.0.6
* @since 5.0
*/
function mb_http_input ($type = null) {}
/**
* Set/Get HTTP output character encoding
* @link http://php.net/manual/en/function.mb-http-output.php
* @param string $encoding [optional]
* If encoding is set,
* mb_http_output sets the HTTP output character
* encoding to encoding.
*
*
* If encoding is omitted,
* mb_http_output returns the current HTTP output
* character encoding.
*
* @return mixed If encoding is omitted,
* mb_http_output returns the current HTTP output
* character encoding. Otherwise,
* true on success or false on failure.
* @since 4.0.6
* @since 5.0
*/
function mb_http_output ($encoding = null) {}
/**
* Set/Get character encoding detection order
* @link http://php.net/manual/en/function.mb-detect-order.php
* @param mixed $encoding_list [optional]
* encoding_list is an array or
* comma separated list of character encoding. ("auto" is expanded to
* "ASCII, JIS, UTF-8, EUC-JP, SJIS")
*
*
* If encoding_list is omitted, it returns
* the current character encoding detection order as array.
*
*
* This setting affects mb_detect_encoding and
* mb_send_mail.
*
*
* mbstring currently implements the following
* encoding detection filters. If there is an invalid byte sequence
* for the following encodings, encoding detection will fail.
*
* UTF-8, UTF-7,
* ASCII,
* EUC-JP,SJIS,
* eucJP-win, SJIS-win,
* JIS, ISO-2022-JP
*
* For ISO-8859-*, mbstring
* always detects as ISO-8859-*.
*
*
* For UTF-16, UTF-32,
* UCS2 and UCS4, encoding
* detection will fail always.
*
*
* Useless detect order example
*
* @return mixed true on success or false on failure.
* @since 4.0.6
* @since 5.0
*/
function mb_detect_order ($encoding_list = null) {}
/**
* Set/Get substitution character
* @link http://php.net/manual/en/function.mb-substitute-character.php
* @param mixed $substrchar [optional]
* Specify the Unicode value as an integer,
* or as one of the following strings:
* "none" : no output
* @return mixed If substchar is set, it returns true for success,
* otherwise returns false.
* If substchar is not set, it returns the Unicode value,
* or "none" or "long".
* @since 4.0.6
* @since 5.0
*/
function mb_substitute_character ($substrchar = null) {}
/**
* Parse GET/POST/COOKIE data and set global variable
* @link http://php.net/manual/en/function.mb-parse-str.php
* @param string $encoded_string
* The URL encoded data.
*
* @param array $result [optional]
* An array containing decoded and character encoded converted values.
*
* @return bool true on success or false on failure.
* @since 4.0.6
* @since 5.0
*/
function mb_parse_str ($encoded_string, array &$result = null) {}
/**
* Callback function converts character encoding in output buffer
* @link http://php.net/manual/en/function.mb-output-handler.php
* @param string $contents
* The contents of the output buffer.
*
* @param int $status
* The status of the output buffer.
*
* @return string The converted string.
* @since 4.0.6
* @since 5.0
*/
function mb_output_handler ($contents, $status) {}
/**
* Get MIME charset string
* @link http://php.net/manual/en/function.mb-preferred-mime-name.php
* @param string $encoding
* The encoding being checked.
*
* @return string The MIME charset string for character encoding
* encoding.
* @since 4.0.6
* @since 5.0
*/
function mb_preferred_mime_name ($encoding) {}
/**
* Get string length
* @link http://php.net/manual/en/function.mb-strlen.php
* @param string $str
* The string being checked for length.
*
* @param string $encoding [optional] &mbstring.encoding.parameter;
* @return int the number of characters in
* string str having character encoding
* encoding. A multi-byte character is
* counted as 1.
* @since 4.0.6
* @since 5.0
*/
function mb_strlen ($str, $encoding = null) {}
/**
* Find position of first occurrence of string in a string
* @link http://php.net/manual/en/function.mb-strpos.php
* @param string $haystack
* The string being checked.
*
* @param string $needle
* The position counted from the beginning of haystack.
*
* @param int $offset [optional]
* The search offset. If it is not specified, 0 is used.
*
* @param string $encoding [optional] &mbstring.encoding.parameter;
* @return int the numeric position of
* the first occurrence of needle in the
* haystack string. If
* needle is not found, it returns false.
* @since 4.0.6
* @since 5.0
*/
function mb_strpos ($haystack, $needle, $offset = null, $encoding = null) {}
/**
* Find position of last occurrence of a string in a string
* @link http://php.net/manual/en/function.mb-strrpos.php
* @param string $haystack
* The string being checked, for the last occurrence
* of needle
*
* @param string $needle
* The string to find in haystack.
*
* @param int $offset [optional] May be specified to begin searching an arbitrary number of characters into
* the string. Negative values will stop searching at an arbitrary point
* prior to the end of the string.
* @param string $encoding [optional] &mbstring.encoding.parameter;
* @return int the numeric position of
* the last occurrence of needle in the
* haystack string. If
* needle is not found, it returns false.
* @since 4.0.6
* @since 5.0
*/
function mb_strrpos ($haystack, $needle, $offset = null, $encoding = null) {}
/**
* Finds position of first occurrence of a string within another, case insensitive
* @link http://php.net/manual/en/function.mb-stripos.php
* @param string $haystack
* The string from which to get the position of the first occurrence
* of needle
*
* @param string $needle
* The string to find in haystack
*
* @param int $offset [optional]
* The position in haystack
* to start searching
*
* @param string $encoding [optional]
* Character encoding name to use.
* If it is omitted, internal character encoding is used.
*
* @return int Return the numeric position of the first occurrence of
* needle in the haystack
* string, or false if needle is not found.
* @since 5.2.0
*/
function mb_stripos ($haystack, $needle, $offset = null, $encoding = null) {}
/**
* Finds position of last occurrence of a string within another, case insensitive
* @link http://php.net/manual/en/function.mb-strripos.php
* @param string $haystack
* The string from which to get the position of the last occurrence
* of needle
*
* @param string $needle
* The string to find in haystack
*
* @param int $offset [optional]
* The position in haystack
* to start searching
*
* @param string $encoding [optional]
* Character encoding name to use.
* If it is omitted, internal character encoding is used.
*
* @return int Return the numeric position of
* the last occurrence of needle in the
* haystack string, or false
* if needle is not found.
* @since 5.2.0
*/
function mb_strripos ($haystack, $needle, $offset = null, $encoding = null) {}
/**
* Finds first occurrence of a string within another
* @link http://php.net/manual/en/function.mb-strstr.php
* @param string $haystack
* The string from which to get the first occurrence
* of needle
*
* @param string $needle
* The string to find in haystack
*
* @param bool $part [optional]
* Determines which portion of haystack
* this function returns.
* If set to true, it returns all of haystack
* from the beginning to the first occurrence of needle.
* If set to false, it returns all of haystack
* from the first occurrence of needle to the end,
*
* @param string $encoding [optional]
* Character encoding name to use.
* If it is omitted, internal character encoding is used.
*
* @return string the portion of haystack,
* or false if needle is not found.
* @since 5.2.0
*/
function mb_strstr ($haystack, $needle, $part = null, $encoding = null) {}
/**
* Finds the last occurrence of a character in a string within another
* @link http://php.net/manual/en/function.mb-strrchr.php
* @param string $haystack
* The string from which to get the last occurrence
* of needle
*
* @param string $needle
* The string to find in haystack
*
* @param bool $part [optional]
* Determines which portion of haystack
* this function returns.
* If set to true, it returns all of haystack
* from the beginning to the last occurrence of needle.
* If set to false, it returns all of haystack
* from the last occurrence of needle to the end,
*
* @param string $encoding [optional]
* Character encoding name to use.
* If it is omitted, internal character encoding is used.
*
* @return string the portion of haystack.
* or false if needle is not found.
* @since 5.2.0
*/
function mb_strrchr ($haystack, $needle, $part = null, $encoding = null) {}
/**
* Finds first occurrence of a string within another, case insensitive
* @link http://php.net/manual/en/function.mb-stristr.php
* @param string $haystack
* The string from which to get the first occurrence
* of needle
*
* @param string $needle
* The string to find in haystack
*
* @param bool $part [optional]
* Determines which portion of haystack
* this function returns.
* If set to true, it returns all of haystack
* from the beginning to the first occurrence of needle.
* If set to false, it returns all of haystack
* from the first occurrence of needle to the end,
*
* @param string $encoding [optional]
* Character encoding name to use.
* If it is omitted, internal character encoding is used.
*
* @return string the portion of haystack,
* or false if needle is not found.
* @since 5.2.0
*/
function mb_stristr ($haystack, $needle, $part = null, $encoding = null) {}
/**
* Finds the last occurrence of a character in a string within another, case insensitive
* @link http://php.net/manual/en/function.mb-strrichr.php
* @param string $haystack
* The string from which to get the last occurrence
* of needle
*
* @param string $needle
* The string to find in haystack
*
* @param bool $part [optional]
* Determines which portion of haystack
* this function returns.
* If set to true, it returns all of haystack
* from the beginning to the last occurrence of needle.
* If set to false, it returns all of haystack
* from the last occurrence of needle to the end,
*
* @param string $encoding [optional]
* Character encoding name to use.
* If it is omitted, internal character encoding is used.
*
* @return string the portion of haystack.
* or false if needle is not found.
* @since 5.2.0
*/
function mb_strrichr ($haystack, $needle, $part = null, $encoding = null) {}
/**
* Count the number of substring occurrences
* @link http://php.net/manual/en/function.mb-substr-count.php
* @param string $haystack
* The string being checked.
*
* @param string $needle
* The string being found.
*
* @param string $encoding [optional] &mbstring.encoding.parameter;
* @return int The number of times the
* needle substring occurs in the
* haystack string.
* @since 4.3.0
* @since 5.0
*/
function mb_substr_count ($haystack, $needle, $encoding = null) {}
/**
* Get part of string
* @link http://php.net/manual/en/function.mb-substr.php
* @param string $str
* The string being checked.
*
* @param int $start
* The first position used in str.
*
* @param int $length [optional]
* The maximum length of the returned string.
*
* @param string $encoding [optional] &mbstring.encoding.parameter;
* @return string mb_substr returns the portion of
* str specified by the
* start and
* length parameters.
* @since 4.0.6
* @since 5.0
*/
function mb_substr ($str, $start, $length = null, $encoding = null) {}
/**
* Get part of string
* @link http://php.net/manual/en/function.mb-strcut.php
* @param string $str
* The string being cut.
*
* @param int $start
* The position that begins the cut.
*
* @param int $length [optional]
* The string being decoded.
*
* @param string $encoding [optional] &mbstring.encoding.parameter;
* @return string mb_strcut returns the portion of
* str specified by the
* start and
* length parameters.
* @since 4.0.6
* @since 5.0
*/
function mb_strcut ($str, $start, $length = null, $encoding = null) {}
/**
* Return width of string
* @link http://php.net/manual/en/function.mb-strwidth.php
* @param string $str
* The string being decoded.
*
* @param string $encoding [optional] &mbstring.encoding.parameter;
* @return int The width of string str.
* @since 4.0.6
* @since 5.0
*/
function mb_strwidth ($str, $encoding = null) {}
/**
* Get truncated string with specified width
* @link http://php.net/manual/en/function.mb-strimwidth.php
* @param string $str
* The string being decoded.
*
* @param int $start
* The start position offset. Number of
* characters from the beginning of string. (First character is 0)
*
* @param int $width
* The width of the desired trim.
*
* @param string $trimmarker [optional]
* A string that is added to the end of string
* when string is truncated.
*
* @param string $encoding [optional] &mbstring.encoding.parameter;
* @return string The truncated string. If trimmarker is set,
* trimmarker is appended to the return value.
* @since 4.0.6
* @since 5.0
*/
function mb_strimwidth ($str, $start, $width, $trimmarker = null, $encoding = null) {}
/**
* Convert character encoding
* @link http://php.net/manual/en/function.mb-convert-encoding.php
* @param string $str
* The string being encoded.
*
* @param string $to_encoding
* The type of encoding that str is being converted to.
*
* @param mixed $from_encoding [optional]
* Is specified by character code names before conversion. It is either
* an array, or a comma separated enumerated list.
* If from_encoding is not specified, the internal
* encoding will be used.
*
*
* "auto" may be used, which expands to
* "ASCII,JIS,UTF-8,EUC-JP,SJIS".
*
* @return string The encoded string.
* @since 4.0.6
* @since 5.0
*/
function mb_convert_encoding ($str, $to_encoding, $from_encoding = null) {}
/**
* Detect character encoding
* @link http://php.net/manual/en/function.mb-detect-encoding.php
* @param string $str
* The string being detected.
*
* @param mixed $encoding_list [optional]
* encoding_list is list of character
* encoding. Encoding order may be specified by array or comma
* separated list string.
*
*
* If encoding_list is omitted,
* detect_order is used.
*
* @param bool $strict [optional]
* strict specifies whether to use
* the strict encoding detection or not.
* Default is false.
*
* @return string The detected character encoding or false if the encoding cannot be
* detected from the given string.
* @since 4.0.6
* @since 5.0
*/
function mb_detect_encoding ($str, $encoding_list = null, $strict = null) {}
/**
* Returns an array of all supported encodings
* @link http://php.net/manual/en/function.mb-list-encodings.php
* @return array a numerically indexed array.
* @since 5.0
*/
function mb_list_encodings () {}
/**
* (PHP 5 >= 5.3.0)
* Get aliases of a known encoding type
* @param string $encoding The encoding type being checked, for aliases.
* @return array a numerically indexed array of encoding aliases on success, or FALSE on failure
* @link http://php.net/manual/en/function.mb-encoding-aliases.php
*/
function mb_encoding_aliases ($encoding) {}
/**
* Convert "kana" one from another ("zen-kaku", "han-kaku" and more)
* @link http://php.net/manual/en/function.mb-convert-kana.php
* @param string $str
* The string being converted.
*
* @param string $option [optional]
* The conversion option.
*
*
* Specify with a combination of following options.
*
* Applicable Conversion Options
*
* Option
* Meaning
*
*
* r
*
* Convert "zen-kaku" alphabets to "han-kaku"
*
*
*
* R
*
* Convert "han-kaku" alphabets to "zen-kaku"
*
*
*
* n
*
* Convert "zen-kaku" numbers to "han-kaku"
*
*
*
* N
*
* Convert "han-kaku" numbers to "zen-kaku"
*
*
*
* a
*
* Convert "zen-kaku" alphabets and numbers to "han-kaku"
*
*
*
* A
*
* Convert "han-kaku" alphabets and numbers to "zen-kaku"
* (Characters included in "a", "A" options are
* U+0021 - U+007E excluding U+0022, U+0027, U+005C, U+007E)
*
*
*
* s
*
* Convert "zen-kaku" space to "han-kaku" (U+3000 -> U+0020)
*
*
*
* S
*
* Convert "han-kaku" space to "zen-kaku" (U+0020 -> U+3000)
*
*
*
* k
*
* Convert "zen-kaku kata-kana" to "han-kaku kata-kana"
*
*
*
* K
*
* Convert "han-kaku kata-kana" to "zen-kaku kata-kana"
*
*
*
* h
*
* Convert "zen-kaku hira-gana" to "han-kaku kata-kana"
*
*
*
* H
*
* Convert "han-kaku kata-kana" to "zen-kaku hira-gana"
*
*
*
* c
*
* Convert "zen-kaku kata-kana" to "zen-kaku hira-gana"
*
*
*
* C
*
* Convert "zen-kaku hira-gana" to "zen-kaku kata-kana"
*
*
*
* V
*
* Collapse voiced sound notation and convert them into a character. Use with "K","H"
*
*
*
*
* @param string $encoding [optional] &mbstring.encoding.parameter;
* @return string The converted string.
* @since 4.0.6
* @since 5.0
*/
function mb_convert_kana ($str, $option = null, $encoding = null) {}
/**
* Encode string for MIME header
* @link http://php.net/manual/en/function.mb-encode-mimeheader.php
* @param string $str
* The string being encoded.
*
* @param string $charset [optional]
* charset specifies the name of the character set
* in which str is represented in. The default value
* is determined by the current NLS setting (mbstring.language).
* mb_internal_encoding should be set to same encoding.
*
* @param string $transfer_encoding [optional]
* transfer_encoding specifies the scheme of MIME
* encoding. It should be either "B" (Base64) or
* "Q" (Quoted-Printable). Falls back to
* "B" if not given.
*
* @param string $linefeed [optional]
* linefeed specifies the EOL (end-of-line) marker
* with which mb_encode_mimeheader performs
* line-folding (a RFC term,
* the act of breaking a line longer than a certain length into multiple
* lines. The length is currently hard-coded to 74 characters).
* Falls back to "\r\n" (CRLF) if not given.
*
* @param int $indent [optional]
* Indentation of the first line (number of characters in the header
* before str).
*
* @return string A converted version of the string represented in ASCII.
* @since 4.0.6
* @since 5.0
*/
function mb_encode_mimeheader ($str, $charset = null, $transfer_encoding = null, $linefeed = null, $indent = null) {}
/**
* Decode string in MIME header field
* @link http://php.net/manual/en/function.mb-decode-mimeheader.php
* @param string $str
* The string being decoded.
*
* @return string The decoded string in internal character encoding.
* @since 4.0.6
* @since 5.0
*/
function mb_decode_mimeheader ($str) {}
/**
* Convert character code in variable(s)
* @link http://php.net/manual/en/function.mb-convert-variables.php
* @param string $to_encoding
* The encoding that the string is being converted to.
*
* @param mixed $from_encoding
* from_encoding is specified as an array
* or comma separated string, it tries to detect encoding from
* from-coding. When from_encoding
* is omitted, detect_order is used.
*
* @param mixed $vars
* vars is the reference to the
* variable being converted. String, Array and Object are accepted.
* mb_convert_variables assumes all parameters
* have the same encoding.
*
* @param mixed $_ [optional]
* @return string The character encoding before conversion for success,
* or false for failure.
* @since 4.0.6
* @since 5.0
*/
function mb_convert_variables ($to_encoding, $from_encoding, &$vars, &$_ = null) {}
/**
* Encode character to HTML numeric string reference
* @link http://php.net/manual/en/function.mb-encode-numericentity.php
* @param string $str
* The string being encoded.
*
* @param array $convmap
* convmap is array specifies code area to
* convert.
*
* @param string $encoding &mbstring.encoding.parameter;
* @param bool $is_hex [optional]
* @return string The converted string.
* @since 4.0.6
* @since 5.0
*/
function mb_encode_numericentity ($str, array $convmap, $encoding = null, $is_hex = false) {}
/**
* Decode HTML numeric string reference to character
* @link http://php.net/manual/en/function.mb-decode-numericentity.php
* @param string $str
* The string being decoded.
*
* @param array $convmap
* convmap is an array that specifies
* the code area to convert.
*
* @param string $encoding &mbstring.encoding.parameter;
* @return string The converted string.
* @since 4.0.6
* @since 5.0
*/
function mb_decode_numericentity ($str, array $convmap, $encoding = null) {}
/**
* Send encoded mail
* @link http://php.net/manual/en/function.mb-send-mail.php
* @param string $to
* The mail addresses being sent to. Multiple
* recipients may be specified by putting a comma between each
* address in to.
* This parameter is not automatically encoded.
*
* @param string $subject
* The subject of the mail.
*
* @param string $message
* The message of the mail.
*
* @param string $additional_headers [optional]
* additional_headers is inserted at
* the end of the header. This is typically used to add extra
* headers. Multiple extra headers are separated with a
* newline ("\n").
*
* @param string $additional_parameter [optional]
* additional_parameter is a MTA command line
* parameter. It is useful when setting the correct Return-Path
* header when using sendmail.
*
* @return bool true on success or false on failure.
* @since 4.0.6
* @since 5.0
*/
function mb_send_mail ($to, $subject, $message, $additional_headers = null, $additional_parameter = null) {}
/**
* Get internal settings of mbstring
* @link http://php.net/manual/en/function.mb-get-info.php
* @param string $type [optional]
* 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.
*
* @return mixed An array of type information if type
* is not specified, otherwise a specific type.
* @since 4.2.0
* @since 5.0
*/
function mb_get_info ($type = null) {}
/**
* Check if the string is valid for the specified encoding
* @link http://php.net/manual/en/function.mb-check-encoding.php
* @param string $var [optional]
* The byte stream to check. If it is omitted, this function checks
* all the input from the beginning of the request.
*
* @param string $encoding [optional]
* The expected encoding.
*
* @return bool true on success or false on failure.
* @since 4.4.3
* @since 5.1.3
*/
function mb_check_encoding ($var = null, $encoding = null) {}
/**
* Returns current encoding for multibyte regex as string
* @link http://php.net/manual/en/function.mb-regex-encoding.php
* @param string $encoding [optional] &mbstring.encoding.parameter;
* @return mixed
* @since 4.2.0
* @since 5.0
*/
function mb_regex_encoding ($encoding = null) {}
/**
* Set/Get the default options for mbregex functions
* @link http://php.net/manual/en/function.mb-regex-set-options.php
* @param string $options [optional]
* The options to set.
*
* @return string The previous options. If options is omitted,
* it returns the string that describes the current options.
* @since 4.3.0
* @since 5.0
*/
function mb_regex_set_options ($options = null) {}
/**
* Regular expression match with multibyte support
* @link http://php.net/manual/en/function.mb-ereg.php
* @param string $pattern
* The search pattern.
*
* @param string $string
* The search string.
*
* @param array $regs [optional]
* Contains a substring of the matched string.
*
* @return int
* @since 4.2.0
* @since 5.0
*/
function mb_ereg ($pattern, $string, array $regs = null) {}
/**
* Regular expression match ignoring case with multibyte support
* @link http://php.net/manual/en/function.mb-eregi.php
* @param string $pattern
* The regular expression pattern.
*
* @param string $string
* The string being searched.
*
* @param array $regs [optional]
* Contains a substring of the matched string.
*
* @return int
* @since 4.2.0
* @since 5.0
*/
function mb_eregi ($pattern, $string, array $regs = null) {}
/**
* Replace regular expression with multibyte support
* @link http://php.net/manual/en/function.mb-ereg-replace.php
* @param string $pattern
* The regular expression pattern.
*
*
* Multibyte characters may be used in pattern.
*
* @param string $replacement
* The replacement text.
*
* @param string $string
* The string being checked.
*
* @param string $option [optional] Matching condition can be set by option
* parameter. If i is specified for this
* parameter, the case will be ignored. If x is
* specified, white space will be ignored. If m
* is specified, match will be executed in multiline mode and line
* break will be included in '.'. If p is
* specified, match will be executed in POSIX mode, line break
* will be considered as normal character. If e
* is specified, replacement string will be
* evaluated as PHP expression.
* PHP 7.1: The e modifier has been deprecated.
* @return string The resultant string on success, or false on error.
* @since 4.2.0
* @since 5.0
*/
function mb_ereg_replace ($pattern, $replacement, $string, $option = null) {}
/**
* Perform a regular expresssion seach and replace with multibyte support using a callback
* @link http://www.php.net/manual/en/function.mb-ereg-replace-callback.php
* @param string $pattern
* The regular expression pattern.
*
*
* Multibyte characters may be used in pattern.
*
* @param callable $callback
* A callback that will be called and passed an array of matched elements
* in the subject string. The callback should
* return the replacement string.
*
*
* You'll often need the callback function
* for a mb_ereg_replace_callback() in just one place.
* In this case you can use an anonymous function to
* declare the callback within the call to
* mb_ereg_replace_callback(). By doing it this way
* you have all information for the call in one place and do not
* clutter the function namespace with a callback function's name
* not used anywhere else.
*
* @param string $string
* The string being checked.
*
* @param string $option [optional
* Matching condition can be set by option
* parameter. If i is specified for this
* parameter, the case will be ignored. If x is
* specified, white space will be ignored. If m
* is specified, match will be executed in multiline mode and line
* break will be included in '.'. If p is
* specified, match will be executed in POSIX mode, line break
* will be considered as normal character. Note that e
* cannot be used for mb_ereg_replace_callback().
*
* @return string
* The resultant string on success, or FALSE on error.
*
* @since 5.4.1
*/
function mb_ereg_replace_callback ($pattern, callable $callback, $string, $option = "msr") {}
/**
* Replace regular expression with multibyte support ignoring case
* @link http://php.net/manual/en/function.mb-eregi-replace.php
* @param string $pattern
* The regular expression pattern. Multibyte characters may be used. The case will be ignored.
*
* @param string $replace
* The replacement text.
*
* @param string $string
* The searched string.
*
* @param string $option [optional] option has the same meaning as in
* mb_ereg_replace.
* PHP 7.1: The e modifier has been deprecated.
* @return string The resultant string or false on error.
* @since 4.2.0
* @since 5.0
*/
function mb_eregi_replace ($pattern, $replace, $string, $option = null) {}
/**
* Split multibyte string using regular expression
* @link http://php.net/manual/en/function.mb-split.php
* @param string $pattern
* The regular expression pattern.
*
* @param string $string
* The string being split.
*
* @param int $limit [optional] If optional parameter limit is specified,
* it will be split in limit elements as
* maximum.
* @return array The result as an array.
* @since 4.2.0
* @since 5.0
*/
function mb_split ($pattern, $string, $limit = null) {}
/**
* Regular expression match for multibyte string
* @link http://php.net/manual/en/function.mb-ereg-match.php
* @param string $pattern
* The regular expression pattern.
*
* @param string $string
* The string being evaluated.
*
* @param string $option [optional]
*
* @return bool
* @since 4.2.0
* @since 5.0
*/
function mb_ereg_match ($pattern, $string, $option = null) {}
/**
* Multibyte regular expression match for predefined multibyte string
* @link http://php.net/manual/en/function.mb-ereg-search.php
* @param string $pattern [optional]
* The search pattern.
*
* @param string $option [optional]
* The search option.
*
* @return bool
* @since 4.2.0
* @since 5.0
*/
function mb_ereg_search ($pattern = null, $option = null) {}
/**
* Returns position and length of a matched part of the multibyte regular expression for a predefined multibyte string
* @link http://php.net/manual/en/function.mb-ereg-search-pos.php
* @param string $pattern [optional]
* The search pattern.
*
* @param string $option [optional]
* The search option.
*
* @return array
* @since 4.2.0
* @since 5.0
*/
function mb_ereg_search_pos ($pattern = null, $option = null) {}
/**
* Returns the matched part of a multibyte regular expression
* @link http://php.net/manual/en/function.mb-ereg-search-regs.php
* @param string $pattern [optional]
* The search pattern.
*
* @param string $option [optional]
* The search option.
*
* @return array
* @since 4.2.0
* @since 5.0
*/
function mb_ereg_search_regs ($pattern = null, $option = null) {}
/**
* Setup string and regular expression for a multibyte regular expression match
* @link http://php.net/manual/en/function.mb-ereg-search-init.php
* @param string $string
* The search string.
*
* @param string $pattern [optional]
* The search pattern.
*
* @param string $option [optional]
* The search option.
*
* @return bool
* @since 4.2.0
* @since 5.0
*/
function mb_ereg_search_init ($string, $pattern = null, $option = null) {}
/**
* Retrieve the result from the last multibyte regular expression match
* @link http://php.net/manual/en/function.mb-ereg-search-getregs.php
* @return array
* @since 4.2.0
* @since 5.0
*/
function mb_ereg_search_getregs () {}
/**
* Returns start point for next regular expression match
* @link http://php.net/manual/en/function.mb-ereg-search-getpos.php
* @return int
* @since 4.2.0
* @since 5.0
*/
function mb_ereg_search_getpos () {}
/**
* Set start point of next regular expression match
* @link http://php.net/manual/en/function.mb-ereg-search-setpos.php
* @param int $position
* The position to set.
*
* @return bool
* @since 4.2.0
* @since 5.0
*/
function mb_ereg_search_setpos ($position) {}
/**
* @param $encoding [optional]
*/
function mbregex_encoding ($encoding) {}
/**
* @param $pattern
* @param $string
* @param $registers [optional]
*/
function mbereg ($pattern, $string, &$registers) {}
/**
* @param $pattern
* @param $string
* @param $registers [optional]
*/
function mberegi ($pattern, $string, &$registers) {}
/**
* @param $pattern
* @param $replacement
* @param $string
* @param $option [optional]
*/
function mbereg_replace ($pattern, $replacement, $string, $option) {}
/**
* @param $pattern
* @param $replacement
* @param $string
*/
function mberegi_replace ($pattern, $replacement, $string) {}
/**
* @param $pattern
* @param $string
* @param $limit [optional]
*/
function mbsplit ($pattern, $string, $limit) {}
/**
* @param $pattern
* @param $string
* @param $option [optional]
*/
function mbereg_match ($pattern, $string, $option) {}
/**
* @param $pattern [optional]
* @param $option [optional]
*/
function mbereg_search ($pattern, $option) {}
/**
* @param $pattern [optional]
* @param $option [optional]
*/
function mbereg_search_pos ($pattern, $option) {}
/**
* @param $pattern [optional]
* @param $option [optional]
*/
function mbereg_search_regs ($pattern, $option) {}
/**
* @param $string
* @param $pattern [optional]
* @param $option [optional]
*/
function mbereg_search_init ($string, $pattern, $option) {}
function mbereg_search_getregs () {}
function mbereg_search_getpos () {}
/**
* @param $position
*/
function mbereg_search_setpos ($position) {}
define ('MB_OVERLOAD_MAIL', 1);
define ('MB_OVERLOAD_STRING', 2);
define ('MB_OVERLOAD_REGEX', 4);
define ('MB_CASE_UPPER', 0);
define ('MB_CASE_LOWER', 1);
define ('MB_CASE_TITLE', 2);
// End of mbstring v.
?>