File tree Expand file tree Collapse file tree 3 files changed +3
-2
lines changed
Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -142,6 +142,7 @@ PHP 8.3 UPGRADE NOTES
142142 . Added posix_sysconf call to get runtime informations.
143143 . Added posix_pathconf call to get configuration value from a directory/file.
144144 . Added posix_fpathconf call to get configuration value from a file descriptor.
145+ . Added posix_eaccess call to check the effective user id's permission for a path.
145146
146147- Random:
147148 . Added Randomizer::getBytesFromString().
Original file line number Diff line number Diff line change @@ -729,7 +729,7 @@ PHP_FUNCTION(posix_eaccess)
729729
730730 path = expand_filepath (filename , NULL );
731731 if (!path ) {
732- zend_argument_value_error (1 , "must not be empty" );
732+ zend_argument_value_error (1 , "cannot be empty" );
733733 RETURN_THROWS ();
734734 }
735735
Original file line number Diff line number Diff line change 1717
1818?>
1919--EXPECT--
20- posix_eaccess(): Argument #1 ($filename) must not be empty
20+ posix_eaccess(): Argument #1 ($filename) cannot be empty
You can’t perform that action at this time.
0 commit comments