note 64562 deleted from function.file-get-contents by nlopess
| From: | nlopess@php.net | Date: | Tue, 18 Apr 2006 19:46:52 +0000 |
| Subject: | note 64562 deleted from function.file-get-contents by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-108431@lists.php.net to get a copy of this message | ||
Note Submitter: anything at newb dot se
----
Note that the following will return false (even though the file exists and can be opened) since the
file is empty:
> touch file.ext
<?php
if (!$content = file_get_contents('file.ext'))
...
else
...
?>