private function buildArbitraryList($radix)
    {
        $format = '#%0' . strlen($radix - 1) . 'd';

        return array_map(function ($value) use ($format) {
            return sprintf($format, $value);
        }, range(0, $radix - 1));
    }
private function buildArbitraryList($radix)
    {
        $format = '#%0' . strlen($radix - 1) . 'd';

        return array_map(function ($value) use ($format) {
            return sprintf($format, $value);
        }, range(0, $radix - 1));
    }
private function buildArbitraryList ( $ radix ) { $ format = '#%0' . strlen ( $ radix - 1 ) . 'd' ; return array_map ( function ( $ value ) use ( $ format ) { return sprintf ( $ format , $ value ) ; } , range ( 0 , $ radix - 1 ) ) ; }
Builds the list of digits for arbitrary radix.
@param int $radix Radix for the numeral system
@return string[] The list of digits
Builds the list of digits for arbitrary radix .