ID:               16149
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Open
+Status:           Feedback
 Bug Type:         Arrays related
 Operating System: redhat 6.2
 PHP Version:      4.1.2
 New Comment:

To properly diagnose this bug, we need a backtrace to see what is
happening behind the scenes. To find out how to generate a backtrace,
please read http://bugs.php.net/bugs-generating-backtrace.php

Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open".




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

[2002-03-18 13:13:50] [EMAIL PROTECTED]

try the follow code, it works on 4.0.6 but "Segmentation fault (core
dumped)" on CGI version and give no error message (and appear to keep
executing the code few more times on other httpd child process too) on
dynamic apache module version.

i've memory limited to 8M, and it's fine when for lopp as "$i<8000".

<?php
$file = "-----";
for ($i = 0; $i<9000 ; $i++) {
     $result_array["one"][$i] = $file;
     $result_array["two"][$i] = $file;
     $result_array["three"][$i] = $file;
     $result_array["four"][$i] = $file;
     $result_array["five"][$i] = $file;
     $result_array["six"][$i] = $file;
     $result_array["seven"][$i] = $file;
     $result_array["eight"][$i] = $file;

}
echo "done<BR>";
?>

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


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

Reply via email to