3v4l.org

run code in 300+ PHP versions simultaneously
<?php function fib ($n) { return round(pow((sqrt(5)+1)/2, $n) / sqrt(5)); } $x = 0; while ($x < 100) { echo fib($x++); }
Output for git.master, git.master_jit, rfc.property-hooks
01123581321345589144233377610987159725844181676510946177112865746368750251213931964183178115142298320401346269217830935245785702887922746514930352241578173908816963245986102334155165580141267914296433494437701408733113490317018363119032971215073480752697677787420491258626902520365011074329512800995331629117386267571272139583862445225851433717365435296162591286729879956722026041154800875592025047307819614052739537881655747031984210610209857723171676801775652777789003528844945570212853727234602481411.1766903046099E+141.9039249070914E+143.0806152117013E+144.9845401187926E+148.065155330494E+141.3049695449287E+152.1114850779781E+153.4164546229067E+155.5279397008848E+158.9443943237915E+151.4472334024676E+162.3416728348468E+163.7889062373144E+166.1305790721612E+169.9194853094756E+161.6050064381637E+172.5969549691112E+174.2019614072749E+176.7989163763861E+171.1000877783661E+181.7799794160047E+182.8800671943708E+184.6600466103755E+187.5401138047464E+181.2200160415122E+191.9740274219868E+193.194043463499E+195.1680708854858E+198.3621143489849E+191.3530185234471E+202.1892299583456E+20

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:
54.33 ms | 403 KiB | 8 Q