PMA\libraries\Util::getFormattedMaximumUploadSize PHP Method

getFormattedMaximumUploadSize() public static method

Returns the formatted maximum size for an upload
public static getFormattedMaximumUploadSize ( integer $max_upload_size ) : string
$max_upload_size integer the size
return string the message
    public static function getFormattedMaximumUploadSize($max_upload_size)
    {
        // I have to reduce the second parameter (sensitiveness) from 6 to 4
        // to avoid weird results like 512 kKib
        list($max_size, $max_unit) = self::formatByteDown($max_upload_size, 4);
        return '(' . sprintf(__('Max: %s%s'), $max_size, $max_unit) . ')';
    }
Util