#31364 [Opn->Bgs]: aaaaa

From: Date: Fri, 31 Dec 2004 11:20:04 +0000
Subject: #31364 [Opn->Bgs]: aaaaa
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-71351@lists.php.net to get a copy of this message
ID: 31364 Updated by: derick@php.net Reported By: hoffmann at btc dot com dot tw -Status: Open +Status: Bogus Bug Type: Zlib Related Operating System: redhat9 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. And search the bugsystem first! This is number 17 or so. Previous Comments: ------------------------------------------------------------------------ [2004-12-31 09:24:44] hoffmann at btc dot com dot tw Description: ------------ diff php-4.3.8 php-4.3.10 by foreach function Reproduce code: --------------- <? //php-4.3.8 $a="1,2,3,4,5,6"; foreach(explode(",",$a) AS $k) { echo "$k\n"; } ?> result: 1 2 3 4 5 6 Expected result: ---------------- 1 2 3 4 5 6 Actual result: -------------- <? //php-4.3.10 $a="1,2,3,4,5,6"; foreach(explode(",",$a) AS $k) { echo "$k\n"; } ?> result: array array array array array array ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=31364&edit=1

« previous php.bugs (#71351) next »