Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions UPGRADING
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ PHP 8.3 UPGRADE NOTES
. Added posix_sysconf call to get runtime informations.
. Added posix_pathconf call to get configuration value from a directory/file.
. Added posix_fpathconf call to get configuration value from a file descriptor.
. Added posix_eaccess call to check the effective user id's permission for a path.

- Random:
. Added Randomizer::getBytesFromString().
Expand Down
2 changes: 1 addition & 1 deletion ext/posix/posix.c
Original file line number Diff line number Diff line change
Expand Up @@ -729,7 +729,7 @@ PHP_FUNCTION(posix_eaccess)

path = expand_filepath(filename, NULL);
if (!path) {
zend_argument_value_error(1, "must not be empty");
zend_argument_value_error(1, "cannot be empty");
RETURN_THROWS();
}

Expand Down
2 changes: 1 addition & 1 deletion ext/posix/tests/posix_eaccess.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ try {

?>
--EXPECT--
posix_eaccess(): Argument #1 ($filename) must not be empty
posix_eaccess(): Argument #1 ($filename) cannot be empty