ID: 24345 Updated by: [EMAIL PROTECTED] Reported By: legion at altlinux dot ru -Status: Open +Status: Closed Bug Type: Scripting Engine problem Operating System: ALTLinux (2.4.21rc1) PHP Version: 4.3.3RC1 New Comment:
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. Previous Comments: ------------------------------------------------------------------------ [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
