ID: 35785
Updated by: sniper@php.net
Reported By: TheFFF at gmail dot com
-Status: Open
+Status: Feedback
Bug Type: SimpleXML related
Operating System: Windows Xp Pro
PHP Version: 5.1.1
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php5.1-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5.1-win32-latest.zip
Previous Comments:
------------------------------------------------------------------------
[2005-12-23 12:14:24] TheFFF at gmail dot com
Description:
------------
trying to set some values
Reproduce code:
---------------
<?php
$options["database"] = "xmldatabase";
$x = simplexml_load_string("<root></root>");
$count = count($x -> posts) + 1;
$x -> bla -> posts[$count] -> name = $_POST["name"];
echo $x -> asXML();
?>
also getting the error with simplexml_load_file();
Expected result:
----------------
bla dosen't exist so some kinda error
Actual result:
--------------
The instuction at "0x006d693c" referenced memory "0x000000c". The
memory could not be "read"
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=35785&edit=1