ALIAS

pos()

ShortPHP reference for strpos().

Signature

strpos(string $haystack, string $needle, int $offset = 0): int|false

Example

pos(...);

PHP equivalent

strpos() is the canonical PHP function. ShortPHP provides pos() as the convenience alias.

Extension: Core

Official PHP manual ↗

Reference navigation

Previous: sl()

Next: low()

Back to reference