#31218 [Opn->Bgs]: foreach() problem

From: Date: Tue, 21 Dec 2004 04:41:42 +0000
Subject: #31218 [Opn->Bgs]: foreach() problem
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-70766@lists.php.net to get a copy of this message
ID: 31218 Updated by: magnus@php.net Reported By: ych at tcte dot com dot cn -Status: Open +Status: Bogus Bug Type: Reproducible crash Operating System: linux PHP Version: 4.3.10 New Comment: Do not file bugs when you have Zend extensions (zend_extension=) loaded. Examples are Zend Optimizer, Zend Debugger, Turck MM Cache, APC, Xdebug and ionCube loader. These extensions often modify engine behavior which is not related to PHP itself. Previous Comments: ------------------------------------------------------------------------ [2004-12-21 04:45:03] ych at tcte dot com dot cn Description: ------------ while use phpmyadmin2.6.0-pl3 with php-4.3.10, phpmyadmin say "Illegal offset type in /phpmyadmin-2.6.0-pl3/libraries/grab_globals.lib.php on line 54 ", their is no problem with 4.3.9 or 5.0.3. grab_globals.lib.php: 53: foreach ($server_vars as $current) { 54: if (isset($_SERVER[$current])) { 55: $$current = $_SERVER[$current]; 56: } elseif (!isset($$current)) { 57: $$current = ''; 58: } 59: } I think maybe something wrong with foreach(), it has been changed in php-4.3.10(I see it in ChangeLog) ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=31218&edit=1

« previous php.bugs (#70766) next »