From 45be4b924614b0e0e2966a78ddd7a3c80418b240 Mon Sep 17 00:00:00 2001 From: wbond Date: Thu, 16 Oct 2008 05:47:57 +0000 Subject: [PATCH] BackwardsCompatibilityBreak - fUTF8::detect() went from being public to private --- classes/fUTF8.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/classes/fUTF8.php b/classes/fUTF8.php index 27ef7d50..07dba86d 100644 --- a/classes/fUTF8.php +++ b/classes/fUTF8.php @@ -26,7 +26,6 @@ class fUTF8 const chr = 'fUTF8::chr'; const clean = 'fUTF8::clean'; const cmp = 'fUTF8::cmp'; - const detect = 'fUTF8::detect'; const explode = 'fUTF8::explode'; const icmp = 'fUTF8::icmp'; const inatcmp = 'fUTF8::inatcmp'; @@ -736,7 +735,7 @@ static private function convertOffsetToBytes($string, $offset) * @param string $string The string to check * @return boolean If the string contains any non-ASCII characters */ - static public function detect($string) + static private function detect($string) { return (boolean) preg_match('#[^\x00-\x7F]#', $string); }