3v4l.org

run code in 300+ PHP versions simultaneously
<?php $i = 1; for($f = 0; $f <= 20; $f++) { echo "F".$f." = ".($i+pow($i,$f))."\n"; $i++; }
Output for git.master, git.master_jit, rfc.property-hooks
F0 = 2 F1 = 4 F2 = 12 F3 = 68 F4 = 630 F5 = 7782 F6 = 117656 F7 = 2097160 F8 = 43046730 F9 = 1000000010 F10 = 25937424612 F11 = 743008370700 F12 = 23298085122494 F13 = 793714773254158 F14 = 29192926025390640 F15 = 1152921504606846992 F16 = 4.8661191875667E+19 F17 = 2.1859115597387E+21 F18 = 1.0412735029791E+23 F19 = 5.24288E+24 F20 = 2.7821842944695E+26

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