3v4l.org

run code in 300+ PHP versions simultaneously
<?php function fib($n) { return ((4 << $n*(3+$n)) / ((4 << 2*$n) - (2 << $n) - 1) & ((2 << $n) - 1)); } for ($i = 10; $i < 20; $i++) { echo "Fib {$i}: " . fib($i) . "\n"; }
Output for git.master, git.master_jit, rfc.property-hooks
Fib 10: 0 Fib 11: 0 Fib 12: 0 Fib 13: 0 Fib 14: 0 Fib 15: 0 Fib 16: 0 Fib 17: 0 Fib 18: 0 Fib 19: 0

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