ID: 32001
Updated by: [EMAIL PROTECTED]
Reported By: geroxp at web dot de
-Status: Open
+Status: Verified
Bug Type: XML related
Operating System: Linux (FC3)
-PHP Version: 5.0.3
+PHP Version: 5CVS-2005-02-17
Previous Comments:
------------------------------------------------------------------------
[2005-02-16 18:08:30] geroxp at web dot de
Description:
------------
When using xml_parse_into_struct() function with an object the
following error occurs:
Fatal error: Maximum execution time of 30 seconds exceeded in
/var/www/html/test.php on line 9
Version-Release number:
php-5.0.3-2
How reproducible:
Always
Reproduce code:
---------------
<?php
class myclass {
var $myparser;
function mytest() {
$this->myparser = xml_parser_create('');
$simple = "<para><note>simple note</note></para>";
xml_parse_into_struct($this->myparser, $simple, $myvals, $mytags);
print_r($myvals);
}
}
$myobject =& new myclass;
$myobject->mytest();
?>
Expected result:
----------------
Output of the xml-structure given as an array.
Actual result:
--------------
Fatal error: Maximum execution time of 30 seconds exceeded in
/var/www/html/test.php on line 9
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=32001&edit=1