- var_dump: documentation ( source)
<?php
$xml = new SimpleXMLElement('<vehicle id="8" identyfikator="23">
<name>MAREK</name>
<recorder>8</recorder>
<production-date>0</production-date>
<registration-number>SI40996</registration-number>
<fuel>
<type>
</type>
<nominal>0</nominal>
<drive>0</drive>
<work>0</work>
<stay>0</stay>
</fuel>
<at name="PHONE_NUMBER" type="5">123456789</at>
<at name="EMAIL" type="5">w@wp.pl</at>
</vehicle>');
echo '<pre>';
var_dump($xml);