Reproduced on 4.1.0RC2 and 4.2.0 CVS.
--
Yasuo Ohgaki
[EMAIL PROTECTED] wrote:
> From: [EMAIL PROTECTED]
> Operating system: FreeBSD 4.4-STABLE
> PHP version: 4.0CVS-2001-11-14
> PHP Bug Type: Reproducible crash
> Bug description: unset($array[]) causes apache 1.3.20 to coredump
>
> I'm not actually using version 4.0CVS-2001-11-14, but I updated 2001-11-08
> (6 days ago) so I assume it's still in the source as no bugs reports detail
> this:
>
> [mini:pgl]:~ $ php -v
> 4.2.0-dev
> [mini:pgl]:~ $ cat ./test.php
> #!/usr/local/bin/php -q
> <?
> $a = array('1', '2');
> unset($a[]);
> ?>
>
> [mini:pgl]:~ $ ./test.php
> Segmentation fault (core dumped)
>
> regards,
>
> Peter Lowe.
>
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]