3v4l.org

run code in 300+ PHP versions simultaneously
<?php $series = array ( 0 => "Series A", 1 => "Series B", 2 => "Series C", 3 => "Series D", 4 => "Series E", 5 => "Series F" ); $episodes = array ( 0 => array ( 0 => "a0" ), 1 => array ( 0 => "b0", 1 => "b1" ), 2 => array ( 0 => "c0", 1 => "c1" ), 3 => array ( 0 => "d0" ), 4 => array ( 0 => "e0" ), 5 => array ( 0 => "f0" ) ); foreach ($series as $key => $value) { echo $value . ' - ' . implode(', ', $episodes[$key]) . PHP_EOL; }
Output for git.master, git.master_jit, rfc.property-hooks
Series A - a0 Series B - b0, b1 Series C - c0, c1 Series D - d0 Series E - e0 Series F - f0

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