3v4l.org

run code in 300+ PHP versions simultaneously
<?php $xml = simplexml_load_file("artikel_xml.XML"); if (!$res = $xml->xpath($path)) { foreach ($xml->ROWDATA->ROW as $row) { } ?> echo "$row[ARTNR] <br />";
Output for 5.4.0 - 5.4.30
Parse error: syntax error, unexpected end of file in /in/hGsna on line 14
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected $end in /in/hGsna on line 14
Process exited with code 255.

preferences:
195.13 ms | 1395 KiB | 67 Q