From:             [EMAIL PROTECTED]
Operating system: Linux, Win2K
PHP version:      4.2.3
PHP Bug Type:     Reproducible crash
Bug description:  Segmentation fault when adding array element

<?php

  $arr[-2] = 'a';
  $arr[1] = 'b';

  $arr[] = 'c';  // Gets index -1
  $arr[] = 'd';  // Gets index 0
  $arr[] = 'e';  // Segmentation fault!

?>
-- 
Edit bug report at http://bugs.php.net/?id=21096&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=21096&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=21096&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=21096&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=21096&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=21096&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=21096&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=21096&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=21096&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=21096&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=21096&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=21096&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=21096&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=21096&r=isapi

Reply via email to