Lines Matching refs:fnmatch
2 Test fnmatch() function: Basic functionality
5 if (!function_exists('fnmatch'))
6 die("skip fnmatch() function is not available");
11 echo "*** Testing fnmatch() with file ***\n";
14 var_dump( fnmatch("*.php", $file) );
15 var_dump( fnmatch("*.p*p", $file) );
16 var_dump( fnmatch("*.p*", $file) );
17 var_dump( fnmatch("*", $file) );
18 var_dump( fnmatch("**", $file) );
19 var_dump( fnmatch("*.phpt", $file) );
21 echo "*** Testing fnmatch() with other than file ***\n";
22 var_dump( fnmatch(100, 100) );
23 var_dump( fnmatch("string", "string") );
24 var_dump( fnmatch(TRUE, TRUE) );
25 var_dump( fnmatch(FALSE, FALSE) );
30 *** Testing fnmatch() with file ***
37 *** Testing fnmatch() with other than file ***