Lines Matching defs:PhpString
14 use dokuwiki\Utf8\PhpString;
84 dbg_deprecated(PhpString::class . '::basename()');
85 return PhpString::basename($path, $suffix);
93 dbg_deprecated(PhpString::class . '::strlen()');
94 return PhpString::strlen($str);
102 dbg_deprecated(PhpString::class . '::substr()');
103 return PhpString::substr($str, $offset, $length);
111 dbg_deprecated(PhpString::class . '::substr_replace()');
112 return PhpString::substr_replace($string, $replacement, $start, $length);
120 dbg_deprecated(PhpString::class . '::ltrim()');
121 return PhpString::ltrim($str, $charlist);
129 dbg_deprecated(PhpString::class . '::rtrim()');
130 return PhpString::rtrim($str, $charlist);
138 dbg_deprecated(PhpString::class . '::trim()');
139 return PhpString::trim($str, $charlist);
147 dbg_deprecated(PhpString::class . '::strtolower()');
148 return PhpString::strtolower($str);
156 dbg_deprecated(PhpString::class . '::strtoupper()');
157 return PhpString::strtoupper($str);
165 dbg_deprecated(PhpString::class . '::ucfirst()');
166 return PhpString::ucfirst($str);
174 dbg_deprecated(PhpString::class . '::ucwords()');
175 return PhpString::ucwords($str);
210 dbg_deprecated(PhpString::class . '::strpos()');
211 return PhpString::strpos($haystack, $needle, $offset);