This commit is contained in:
Shoghi Cervantes Pueyo
2012-11-25 19:27:38 +01:00
parent c104e21ef0
commit 3fce458406
5 changed files with 11 additions and 7 deletions

View File

@ -143,6 +143,10 @@ class Utils{
return $output;
}
public static function printable($str){
return preg_replace('#([^\x20-\x7E])#', '.', $str);
}
public static function microtime(){
return microtime(true);
}