File tree 1 file changed +16
-10
lines changed
1 file changed +16
-10
lines changed Original file line number Diff line number Diff line change @@ -49,11 +49,17 @@ function stat_fn( $filename ) {
49
49
50
50
echo "*** Testing fileattime(), filemtime(), filectime() & touch() : usage variations *** \n" ;
51
51
echo "\n*** testing touch *** \n" ;
52
- var_dump (touch (NULL ));
53
- var_dump (touch (false ));
54
- var_dump (touch ('' ));
55
- var_dump (touch (' ' ));
56
- var_dump (touch ('| ' ));
52
+ $ a = touch (NULL );
53
+ $ b = touch (false );
54
+ $ c = touch ('' );
55
+ $ d = touch (' ' );
56
+ $ e = touch ('| ' );
57
+
58
+ var_dump ($ a );
59
+ var_dump ($ b );
60
+ var_dump ($ c );
61
+ var_dump ($ d );
62
+ var_dump ($ e );
57
63
58
64
echo "\n*** testing file info *** " ;
59
65
stat_fn (NULL );
@@ -72,13 +78,13 @@ echo "Done";
72
78
73
79
*** testing touch ***
74
80
75
- Warning: touch(): Unable to create file because %s in %s on line %d
76
- bool(false)
81
+ Warning: touch(): Unable to create file because No such file or directory in %s on line %d
77
82
78
- Warning: touch(): Unable to create file because %s in %s on line %d
79
- bool(false)
83
+ Warning: touch(): Unable to create file because No such file or directory in %s on line %d
80
84
81
- Warning: touch(): Unable to create file because %s in %s on line %d
85
+ Warning: touch(): Unable to create file because No such file or directory in %s on line %d
86
+ bool(false)
87
+ bool(false)
82
88
bool(false)
83
89
bool(true)
84
90
bool(true)
You can’t perform that action at this time.
0 commit comments