Lines Matching refs:finfo_open
2 Test finfo_open() function : error functionality
9 echo "*** Testing finfo_open() : error functionality ***\n";
11 var_dump( finfo_open( FILEINFO_MIME, 'foobarfile' ) );
12 var_dump( finfo_open( PHP_INT_MAX - 1, $magicFile ) );
15 var_dump( finfo_open( 'foobar' ) );
28 *** Testing finfo_open() : error functionality ***
30 Warning: finfo_open(%sfoobarfile): Failed to open stream: No such file or directory in %sfinfo_open…
32 Warning: finfo_open(%sfoobarfile): Failed to open stream: No such file or directory in %sfinfo_open…
34 Warning: finfo_open(): Failed to load magic database at "%sfoobarfile" in %sfinfo_open_error.php on…
37 Warning: finfo_open(): using regular magic file `%smagic' in %sfinfo_open_error.php on line %d
39 finfo_open(): Argument #1 ($flags) must be of type int, string given