MB_EREG_SEARCH_GETREGS(3) 1 MB_EREG_SEARCH_GETREGS(3)
mb_ereg_search_getregs - Retrieve the result from the last multibyte regular expression match
SYNOPSIS
array mb_ereg_search_getregs (void )
DESCRIPTION
Retrieve the result from the last multibyte regular expression match
PARAMETERS
This function has no parameters.
RETURN VALUES
An array including the sub-string of matched part by last mb_ereg_search(3), mb_ereg_search_pos(3), mb_ereg_search_regs(3). If there are
some matches, the first element will have the matched sub-string, the second element will have the first part grouped with brackets, the
third element will have the second part grouped with brackets, and so on. It returns FALSE on error;
NOTES
Note
The internal encoding or the character encoding specified by mb_regex_encoding(3) will be used as the character encoding for this
function.
SEE ALSO
mb_regex_encoding(3), mb_ereg_search_init(3).
PHP Documentation Group MB_EREG_SEARCH_GETREGS(3)