Arabic-to-Roman-numerals converter (currently one-way) using regex for a laugh.
require_once __DIR__.'/../vendor/autoload.php';
use Seniorio\Numeralizor;
$numeralizor = new Numeralizor;
echo $numeralizor->arabicToRoman($argv[1])."\n";
exit;Or:
$ ./bin/roman 10Not a good solution, just a bit of fun with regex.
See comments at https://github.com/seniorio/roman-numerals/blob/master/src/Seniorio/Numeralizor.php for documentation.