3v4l.org

run code in 300+ PHP versions simultaneously
<?php function fibbonacci($n) { if($n < 2) { return 1; } return fibbonacci($n - 1) + fibbonacci(n - 2); } echo fibbonacci(5);
Output for git.master, git.master_jit, rfc.property-hooks
Fatal error: Uncaught Error: Undefined constant "n" in /in/6LjWd:10 Stack trace: #0 /in/6LjWd(10): fibbonacci(2) #1 /in/6LjWd(10): fibbonacci(3) #2 /in/6LjWd(10): fibbonacci(4) #3 /in/6LjWd(13): fibbonacci(5) #4 {main} thrown in /in/6LjWd on line 10
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:
52.09 ms | 401 KiB | 8 Q