|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #36303 foreach on error_zval produces segfault
Submitted: 2006-02-06 12:37 UTC Modified: 2006-02-06 12:56 UTC
From: dmitry at zend dot com Assigned: dmitry (profile)
Status: Closed Package: Scripting Engine problem
PHP Version: 5CVS-2006-02-06 (CVS) OS: *
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 this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: dmitry at zend dot com
New email:
PHP Version: OS:


 [2006-02-06 12:37 UTC] dmitry at zend dot com
PHP crashes on the following code:

Reproduce code:
foreach($x->a->b as $v) {
echo "ok\n";

Expected result:

Actual result:
Segmentation fault


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2006-02-06 12:56 UTC]
Fixed in CVS HEAD and PHP_5_1.
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Sat Dec 02 08:01:29 2023 UTC