Cardinal from IRC answered my question. It turns out that when you indent
your childs with tabs, it sees those tabs as cdata of the root element. I
had the following XML file:
sampleDBName
sampleUser
localhost
The tabs in front of the child elements were treated as CDATA of the
roo
Hi Marcus,
Marcus Boerger wrote:
having a function __toString() would interfere with the mapping ideas of
SimpleXML. However it is there internally so you simply do one of the
following:
php -r '$x=SimpleXML_load_string("blablabla"); echo
$x, "\n"; var_dump((string)$x);'
I'm aware of that. But h
2 matches
Mail list logo