note 117085 deleted from function.require by tularis
| From: | tularis@php.net | Date: | Mon, 13 Apr 2015 23:23:46 +0000 |
| Subject: | note 117085 deleted from function.require by tularis | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-202254@lists.php.net to get a copy of this message | ||
Note Submitter: volter925 at gmail dot com
----
If you're trying to use require/include in combination with and/&& and exit/die (to
require/include file and then stop the execution of script in one line):
<?php require $file and exit; ?>
Don't forget to put parentheses around require/include statement:
<?php (require $file) and exit; ?>
Otherwise, $file wouldn't be executed for some reason.