--TEST-- Test file_get_contents() function : variation - obscure filenames --CREDITS-- Dave Kelsey --SKIPIF-- --CONFLICTS-- obscure_filename --FILE-- getMessage(), "\n"; } } echo "\n*** Done ***\n"; ?> --EXPECTF-- *** Testing file_get_contents() : variation *** -- Iteration 0 -- Warning: file_get_contents(-1): Failed to open stream: No such file or directory in %s on line %d bool(false) -- Iteration 1 -- Warning: file_get_contents(1): Failed to open stream: No such file or directory in %s on line %d bool(false) -- Iteration 2 -- ValueError: Path cannot be empty -- Iteration 3 -- ValueError: Path cannot be empty -- Iteration 4 -- Warning: file_get_contents( ): Failed to open stream: No such file or directory in %s on line %d bool(false) -- Iteration 5 -- ValueError: file_get_contents(): Argument #1 ($filename) must not contain any null bytes -- Iteration 6 -- TypeError: file_get_contents(): Argument #1 ($filename) must be of type string, array given -- Iteration 7 -- Warning: file_get_contents(/no/such/file/dir): Failed to open stream: No such file or directory in %s on line %d bool(false) -- Iteration 8 -- Warning: file_get_contents(php/php): Failed to open stream: No such file or directory in %s on line %d bool(false) *** Done ***