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 = 50; $i < 60; $i++) { echo "Fib {$i}: " . fib($i) . "\n"; }
Output for git.master, git.master_jit, rfc.property-hooks
Fib 50: 0 Fib 51: 0 Fib 52: 0 Fib 53: 0 Fib 54: 0 Fib 55: 0 Fib 56: 0 Fib 57: 0 Fib 58: 0 Fib 59: 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:
64.47 ms | 401 KiB | 8 Q