note 128454 added to function.is-dir
| From: | musicmaster at main dot php dot net | Date: | Sun, 07 May 2023 07:01:12 +0000 |
| Subject: | note 128454 added to function.is-dir | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-220410@lists.php.net to get a copy of this message | ||
is_dir() doesn't work with a directory that has the name "0" (a single zero). Neither
does realpath().
This is my experience with PHP 7.4.
----
Server IP: 45.112.84.4
Probable Submitter: 80.90.13.130 (proxied: 2001:1c00:2e23:1a00:c26:70:c892:ab89)
----
Manual Page -- https://php.net/manual/en/function.is-dir.php
Edit -- https://main.php.net/note/edit/128454
Del: integrated -- https://main.php.net/note/delete/128454/integrated
Del: useless -- https://main.php.net/note/delete/128454/useless
Del: bad code -- https://main.php.net/note/delete/128454/bad+code
Del: spam -- https://main.php.net/note/delete/128454/spam
Del: non-english -- https://main.php.net/note/delete/128454/non-english
Del: in docs -- https://main.php.net/note/delete/128454/in+docs
Del: other reasons-- https://main.php.net/note/delete/128454
Reject -- https://main.php.net/note/reject/128454
Search -- https://main.php.net/manage/user-notes.php