|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #29882 isset crashes on arrays
Submitted: 2004-08-29 13:07 UTC Modified: 2004-08-30 08:31 UTC
From: tomas_matousek at hotmail dot com Assigned: helly (profile)
Status: Closed Package: Reproducible crash
PHP Version: 4.3.8, 5.0.1 OS: *
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: tomas_matousek at hotmail dot com
New email:
PHP Version: OS:


 [2004-08-29 13:07 UTC] tomas_matousek at hotmail dot com
isset applied to operator [] with empty array key crashes

Reproduce code:
 $x = array();

Expected result:

Actual result:


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2004-08-29 15:27 UTC]
4.3.8 returns false which is wrong, too.
 [2004-08-29 15:42 UTC]
Fixed in 5, 4.3 still returns false.
 [2004-08-29 18:56 UTC]
This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
Thank you for the report, and for helping us make PHP better.
 [2004-08-29 18:57 UTC]
Correct versions. 4.3.9 and 5.0.2 will be correct.
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Wed Feb 08 00:05:48 2023 UTC