Bug in 4.1.0; _SESSION
From: Andreas Aderhold Date: Fri, 21 Dec 2001 12:59:34 +0000 Subject: Bug in 4.1.0; _SESSION Groups: php.dev Request: Send a blank email to php-dev+get-74692@lists.php.net to get a copy of this message
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
Thread (5 messages)
| « previous | php.dev (#74692) | next » |
|---|