Whitespace
This commit is contained in:
parent
56ed71c7d2
commit
7221efc095
@ -63,10 +63,10 @@ class StringUtils
|
|||||||
// They are only identical strings if $result is exactly 0...
|
// They are only identical strings if $result is exactly 0...
|
||||||
return 0 === $result;
|
return 0 === $result;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Return the number of bytes in a string
|
* Return the number of bytes in a string
|
||||||
*
|
*
|
||||||
* @param string $string The string whose length we wish to obtain
|
* @param string $string The string whose length we wish to obtain
|
||||||
* @return int
|
* @return int
|
||||||
*/
|
*/
|
||||||
@ -75,6 +75,7 @@ class StringUtils
|
|||||||
if (function_exists('mb_strlen')) {
|
if (function_exists('mb_strlen')) {
|
||||||
return mb_strlen($string, '8bit');
|
return mb_strlen($string, '8bit');
|
||||||
}
|
}
|
||||||
|
|
||||||
return strlen($string);
|
return strlen($string);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user