ID:               31251
 User updated by:  giovanni at giacobbi dot net
 Reported By:      giovanni at giacobbi dot net
 Status:           Bogus
 Bug Type:         Unknown/Other Function
 Operating System: Linux
 PHP Version:      4.3.10
 New Comment:

I KNOW that, but when you provide a valuable software you also
"promise" to proprietary vendors that you won't change the underlying
infrastructure. This is the purpose of stable and frozen branches.

Is it possible to have a REAL BUGFIX ONLY branch of PHP 4.3?


Previous Comments:
------------------------------------------------------------------------

[2004-12-22 18:30:25] [EMAIL PROTECTED]

The foreach bug is ONLY caused due to an old Zend Optimizer. Upgrading
to a newer version fixes the problem, this is NOT a PHP bug.

------------------------------------------------------------------------

[2004-12-22 18:23:06] [EMAIL PROTECTED]

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.

What the hell do you mean by that? It's not *our* job to keep external
stuff being compatible with PHP. If we want to increase performance, we
do that. Other people'll have to adjust their proprietary software to
that. Period.

------------------------------------------------------------------------

[2004-12-22 18:23:00] [EMAIL PROTECTED]

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.



------------------------------------------------------------------------

[2004-12-22 17:47:14] giovanni at giacobbi dot net

Description:
------------
I've been a PHP developer for years and I don't remember such a big bug
introduced in a stable production release.

The foreach() patch backported from PHP5 broke down many sites that I
run and which use proprietary optimizers.

You should definitely remember what "stable" and "production" words
mean, and keep fun for PHP5.

P.S.: The bug is indeed in the optimizer, but this doesn't allow you to
make these kind of changes.


Reproduce code:
---------------
this is just explanative, the bug can be shown only with the
proprietary optimizer.

$a = array(array("a", "b"), array("a", "b"));

foreach ($a as $ax) { var_dump($a); }

Expected result:
----------------
obvious.

Actual result:
--------------
scratched array.


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=31251&edit=1

Reply via email to