ID: 10501 Updated by: bbonev Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: Unknown/Other Function PHP Version: 4.0.4pl1 Assigned To: Comments: this is fixed in CVS, wait for 4.0.5 $ ./php <?php $result = array_sum($test); ?> X-Powered-By: PHP/4.0.5RC6 Content-type: text/html <br> <b>Warning</b>: The argument to array_sum() should be an array in <b>-</b> on line <b>3</b><br> Previous Comments: --------------------------------------------------------------------------- [2001-04-25 20:12:39] [EMAIL PROTECTED] <?php $result = array_sum($test); ?> causes a seg fault because $test is not set. no error is given in the log files or on screen. only apache's error_log shows a segfault. Chris Lee [EMAIL PROTECTED] --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=10501&edit=2 -- 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]