3v4l.org

run code in 300+ PHP versions simultaneously
<?php //factorial.php $n = 52; $factorial = array_product(range(1, $n)); echo $factorial . "\n"; //direct output printf("%g\n", $factorial); //force scientific notation

preferences:
34.8 ms | 402 KiB | 5 Q