ID: 14161 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Reproducible crash Operating System: Redhat 6.2 PHP Version: 4.0.6 New Comment:
Forgot to mention, that the code finishes, that is the "end" string appears in the browser. You have to check the apache error log to see the segfault. Of course if this type of code is in a function, the script will die inside the function. Previous Comments: ------------------------------------------------------------------------ [2001-11-21 10:08:28] [EMAIL PROTECTED] <? $str='1,2,3,4,5,6,7,8,9'; echo $str[0][NO]; echo $str[0][NO]; echo $str[0][NO]; echo $str[0][NO]; echo $str[0][NO]; echo $str[0][NO]; echo $str[0][NO]; echo "end."; ?> check http://mail.ardents.hu:701/info.php3 for a phpinfo(); This piece of code causes Apache to segfault. It is a distilled version, the original error was a typo inside a complex function, hidden inside a loop. It took more than a day to find. PHP4.0.5 produced the same result. ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=14161&edit=1 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]