note 39043 modified in function.include by tomsommer
| From: | tomsommer@php.net | Date: | Sat, 13 Mar 2004 20:24:33 +0000 |
| Subject: | note 39043 modified in function.include by tomsommer | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-66772@lists.php.net to get a copy of this message | ||
<?php
@include('/foo') OR die ("bar"); # <- Won't work
@(include('/foo')) OR die ("bar"); # <- Works
?>
so "or" have prority on "include"
--was--
@include('/foo') OR die ("bar"); <- bug (include try to include 1, result
of "OR"
@(include('/foo')) OR die ("bar"); <- no bug.
so "or" have prority on "include"
http://www.php.net/manual/en/function.include.php