← All docs
stripos()
Finds the numeric position of the first case-insensitive occurrence of a substring.
stripos()
function stripos(string $haystack, string $needle, int $offset = 0): mixed
Finds the numeric position of the first case-insensitive occurrence of a substring.
Parameters:
$haystack(string)$needle(string)$offset(int), default0, optional
Returns: mixed
Availability
| Compiled (AOT) | Magician (eval) |
|---|---|
| Available | Available |
No examples yet. Check examples/ and showcases/ for usage patterns.
Internals
For how stripos is implemented in the compiler, see the internals page.