ID: 29370 Comment by: ahtin at hot dot ee 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:
i got the same obscure crash with php 5.0 + apache 2.0.48 on win98se with this code snippet: --------- <? $x=1; while($s2=$this->db_fetch_row($s)) { $x['birthday'].=$this->parse_tpl("k_links",$s2); } ?> -------- no errors, just apache crash Previous Comments: ------------------------------------------------------------------------ [2004-07-25 03:34:02] anthony dot debhian at only-for dot info Description: ------------ The code crash apache.exe with php-5.0.0/apache-1.3.31 and php-4.3.3/apache-1.3.27 (2 pc, 2 config) The GET request does not appear in access.log and error.log. this bug's odd, perhaps not important, but i send you feedback anyway. Reproduce code: --------------- <? function funcfunc($array,$space="") { foreach($array as $key=>$value) { if(is_array($array[$key])) { $src.=$key; } } return $src; } function funcfunc2($array,$test) { foreach($array['test'] as $key=>$value) { } return $array; } $test['lol']['test1']="test1"; $test['lol']['test2']="test2"; $array=funcfunc($test); $array=funcfunc2($array,"test"); ?> Expected result: ---------------- Just a fatal error. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=29370&edit=1