PHP code example of jaredhowland / new-base-60
1. Go to this page and download the library: Download jaredhowland/new-base-60 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/ */
jaredhowland / new-base-60 example snippets
use NewBase60\NewBase60;
200108'); // Output: 1ZX8U
echo NewBase60::toBase10('1ZX8U'); // Output: 20200108
// For the next methods, the second argument is the length of the padding to 020200108