ID: 24345 Updated by: [EMAIL PROTECTED] Reported By: legion at altlinux dot ru -Status: Closed +Status: Assigned Bug Type: Scripting Engine problem Operating System: ALTLinux (2.4.21rc1) PHP Version: 4.3.3RC1 -Assigned To: +Assigned To: iliaa New Comment:
There maybe a solution for this bug for 4.X, however it needs testing. Once it has been validated or rejected final decision about the status of this bug will be made. Previous Comments: ------------------------------------------------------------------------ [2003-06-26 09:02:26] [EMAIL PROTECTED] This bug has been fixed in CVS. In case this was a PHP problem, snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. In case this was a documentation problem, the fix will show up soon at http://www.php.net/manual/. In case this was a PHP.net website problem, the change will show up on the PHP.net site and on the mirror sites in short time. Thank you for the report, and for helping us make PHP better. This is fixed in PHP-5.0.0-dev and can not be backported to PHP 4.3.3-dev due to limitations in the engine. ------------------------------------------------------------------------ [2003-06-26 08:48:58] legion at altlinux dot ru Description: ------------ php get seg. fault if i try to use none exists array element. Php version: PHP 4.3.3RC2-dev (cvs snapshot 20030624) Reproduce code: --------------- <? $s = "a|b|c|d"; for ($i = 0; $i < 1000; $i++) { for ($j = 0; $j < 1000; $j++) { $a = split("\|", $s); $h[$i]['date'][$j]['count'] = $a[4]; } } ?> Expected result: ---------------- Successfully finished. Actual result: -------------- Segmentation fault ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=24345&edit=1
