- var_dump: documentation ( source)
- error_reporting: documentation ( source)
<?php
error_reporting(E_ALL | E_STRICT);
class A extends SimpleXMLElement
{
}
$delimiter = "--------------------------------------------------------------------------------\n";
echo $delimiter;
$xml1 = <<<XML
<?xml version="1.0"?>
<a>
<b>
<c>
<value>Some Value</value>
</c>
</b>
</a>
XML;
$a1 = new A($xml1);
foreach ($a1->b->children() as $key => $value) {
var_dump((bool)$value);
}