--TEST-- Test finfo_file() function : basic functionality --EXTENSIONS-- fileinfo --FILE-- getMessage() . \PHP_EOL; } ?> --EXPECT-- *** Testing finfo_file() : basic functionality *** string(28) "text/x-php; charset=us-ascii" string(22) "PHP script, ASCII text" string(29) "text/x-file; charset=us-ascii" finfo_file(): Argument #2 ($filename) must not contain any null bytes