Lines Matching defs:strlen
30 $suflen = strlen($suffix);
39 * Unicode aware replacement for strlen()
49 * @see strlen()
51 public static function strlen($string)
63 return strlen(utf8_decode($string));
66 return strlen($string);
120 $strlen = self::strlen($str); // see notes
121 $offset = $strlen + $offset;
140 if (!isset($strlen)) $strlen = self::strlen($str); // see notes
141 if ($offset > $strlen) return ''; // another trivial case
145 $length = min($strlen - $offset, $length);
152 if ($length < ($offset - $strlen)) return '';
303 switch (self::strlen($str)) {
365 $length = self::strlen(substr($haystack, 0, $pos));