diff options
author | Christian Schneider <schneider@search.ch> | 2020-12-02 10:21:08 +0100 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2020-12-03 09:43:15 +0100 |
commit | 7bc7a80445f2bb349891d3cccfef2d589c48607e (patch) | |
tree | 7cd0b4fd7b8a5c7b035e436862be10ffb0d1fe70 /ext/imap/php_imap.c | |
parent | 72cd5793beea990af7b13013f50e91a6ea45c728 (diff) | |
download | php-git-7bc7a80445f2bb349891d3cccfef2d589c48607e.tar.gz |
Make is_file() and friends return false when path contains 0-byte
These functions now return false silently:
is_writable, is_readable, is_executable, is_file, is_dir, is_link,
file_exists
These functions now throw a warning an return false (rather than
throwing a ValueError):
fileperms, fileinode, filesize, fileowner, filegroup, filetype,
fileatime, filemtime, filectime, lstat, stat
See also https://externals.io/message/112333.
Closes GH-6478.
Diffstat (limited to 'ext/imap/php_imap.c')
0 files changed, 0 insertions, 0 deletions