3v4l.org

run code in 300+ PHP versions simultaneously
<?php $xml = 'http://115.112.70.158/soap/tutorial/test/available_vehicle.xml'; $xml = simplexml_load_string( $xml); foreach( $xml->xpath( './/VehRentalCore') as $child) { echo $child->attributes()['PickUpDateTime'] . "\n"; }
Output for git.master, git.master_jit
Warning: simplexml_load_string(): Entity: line 1: parser error : Start tag expected, '<' not found in /in/a38e2 on line 4 Warning: simplexml_load_string(): http://115.112.70.158/soap/tutorial/test/available_vehicle.xml in /in/a38e2 on line 4 Warning: simplexml_load_string(): ^ in /in/a38e2 on line 4 Fatal error: Uncaught Error: Call to a member function xpath() on bool in /in/a38e2:6 Stack trace: #0 {main} thrown in /in/a38e2 on line 6
Process exited with code 255.
Output for rfc.property-hooks
Warning: simplexml_load_string(): Entity: line 1: parser error : Start tag expected, '<' not found in /in/a38e2 on line 4 Warning: simplexml_load_string(): http://115.112.70.158/soap/tutorial/test/available_vehicle.xml in /in/a38e2 on line 4 Warning: simplexml_load_string(): ^ in /in/a38e2 on line 4 Fatal error: Uncaught Error: Call to a member function xpath() on false in /in/a38e2:6 Stack trace: #0 {main} thrown in /in/a38e2 on line 6
Process exited with code 255.

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
55.76 ms | 401 KiB | 8 Q