#39007 [Opn->Bgs]: Crash while writing to nonexistent element
| From: | johannes@php.net | Date: | Sun, 01 Oct 2006 15:17:25 +0000 |
| Subject: | #39007 [Opn->Bgs]: Crash while writing to nonexistent element | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-102932@lists.php.net to get a copy of this message | ||
ID: 39007
Updated by: johannes@php.net
Reported By: ladislav dot prosek at matfyz dot cz
-Status: Open
+Status: Bogus
Bug Type: SimpleXML related
Operating System: Windows XP Pro SP2
PHP Version: 5.1.6
New Comment:
Already fixed -> report was bogus
Previous Comments:
------------------------------------------------------------------------
[2006-10-01 14:20:34] ladislav dot prosek at matfyz dot cz
Works OK with the snapshot. The "Node no longer exists" warning seems
quite appropriate. Thanks and sorry for reporting something that is
already fixed.
------------------------------------------------------------------------
[2006-10-01 14:01:49] bjori@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php5.2-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5.2-win32-latest.zip
Can't reproduce
------------------------------------------------------------------------
[2006-10-01 10:39:35] ladislav dot prosek at matfyz dot cz
Description:
------------
The following piece of code crashes PHP CLI.
Reproduce code:
---------------
<?
$x = new SimpleXMLElement("<root/>");
$y = $x->whatever;
$y->z["a"] = "b";
?>
Expected result:
----------------
You decide ;)
Actual result:
--------------
* CRASH *
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=39007&edit=1