1. Go to this page and download the library: Download phpcommon/intmath library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
phpcommon / intmath example snippets
// Output on 64-bit system: float(9.2233720368548E+18)
var_dump(PHP_MAX_INT + 1);
// Output on 64-bit system: int(-9223372036854775808)
var_dump(IntMath::add(PHP_MAX_INT, 1));