Base convert

base_convert is a PHP library to convert an arbitrarily-long string from one numeric base to another, optionally zero-padding to a minimum column width.