|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-02-17 12:31 UTC] jorton@php.net
[2005-03-02 19:15 UTC] rrichards@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 01 04:00:02 2025 UTC |
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