diff options
Diffstat (limited to 'ext/standard/tests/file/005_variation2.phpt')
-rw-r--r-- | ext/standard/tests/file/005_variation2.phpt | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/ext/standard/tests/file/005_variation2.phpt b/ext/standard/tests/file/005_variation2.phpt index 5a878a687b..55d1d66660 100644 --- a/ext/standard/tests/file/005_variation2.phpt +++ b/ext/standard/tests/file/005_variation2.phpt @@ -28,7 +28,6 @@ function stat_fn( $filename ) { echo "*** Testing fileattime(), filemtime(), filectime() & touch() : usage variations ***\n"; echo "\n*** testing touch ***\n"; -$a = touch(NULL); $b = touch(false); $c = touch(''); $d = touch(' '); @@ -41,7 +40,6 @@ var_dump($d); var_dump($e); echo "\n*** testing file info ***"; -stat_fn(NULL); stat_fn(false); stat_fn(''); stat_fn(' '); @@ -56,7 +54,9 @@ echo "Done"; *** Testing fileattime(), filemtime(), filectime() & touch() : usage variations *** *** testing touch *** -bool(false) + +Warning: Undefined variable $a in %s on line %d +NULL bool(false) bool(false) bool(true) @@ -73,11 +73,6 @@ bool(true) -- File modification time is => -- inode change time is => --- File '' -- --- File access time is => --- File modification time is => --- inode change time is => - -- File ' ' -- -- File access time is => %d -- File modification time is => %d |