3v4l.org

run code in 300+ PHP versions simultaneously
<?php $_story = [ 'some-video.mp4', 'some-image.jpg' ]; foreach ($_story as $story) { $check = '/mp4/m'; preg_match_all($check, $story, $matches, PREG_SET_ORDER, 0); if (empty($matches)) { echo "<a href=$story&dl=1><img src=$story></a>\n"; } else { echo '<video width="320" height="240" controls>'."\n"; echo '<source src="' . $story . '" type="video/mp4">'."\n"; echo '</video>'."\n"; echo "<a href=$story&dl=1>Download</a>"."\n"; } }
Output for git.master, git.master_jit, rfc.property-hooks
<video width="320" height="240" controls> <source src="some-video.mp4" type="video/mp4"> </video> <a href=some-video.mp4&dl=1>Download</a> <a href=some-image.jpg&dl=1><img src=some-image.jpg></a>

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