mirror of
https://github.com/php/php-src.git
synced 2025-08-15 13:38:49 +02:00
Merge branch 'PHP-8.3' into PHP-8.4
* PHP-8.3: Fix test conflict between chmod_variation2 and file_variation5
This commit is contained in:
commit
e572e899bd
2 changed files with 2 additions and 2 deletions
|
@ -34,7 +34,7 @@ clearstatcache();
|
|||
printf("%o\n", fileperms($filepath) & PERMISSIONS_MASK);
|
||||
|
||||
echo "\nchmod() on a linked file\n";
|
||||
$linkname = "somelink";
|
||||
$linkname = "somelink2";
|
||||
var_dump(symlink($filepath, $linkname));
|
||||
var_dump(chmod($filepath, 0777));
|
||||
var_dump(chmod($linkname, 0755));
|
||||
|
|
|
@ -27,7 +27,7 @@ echo "\nfile() on a path containing .. with invalid directories\n";
|
|||
var_dump(file("./$test_dirname/bad_dir/../../$filename"));
|
||||
|
||||
echo "\nfile() on a linked file\n";
|
||||
$linkname = "somelink";
|
||||
$linkname = "somelink5";
|
||||
var_dump(symlink($filepath, $linkname));
|
||||
var_dump(file($linkname));
|
||||
var_dump(unlink($linkname));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue