3v4l.org

run code in 300+ PHP versions simultaneously
<?php $i = 1; for($f = 0; $f <= 20; $f++) { echo "F".$f." = ".(($f-1)+$f-2)."\n"; $i++; }
Output for git.master, git.master_jit, rfc.property-hooks
F0 = -3 F1 = -1 F2 = 1 F3 = 3 F4 = 5 F5 = 7 F6 = 9 F7 = 11 F8 = 13 F9 = 15 F10 = 17 F11 = 19 F12 = 21 F13 = 23 F14 = 25 F15 = 27 F16 = 29 F17 = 31 F18 = 33 F19 = 35 F20 = 37

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