ID: 29370 Comment by: sbrown at truckstuffusa dot com Reported By: anthony dot debhian at only-for dot info Status: Open Bug Type: Reproducible crash Operating System: Windows XP PHP Version: 5.0.0 New Comment:
Confirmed this condition also exists on php 4.3.8 on Apache 2.0.50. Ran both segments of code given below. Each time the output of the script was good, but there was no access/error log generated by Apache. Previous Comments: ------------------------------------------------------------------------ [2004-08-09 11:12:16] mart at __no_spam__spin dot ee I got the crach with PHP 4.3.7 + Apache 1.3.31 + Linux and PHP 4.3.4 + Apache 2.0.47 + Linux RH9. It didn't work with PHP 4.3.5 + Apache 1.3.29 + Win2K. A bit minimized version of this crash code: <?php function funcfunc($array){ foreach($array as $key=>$value) { $src.=$key; } return $src; } function funcfunc2($array){ foreach($array['foo'] as $key=>$value) { } } $a['x']['y']=""; $array=funcfunc($a); funcfunc2($array); ?> ------------------------------------------------------------------------ [2004-08-07 23:56:17] skippy at zuavra dot net Nothing special happens on Red Hat 9.0 with Apache 1.3.27, PHP 4.3.4. Just the normal complaint about foreach(). ------------------------------------------------------------------------ [2004-07-26 10:16:17] John at wargan dot org For info: This bug does'nt work on apache 1.3.24 & php 4.2.5 under Redhat and slackware. It seems to only be avalaible on Windows...as often ;) ------------------------------------------------------------------------ [2004-07-26 10:16:17] John at wargan dot org For info: This bug does'nt work on apache 1.3.24 & php 4.2.5 under Redhat and slackware. It seems to only be avalaible on Windows...as often ;) John JEAN ------------------------------------------------------------------------ [2004-07-25 23:17:08] anthony dot debhian at only-for dot info Unhandled exception in Apache.exe (PHP5TS.DLL): 0xC0000005: Access Violation. Offset: 00007344 The error report display C:\DOCUME~1\Anthony\LOCALS~1\Temp\WER689.tmp.dir00\Apache.exe.mdmp C:\DOCUME~1\Anthony\LOCALS~1\Temp\WER689.tmp.dir00\appcompat.txt No more info on the error report :-\ sorry ------------------------------------------------------------------------ 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/29370 -- Edit this bug report at http://bugs.php.net/?id=29370&edit=1