|  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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
33 + 26 = ?
Subscribe to this entry?

 [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: Fri Dec 01 11:01:27 2023 UTC