Skip to main content

Hi,
On www.w3schools.com I read:

As of PHP 5, the SimpleXML functions are part of the PHP core. No installation is required to use these functions.

However when I try to use function simplexml_load_file() I get error response:

Fatal error: HPH01209 Call to undefined function simplexml_load_file() in /u/U13178/test.php on line 2

Anyone knows if SimpleXML is part of base php which comes with ported tools?

Thx,
frans.

Hi,
On www.w3schools.com I read:

As of PHP 5, the SimpleXML functions are part of the PHP core. No installation is required to use these functions.

However when I try to use function simplexml_load_file() I get error response:

Fatal error: HPH01209 Call to undefined function simplexml_load_file() in /u/U13178/test.php on line 2

Anyone knows if SimpleXML is part of base php which comes with ported tools?

Thx,
frans.

Hi,

SimpleXML is part of RocketSoftware PHP 5.4.4.

Look at “phpinfo()”.

But SimpleXML doen’t support "process instruction <?xml encoding="IBM-1147" ?> : error when loadling file… so xml data file must be IBM-1047 encoded…

Denis

RocketSoftware PHP 5.4.4.pdf (615,0 Ko)
testsxml.php.doc (1,1 Ko)

test.xml.doc (103 Octets)
testsxml.pdf (29,0 Ko)


Hi,
On www.w3schools.com I read:

As of PHP 5, the SimpleXML functions are part of the PHP core. No installation is required to use these functions.

However when I try to use function simplexml_load_file() I get error response:

Fatal error: HPH01209 Call to undefined function simplexml_load_file() in /u/U13178/test.php on line 2

Anyone knows if SimpleXML is part of base php which comes with ported tools?

Thx,
frans.

Thanks.
We are still running 5.1.2 I suppose it doesn’t contain SimpleXML.


Hi,
On www.w3schools.com I read:

As of PHP 5, the SimpleXML functions are part of the PHP core. No installation is required to use these functions.

However when I try to use function simplexml_load_file() I get error response:

Fatal error: HPH01209 Call to undefined function simplexml_load_file() in /u/U13178/test.php on line 2

Anyone knows if SimpleXML is part of base php which comes with ported tools?

Thx,
frans.

In return from phpinfo() I see in configure command section.

–disable-simplexml

Does it mean we disabled SimpleXML?