Mantis - Quercus
Viewing Issue Advanced Details
5189 minor always 08-24-12 16:33 08-24-12 18:03
nam  
nam  
normal  
closed  
fixed  
none    
none 4.0.31  
0005189: SimpleXMLElement::asXML() filename argument not implemented
(rep by cmidnite)

I am trying out Quercus v4.0.25 under Eclipse Juno and Glassfish and it appears the implementation of SimpleXMLElement::asXML does not support the filename argument listed in the PHP 5 documentation. My logs contain this warning:

    Warning: function 'asXML' called with 1 arguments, but only expects 0 arguments

whenever something like this is encountered:

    $xml = new SimpleXMLElement('<stuff></stuff>');
    $xml->asXML($filename);

Has anyone else run into this? Being new to PHP I wanted to make sure it is just not me doing something wrong.

Notes
(0006017)
nam   
08-24-12 18:03   
php/1x0g