Location: PHPKode > scripts > Craur > Craur-1.7.4/tests/xml_with_zero_value_test.php
<?php

$invalid_xml = file_get_contents(dirname(__FILE__) . '/fixtures/xml_with_0_value.xml');

$craur = Craur::createFromXml($invalid_xml);
assert($craur->get('root.zerovalue') == '0');
Return current item: Craur