3v4l.org

run code in 300+ PHP versions simultaneously
<?php function silnia($n) { return ($n <= 1) ? 1 : gmp_mul($n, silnia($n-1)); } $strSilnia = (string)silnia(60); $zeroCount = 0; for ($i = strlen($strSilnia)-1; $i >= 0; $i--) { echo $strSilnia[$i].PHP_EOL; }
Output for git.master, git.master_jit, rfc.property-hooks
0 0 0 0 0 0 0 0 0 0 0 0 0 0 6 9 0 4 6 9 6 7 7 2 9 4 4 2 5 9 5 4 2 1 6 3 6 0 6 2 7 1 4 5 7 0 8 3 4 6 3 3 2 2 3 8 1 1 4 3 6 7 2 4 4 1 0 9 3 1 4 7 2 1 1 7 8 9 0 2 3 8

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