note 86271 added to function.is-file
| From: | rigrace at swbell dot net | Date: | Fri, 10 Oct 2008 04:48:17 +0000 |
| Subject: | note 86271 added to function.is-file | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-145238@lists.php.net to get a copy of this message | ||
It took me a day or so to figure out that is_file() actually looks for a valid $ existing path/file
in string form. It is not performing a pattern-like test on the parameter given. Its testing to see
if the given parameter leads to a specific existing 'name.ext' or other (non-directory)
file type object.
----
Server IP: 208.69.120.35
Probable Submitter: 76.205.1.178
----
Manual Page -- http://www.php.net/manual/en/function.is-file.php
Edit -- https://master.php.net/note/edit/86271
Del: integrated -- https://master.php.net/note/delete/86271/integrated
Del: useless -- https://master.php.net/note/delete/86271/useless
Del: bad code -- https://master.php.net/note/delete/86271/bad+code
Del: spam -- https://master.php.net/note/delete/86271/spam
Del: non-english -- https://master.php.net/note/delete/86271/non-english
Del: in docs -- https://master.php.net/note/delete/86271/in+docs
Del: other reasons-- https://master.php.net/note/delete/86271
Reject -- https://master.php.net/note/reject/86271
Search -- https://master.php.net/manage/user-notes.php