diff options
Diffstat (limited to 'ext/standard/tests/file/is_file_variation4.phpt')
-rw-r--r-- | ext/standard/tests/file/is_file_variation4.phpt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/standard/tests/file/is_file_variation4.phpt b/ext/standard/tests/file/is_file_variation4.phpt index 85bc4252c1..f6921d1d87 100644 --- a/ext/standard/tests/file/is_file_variation4.phpt +++ b/ext/standard/tests/file/is_file_variation4.phpt @@ -35,7 +35,7 @@ foreach($files_arr as $file) { echo "- Iteration $count -\n"; try { var_dump( is_file( $file_path."/".$file ) ); - } catch (TypeError $e) { + } catch (Error $e) { echo $e->getMessage(), "\n"; } clearstatcache(); @@ -66,8 +66,8 @@ bool(false) - Iteration 6 - bool(false) - Iteration 7 - -is_file(): Argument #1 ($filename) must be a valid path, string given +is_file(): Argument #1 ($filename) must not contain any null bytes - Iteration 8 - -is_file(): Argument #1 ($filename) must be a valid path, string given +is_file(): Argument #1 ($filename) must not contain any null bytes *** Done *** |