3v4l.org

run code in 300+ PHP versions simultaneously
<?php $test = array(); $merdas = array(1,2,4,5,6,7,8,9,9,7,76,56); foreach($merdas as $merda){ $test[] = array(1 => $merda * 2); } print_r($test);
Output for git.master, git.master_jit, rfc.property-hooks
Array ( [0] => Array ( [1] => 2 ) [1] => Array ( [1] => 4 ) [2] => Array ( [1] => 8 ) [3] => Array ( [1] => 10 ) [4] => Array ( [1] => 12 ) [5] => Array ( [1] => 14 ) [6] => Array ( [1] => 16 ) [7] => Array ( [1] => 18 ) [8] => Array ( [1] => 18 ) [9] => Array ( [1] => 14 ) [10] => Array ( [1] => 152 ) [11] => Array ( [1] => 112 ) )

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:
44.31 ms | 402 KiB | 8 Q