This question already has an answer here:
The answer to this is probably studpidly simple, but I can't for the life of me figure it out...
Per PHP's documentation, the 2nd parameter for the "SimpleXMLElement::__construct()" method, called "$option", is an integer, defined as: "Optionally used to specify additional Libxml parameters." Please note the plural of "parameters".
I get how to pass a single option, say:
$x = new SimpleXMLElement($feed_url, LIBXML_NOCDATA, TRUE);
But what if, in addition to "LIBXML_NOCDATA", I want to also pass "LIBXML_NOBLANKS", and/or "LIBXML_BIGLINES"? How do I pass those within the same call?
Example:
$x = new SimpleXMLElement($feed_url, LIBXML_NOCDATA LIBXML_NOBLANKS LIBXML_BIGLINES, TRUE);
(BTW, I know this doesn't work...)
What am I missing / not understanding?
Thanks!
</div>