PHP » GoLang |
login |
register |
about
|
preg_grep(PHP 4, PHP 5, PHP 7) preg_grep — Return array entries that match the pattern Description
array preg_grep
( string
$pattern
, array $input
[, int $flags = 0
] )
Returns the array consisting of the elements of the
Parameters
Return Values
Returns an array indexed using the keys from the
Examples
Example #1 preg_grep() example
<?php See Also
|
more
Recently updated
more
Most requested
more
Last requests
|