fnmatch
Supported Versions: PHP 4 >= 4.3.0, PHP 5, PHP 7, PHP 8
Match filename against a pattern
<?php fnmatch
(
string $pattern
,
string $filename
,
int $flags
=
0
):
bool