- var_dump: documentation ( source)
- mt_rand: documentation ( source)
<?php
class B32
{
private static $b32_chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ234567';
public static function construct()
{
var_dump(self::$b32_chars[mt_rand(0, 31)]);
}
}
B32::construct();