3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = 20; $b = 9; $c = 6; $d = 40; $mA = array(); for($i=0;$i<30;$i++) { $mA[] = $a*$i; } print_r($mA);
Output for git.master, git.master_jit, rfc.property-hooks
Array ( [0] => 0 [1] => 20 [2] => 40 [3] => 60 [4] => 80 [5] => 100 [6] => 120 [7] => 140 [8] => 160 [9] => 180 [10] => 200 [11] => 220 [12] => 240 [13] => 260 [14] => 280 [15] => 300 [16] => 320 [17] => 340 [18] => 360 [19] => 380 [20] => 400 [21] => 420 [22] => 440 [23] => 460 [24] => 480 [25] => 500 [26] => 520 [27] => 540 [28] => 560 [29] => 580 )

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