On Thu, November 10, 2005 12:26 pm, Scott Klarenbach wrote:
> I have a call
> $oXML = simplexml_load_string($xmlString);
>
> I then check it, with
>
> if(!$oXML) throw new XMLException();
>
> For some reason, it's always evaluating to FALSE. Even though there
> are no errors and the rest of the xm
I have a call
$oXML = simplexml_load_string($xmlString);
I then check it, with
if(!$oXML) throw new XMLException();
For some reason, it's always evaluating to FALSE. Even though there
are no errors and the rest of the xml parsing works fine.
If I change it to
if($oXML === FALSE) throw new XML
2 matches
Mail list logo