#39007 [Opn->Fbk]: Crash while writing to nonexistent element
| From: | bjori@php.net | Date: | Sun, 01 Oct 2006 14:01:49 +0000 |
| Subject: | #39007 [Opn->Fbk]: Crash while writing to nonexistent element | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-102929@lists.php.net to get a copy of this message | ||
ID: 39007
Updated by: bjori@php.net
Reported By: ladislav dot prosek at matfyz dot cz
-Status: Open
+Status: Feedback
Bug Type: SimpleXML related
Operating System: Windows XP Pro SP2
PHP Version: 5.1.6
New Comment:
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
Previous Comments:
------------------------------------------------------------------------
[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