preg_grepReturn array entries that match the pattern Description
arrayfalse preg_grep(string
$pattern , array $array , int $flags = 0)
Returns the array consisting of the elements of the
Parameters
Return Values
Returns an array indexed using the keys from the
Errors/Exceptions
If the regex pattern passed does not compile to a valid regex, an Examples
Example #1 preg_grep example
|