#39704 [Opn->Bgs]: Fatal error: Class 'SimpleXMLIterator' not found

From: Date: Sat, 02 Dec 2006 00:03:27 +0000
Subject: #39704 [Opn->Bgs]: Fatal error: Class 'SimpleXMLIterator' not found
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-105772@lists.php.net to get a copy of this message
ID: 39704 Updated by: tony2001@php.net Reported By: m0rf at mail dot cz -Status: Open +Status: Bogus Bug Type: SPL related Operating System: FreeBSD 6.1 PHP Version: 5.2.0 New Comment: Well, that won't work. You need to enable both SPL and SimpleXML in the same time to be able to use SimpleXMLIterator, since this class is declared in SPL. And if there was now SimpleXML enabled at the time of SPL build, this class will not appear later without recompiling. Previous Comments: ------------------------------------------------------------------------ [2006-12-01 23:57:56] m0rf at mail dot cz right ------------------------------------------------------------------------ [2006-12-01 23:57:02] tony2001@php.net So you have compiled PHP without SimpleXml and then plugged it in as a shared extension, right? ------------------------------------------------------------------------ [2006-12-01 23:49:13] m0rf at mail dot cz SimpleXMLElement exists ------------------------------------------------------------------------ [2006-12-01 23:39:46] m0rf at mail dot cz bool(true) when i'm checking declared classes, SimpleXML exists i also tried recompile both php & extension, but it was not solution. ------------------------------------------------------------------------ [2006-12-01 21:16:01] iliaa@php.net What does extension_loaded("simplexml") return? ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/39704 -- Edit this bug report at http://bugs.php.net/?id=39704&edit=1

« previous php.bugs (#105772) next »