note 71118 deleted from function.file-exists by bobby
| From: | bobby@php.net | Date: | Mon, 13 Nov 2006 16:12:25 +0000 |
| Subject: | note 71118 deleted from function.file-exists by bobby | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-119687@lists.php.net to get a copy of this message | ||
Note Submitter: egingell at sisna dot com
----
FYI:
<?
if (file_exisis('some/path')) {
echo 'true';
}
?>
is functionally identical to
<?
if (is_file('some/path') || is_dir('some/path')) {
echo 'true';
}
?>