ID: 26487
Updated by: sniper@php.net
Reported By: friosa at pnpitalia dot it
-Status: Open
+Status: Feedback
Bug Type: Reproducible crash
Operating System: athlon suse linux 9
PHP Version: 5.0.0b2 (beta2)
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php5-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5-win32-latest.zip
Can not reproduce, I get this:
Notice: Undefined offset: 0 in test.php on line 3
Previous Comments:
------------------------------------------------------------------------
[2003-12-01 08:53:12] friosa at pnpitalia dot it
Description:
------------
crash on := assign to a non-existent array element
php 5.00 (beta2)
php 5.00 (200311291630)
hope that the example i easy enough, i'm not in condition now to put
here a back trace sorry :( i will try it later.
./configure
--prefix=/usr/local
--with-config-file-path=/etc/php5.ini
--disable-posix
--disable-session
--disable-tokenizer
--without-sqlite
--disable-cgi
--disable-shared
--enable-shared=no
--with-mysql
--with-mysql-sock=/var/lib/mysql/mysql.sock
--with-informix=/opt/informix
--with-libxml-dir=/pnp
--with-dom=/pnp
--with-dom-xslt=/pnp
--with-dom-exslt=/pnp
--enable-simplexml
--enable-pcntl
--enable-sigchild
--enable-mime-magic
--with-gnu-ld
--with-pcre-regex
--enable-ftp
[PHP Modules]
ctype
dom
ftp
informix
libxml
mysql
pcntl
pcre
simplexml
standard
xml
[Zend Modules]
Reproduce code:
---------------
#! /usr/local/bin/php
# try.php
<?php
$ar = array();
$ar[0] .= "pluto";
?>
./try.php
Segmentation fault
Expected result:
----------------
$ar[0] == "pluto";
OR
an error displayed
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=26487&edit=1