- pow: documentation ( source)
- number_format: documentation ( source)
<?php
$val1 = pow(2, 64);
$val2 = $val1 - 1;
echo $val1 . PHP_EOL;
echo $val2 . PHP_EOL;
echo number_format($val1, 0, '', '') . PHP_EOL;
echo number_format($val2, 0, '', '') . PHP_EOL;