mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01: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:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user