ext/crypt_code.php
/**
     * Generate pure number codes
     *
     * @return array
     */
Generate pure number codes
@return array
Generate pure number codes @return array
private static function gen_num(): array
    {
        $result = [];
        for ($i = 0; $i < self::$count; ++$i) $result['char'][] = (string)mt_rand(0, 9);
        $result['code'] = implode($result['char']);
        unset($i);
        return $result;
    }
private static function gen_num ( ) : array { $ result = [ ] ; for ( $ i = 0 ; $ i < self :: $ count ; ++ $ i ) $ result [ 'char' ] [ ] = ( string ) mt_rand ( 0 , 9 ) ; $ result [ 'code' ] = implode ( $ result [ 'char' ] ) ; unset ( $ i ) ; return $ result ; }
Generate pure number codes
 @return array
Generate pure number codes @return array