3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $satoshi = 7995716051345; //Satoshi to btc echo number_format(($satoshi)*(pow(10, -8)), 8, '.', ''); //Returns 0.00005000 ?>
based on q0NGN
Output for 5.6.0 - 5.6.30, hhvm-3.15.4, 7.0.0 - 7.3.0rc3
79957.16051345