ALIAS

mbpos()

ShortPHP reference for mb_strpos().

Signature

mb_strpos(string $haystack, string $needle, int $offset = 0, ?string $encoding = null): int|false

Example

mbpos(...);

PHP equivalent

mb_strpos() is the canonical PHP function. ShortPHP provides mbpos() as the convenience alias.

Extension: mbstring

Official PHP manual ↗

Reference navigation

Previous: mbsl()

Next: mblow()

Back to reference