3v4l.org

run code in 300+ PHP versions simultaneously
<?php function silnia($n) { return ($n <= 1) ? 1 : gmp_mul($n, silnia($n-1)); } echo silnia(60).PHP_EOL; echo silnia(61).PHP_EOL; echo silnia(62).PHP_EOL;
Output for git.master, git.master_jit, rfc.property-hooks
8320987112741390144276341183223364380754172606361245952449277696409600000000000000 507580213877224798800856812176625227226004528988036003099405939480985600000000000000 31469973260387937525653122354950764088012280797258232192163168247821107200000000000000

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