3v4l.org

run code in 300+ PHP versions simultaneously
<?php $xml = <<<XML <VAST version="3.0"> <MediaFiles> <MediaFile delivery="progressive" type="video/mp4" width="640" height="360" bitrate="500" scalable="true" maintainAspectRatio="true"> <![CDATA[ https://appnext-a.akamaihd.net/banner/video/video-192347-30_o.mp4?rnd=1488986809 ]]> </MediaFile> <MediaFile delivery="progressive" type="video/mp4" width="320" height="180" bitrate="500" scalable="true" maintainAspectRatio="true"> <![CDATA[ https://appnext-a.akamaihd.net/banner/video/video-192347-30.mp4?rnd=1488986813 ]]> </MediaFile> </MediaFiles> </VAST> XML; $response = simplexml_load_string($xml); $files = $response->MediaFiles->MediaFile; foreach ($files as $file) { var_dump((string)$file); }
Output for git.master, git.master_jit, rfc.property-hooks
string(84) " https://appnext-a.akamaihd.net/banner/video/video-192347-30_o.mp4?rnd=1488986809 " string(82) " https://appnext-a.akamaihd.net/banner/video/video-192347-30.mp4?rnd=1488986813 "

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:
26.16 ms | 405 KiB | 5 Q