3v4l.org

run code in 300+ PHP versions simultaneously
<?php $xml = '<OTA_VehAvailRateRS xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" TimeStamp="2014-07-17T05:44:43" Target="Test" Version="4.500" SequenceNmbr="1"> <Success/> <VehAvailRSCore> <VehRentalCore PickUpDateTime="2014-07-18T07:00:00" ReturnDateTime="2014-07-19T07:00:00"> <PickUpLocation LocationCode="CAP"/> <ReturnLocation LocationCode="CLT"/> </VehRentalCore> </VehAvailRSCore> </OTA_VehAvailRateRS> '; $xml = simplexml_load_string( $xml); foreach( $xml->xpath( './/VehRentalCore') as $child) { echo $child->attributes()['PickUpDateTime'] . "\n"; }
Output for git.master, git.master_jit, rfc.property-hooks
2014-07-18T07:00:00

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:
42.32 ms | 401 KiB | 8 Q