note 120520 deleted from function.include-once by salathe
| From: | salathe@php.net | Date: | Mon, 21 Sep 2020 14:41:53 +0000 |
| Subject: | note 120520 deleted from function.include-once by salathe | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-215272@lists.php.net to get a copy of this message | ||
Note Submitter: Greg McCarthy
----
In response to what a user wrote 8 years ago regarding include_once being ran two times in a row on
a non-existent file:
Perhaps 8 years ago that was the case, however I have tested in PHP 5.6, and I get this:
$result = include_once 'fakefile.php'; // $result = false
$result = include_once 'fakefile.php' // $result is still false