php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #14063 unset($array[]) causes apache 1.3.20 to coredump
Submitted: 2001-11-14 17:20 UTC Modified: 2001-11-15 18:39 UTC
From: pgl at instinct dot org Assigned:
Status: Closed Package: Scripting Engine problem
PHP Version: 4.0CVS-2001-11-14 OS: FreeBSD 4.4-STABLE
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: pgl at instinct dot org
New email:
PHP Version: OS:

 

 [2001-11-14 17:20 UTC] pgl at instinct dot org
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.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-11-15 02:09 UTC] mfischer@php.net
Nice thingy :) Also reproduced with 4.0.6 on Linux.

 [2001-11-15 02:17 UTC] derick@php.net
Reproduced with latest CVS version.
 [2001-11-15 02:36 UTC] derick@php.net
Changing type to 'Scripting Engine problem' as this is a bug in the Zend Engine AFAICS.

Derick
 [2001-11-15 18:39 UTC] mfischer@php.net
Fixed in CVS.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue Jul 01 22:01:36 2025 UTC