File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ clearstatcache();
34
34
printf ("%o \n" , fileperms ($ filepath ) & PERMISSIONS_MASK );
35
35
36
36
echo "\nchmod() on a linked file \n" ;
37
- $ linkname = "somelink " ;
37
+ $ linkname = "somelink2 " ;
38
38
var_dump (symlink ($ filepath , $ linkname ));
39
39
var_dump (chmod ($ filepath , 0777 ));
40
40
var_dump (chmod ($ linkname , 0755 ));
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ echo "\nfile() on a path containing .. with invalid directories\n";
27
27
var_dump (file ("./ $ test_dirname/bad_dir/../../ $ filename " ));
28
28
29
29
echo "\nfile() on a linked file \n" ;
30
- $ linkname = "somelink " ;
30
+ $ linkname = "somelink5 " ;
31
31
var_dump (symlink ($ filepath , $ linkname ));
32
32
var_dump (file ($ linkname ));
33
33
var_dump (unlink ($ linkname ));
You can’t perform that action at this time.
0 commit comments