Permalink
Browse files

BackwardsCompatibilityBreak - fUTF8::detect() went from being public …

…to private
  • Loading branch information...
wbond committed Oct 16, 2008
1 parent fa6be33 commit 45be4b924614b0e0e2966a78ddd7a3c80418b240
Showing with 1 addition and 2 deletions.
  1. +1 −2 classes/fUTF8.php
View
@@ -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);
}

0 comments on commit 45be4b9

Please sign in to comment.