mb_ereg_search_setpos

(PHP 4 >= 4.2.0, PHP 5, PHP 7) Set start point of next regular expression match bool mb_ereg_search_setpos ( int $position ) mb_ereg_search_setpos() sets the starting point of a match for mb_ereg_search(). Parameters: position The position to set. Returns: Returns TRUE on success or FALSE on failure. Notes:

mb_ereg_search_regs

(PHP 4 >= 4.2.0, PHP 5, PHP 7) Returns the matched part of a multibyte regular expression array mb_ereg_search_regs ([ string $pattern [, string $option = "ms" ]] ) Returns the matched part of a multibyte regular expression. Parameters: pattern The search pattern. option The search option. Returns: mb_ereg_

mb_ereg_search_pos

(PHP 4 >= 4.2.0, PHP 5, PHP 7) Returns position and length of a matched part of the multibyte regular expression for a predefined multibyte string array mb_ereg_search_pos ([ string $pattern [, string $option = "ms" ]] ) Returns position and length of a matched part of the multibyte regular expression for a predefined multibyte string The string for match is specified by mb_ereg_search_init(). If it is not specified, t

mb_ereg_search_init

(PHP 4 >= 4.2.0, PHP 5, PHP 7) Setup string and regular expression for a multibyte regular expression match bool mb_ereg_search_init ( string $string [, string $pattern [, string $option = "msr" ]] ) 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(). Parameters:

mb_ereg_search_getregs

(PHP 4 >= 4.2.0, PHP 5, PHP 7) Retrieve the result from the last multibyte regular expression match array mb_ereg_search_getregs ( void ) Retrieve the result from the last multibyte regular expression match Returns: An array including the sub-string of matched part by last mb_ereg_search(), mb_ereg_search_pos(), mb_ereg_search_regs(). If there are some matches, the first element will have the m

mb_ereg_search_getpos

(PHP 4 >= 4.2.0, PHP 5, PHP 7) Returns start point for next regular expression match int mb_ereg_search_getpos ( void ) Returns the start point for the next regular expression match. Returns: mb_ereg_search_getpos() returns the point to start regular expression match for mb_ereg_search(), mb_ereg_search_pos(), mb_ereg_search_regs(). The position is represented by bytes from the head of string.

mb_ereg_replace

(PHP 4 >= 4.2.0, PHP 5, PHP 7) Replace regular expression with multibyte support string mb_ereg_replace ( string $pattern, string $replacement, string $string [, string $option = "msr" ] ) Scans string for matches to pattern, then replaces the matched text with replacement Parameters: pattern The regular expression pattern. Multibyte characters may be used in patter

mb_ereg_replace_callback

(PHP 5 >= 5.4.1, PHP 7) Perform a regular expresssion seach and replace with multibyte support using a callback string mb_ereg_replace_callback ( string $pattern, callable $callback, string $string [, string $option = "msr" ] ) Scans string for matches to pattern, then replaces the matched text with the output of callback function. The behavior of this function is almost identical to mb_ereg_replace(), except for the

mb_ereg_match

(PHP 4 >= 4.2.0, PHP 5, PHP 7) Regular expression match for multibyte string bool mb_ereg_match ( string $pattern, string $string [, string $option = "msr" ] ) A regular expression match for a multibyte string Parameters: pattern The regular expression pattern. string The string being evaluated. option

mb_encoding_aliases

(PHP 5 >= 5.3.0, PHP 7) Get aliases of a known encoding type array mb_encoding_aliases ( string $encoding ) Returns an array of aliases for a known encoding type. Parameters: encoding The encoding type being checked, for aliases. Returns: Returns a numerically indexed array of encoding aliases on success, or FALSE on failure