Bug #14063: unset($array[]) causes apache 1.3.20 to coredump
| From: | pgl at instinct dot org | Date: | Wed, 14 Nov 2001 22:20:04 +0000 |
| Subject: | Bug #14063: unset($array[]) causes apache 1.3.20 to coredump | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-70491@lists.php.net to get a copy of this message | ||
From: pgl@instinct.org
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.
--
Edit bug report at: http://bugs.php.net/?id=14063&edit=1