Re: Bug in 4.1.0; _SESSION
| From: | Zeev Suraski | Date: | Fri, 21 Dec 2001 14:17:59 +0000 |
| Subject: | Re: Bug in 4.1.0; _SESSION | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-74695@lists.php.net to get a copy of this message | ||
Can you provide a full code snippet that hangs? This code snippet doesn't appear to hang, are you running it in a function context?
Zeev
At 14:59 21/12/2001, Andreas Aderhold wrote:
Hi All, found a bug this one will cause a infinte loop in 4.1: <?php global $_SESSION; // this will cause a infinite loop session_start(); phpinfo() ?> Te docs say that $_SESSION is auto-global in 4.1.0 but it does not say, that the explicit global declaration is not allowed. However I would like to use the explicit global declaration for improved code readbility. Andi -- www.binarycloud.com -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net For additional commands, e-mail: php-dev-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net