preg_grep
ahmard/quick-route
Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Return array entries that match the pattern
<?php preg_grep
(
string $pattern
, array
$array
,
int $flags
=
0
): array|
false