ID:               30496
 User updated by:  esartoni at omniaglobal dot net
 Reported By:      esartoni at omniaglobal dot net
 Status:           Bogus
 Bug Type:         Arrays related
 Operating System: Linux
 PHP Version:      4CVS-2004-10-20 (stable)
 New Comment:

I've found the problem. The bug appears only when using Zend Optimizer
v2.5.5
Disabling the optimizer makes the code working.

P.S.: This bug report is not bogus. :) Zend Optimizer is bogus!


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

[2004-10-20 18:10:57] [EMAIL PROTECTED]

Works fine with latest snapshot (and other versions too).

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

[2004-10-20 17:58:38] mserra at consrav dot net

$a=array(1,2,3,4,5);
foreach($a as $value) {
  echo $value."\n";
}

OUTPUT:
Array
Array
Array
Array
Array

EXPECTED:
1
2
3
4
5

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

[2004-10-20 16:00:17] esartoni at omniaglobal dot net

I'm sorry derick but here with v4.3.10-dev doesn't work!

I've also tried with Solaris (SPARC) with same results.

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

[2004-10-20 15:34:28] [EMAIL PROTECTED]

Works fine here.

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

[2004-10-20 15:19:33] esartoni at omniaglobal dot net

With PHP v4.3.9 works ok!

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

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/30496

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

Reply via email to