3v4l.org

run code in 300+ PHP versions simultaneously
<?php function fibonacci($n,$first = 0,$second = 1) { $fib = aray ($first,$second); for($i=1;$i<$n;$i++) { $fib[] = $fib[$i]+$fib[$i-1]; } return $fib; } echo "<pre>"; print_r(fibonacci(50));
Output for git.master, git.master_jit, rfc.property-hooks
<pre> Fatal error: Uncaught Error: Call to undefined function aray() in /in/4ahXP:4 Stack trace: #0 /in/4ahXP(12): fibonacci(50) #1 {main} thrown in /in/4ahXP on line 4
Process exited with code 255.

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