3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x = 1; for($i=1;$i<50;$i++){ $x +=$i; echo $i ." : " .$x."\n"; }
Output for git.master, git.master_jit, rfc.property-hooks
1 : 2 2 : 4 3 : 7 4 : 11 5 : 16 6 : 22 7 : 29 8 : 37 9 : 46 10 : 56 11 : 67 12 : 79 13 : 92 14 : 106 15 : 121 16 : 137 17 : 154 18 : 172 19 : 191 20 : 211 21 : 232 22 : 254 23 : 277 24 : 301 25 : 326 26 : 352 27 : 379 28 : 407 29 : 436 30 : 466 31 : 497 32 : 529 33 : 562 34 : 596 35 : 631 36 : 667 37 : 704 38 : 742 39 : 781 40 : 821 41 : 862 42 : 904 43 : 947 44 : 991 45 : 1036 46 : 1082 47 : 1129 48 : 1177 49 : 1226

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