Méthode | Description | |
---|---|---|
formatHumanReadableSize ( integer $size ) : string | format a given number of bytes in IEC 80000-13:2008 notation (localized) | |
formatHumanReadableTime ( string $time ) : string | format a given time string into a human readable label (localized) | |
slowEquals ( string $a, string $b ) : boolean | fixed time string comparison operation to prevent timing attacks https://crackstation.net/hashing-security.htm?=rd#slowequals | |
stripslashesDeep ( mixed $value ) : mixed | strips slashes deeply |
public static formatHumanReadableSize ( integer $size ) : string | ||
$size | integer | |
Résultat | string |
public static formatHumanReadableTime ( string $time ) : string | ||
$time | string | |
Résultat | string |
public static stripslashesDeep ( mixed $value ) : mixed | ||
$value | mixed | |
Résultat | mixed |