mirror of
https://github.com/vrana/adminer.git
synced 2025-08-08 15:47:00 +02:00
Unuse binary characters
This commit is contained in:
@@ -970,3 +970,13 @@ function lzw_decompress($binary) {
|
||||
}
|
||||
return $return;
|
||||
}
|
||||
|
||||
// used in compiled version
|
||||
function latin_binary($s) {
|
||||
return preg_replace_callback('~ (.)~', 'latin_binary_callback', $s);
|
||||
}
|
||||
|
||||
// used in compiled version
|
||||
function latin_binary_callback($match) {
|
||||
return chr(ord($match[1]) - 48); // 48 = ord('0')
|
||||
}
|
||||
|
Reference in New Issue
Block a user