note 115837 added to function.include
| From: | Anon | Date: | Thu, 02 Oct 2014 02:39:33 +0000 |
| Subject: | note 115837 added to function.include | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-200561@lists.php.net to get a copy of this message | ||
Note that if you have multiple versions of PHP, your included code may be parsed by a different one
to the main file:
e.g.
/bin/php (PHP4)
and
/opt/local/bin/php56 (PHP5.6)
if main.php is
<? include classes.php;
?>
and is invoked with
/opt/local/bin/php56 main.php
then classes.php may well be parsed with PHP4, giving syntax errors etc., depending on $PATH in your
setup.
----
Server IP: 87.124.126.49
Probable Submitter: 2.26.34.108
----
Manual Page -- http://php.net/manual/en/function.include.php
Edit -- https://master.php.net/note/edit/115837
Del: integrated -- https://master.php.net/note/delete/115837/integrated
Del: useless -- https://master.php.net/note/delete/115837/useless
Del: bad code -- https://master.php.net/note/delete/115837/bad+code
Del: spam -- https://master.php.net/note/delete/115837/spam
Del: non-english -- https://master.php.net/note/delete/115837/non-english
Del: in docs -- https://master.php.net/note/delete/115837/in+docs
Del: other reasons-- https://master.php.net/note/delete/115837
Reject -- https://master.php.net/note/reject/115837
Search -- https://master.php.net/manage/user-notes.php