note 115495 added to function.include
| From: | ToonSpin | Date: | Tue, 05 Aug 2014 11:37:51 +0000 |
| Subject: | note 115495 added to function.include | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-200118@lists.php.net to get a copy of this message | ||
In PHP 4, for some reason, in certain circumstances, include() may take an extremely long time
(several minutes) to exit from the included script and return to the including script.
I have observed this behavior on a FreeBSD server with PHP 4.4.5, but have not been able to pinpoint
the exact way to reproduce this, and I don't know if this behavior is specific to the setup my
script runs in.
Anyway, in case anyone else runs into this problem, the solution is simple: omit any parentheses
around the included script name.
----
Server IP: 72.52.91.14
Probable Submitter: 95.97.170.76
----
Manual Page -- http://php.net/manual/en/function.include.php
Edit -- https://master.php.net/note/edit/115495
Del: integrated -- https://master.php.net/note/delete/115495/integrated
Del: useless -- https://master.php.net/note/delete/115495/useless
Del: bad code -- https://master.php.net/note/delete/115495/bad+code
Del: spam -- https://master.php.net/note/delete/115495/spam
Del: non-english -- https://master.php.net/note/delete/115495/non-english
Del: in docs -- https://master.php.net/note/delete/115495/in+docs
Del: other reasons-- https://master.php.net/note/delete/115495
Reject -- https://master.php.net/note/reject/115495
Search -- https://master.php.net/manage/user-notes.php