PHP 4.0 Bug #10448 Updated: PHP core dumps after array_init

From: Date: Fri, 04 May 2001 23:53:27 +0000
Subject: PHP 4.0 Bug #10448 Updated: PHP core dumps after array_init
Groups: php.dev 
Request: Send a blank email to php-dev+get-53975@lists.php.net to get a copy of this message
ID: 10448 User Update by: bfoddy@mn.mediaone.net Old-Status: Open Status: Duplicate Bug Type: Reproduceable crash Description: PHP core dumps after array_init I believe the root cause of this is a dupe of 2220. I used a DL module with debugging turned on. Previous Comments: --------------------------------------------------------------------------- [2001-04-22 23:46:33] bfoddy@mn.mediaone.net I've found that any PHP function can cause a core dump (Seg Fault) if it performs an array_init (return_value) function, and then subsequently returns with RETURN_FALSE or RETURN_TRUE without adding any values to the array. Perhaps occurs under other conditions also. This can easily occur in code if after the array_init call the program encounters a to which it wants to return ERROR for. Have I violated any Zend don't-do's by this? --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=10448

« previous php.dev (#53975) next »