You are here

public function StringWrapperInterface::strpos in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/zendframework/zend-stdlib/src/StringWrapper/StringWrapperInterface.php \Zend\Stdlib\StringWrapper\StringWrapperInterface::strpos()

Find the position of the first occurrence of a substring in a string

Parameters

string $haystack:

string $needle:

int $offset:

Return value

int|false

4 methods override StringWrapperInterface::strpos()
Iconv::strpos in vendor/zendframework/zend-stdlib/src/StringWrapper/Iconv.php
Find the position of the first occurrence of a substring in a string
Intl::strpos in vendor/zendframework/zend-stdlib/src/StringWrapper/Intl.php
Find the position of the first occurrence of a substring in a string
MbString::strpos in vendor/zendframework/zend-stdlib/src/StringWrapper/MbString.php
Find the position of the first occurrence of a substring in a string
Native::strpos in vendor/zendframework/zend-stdlib/src/StringWrapper/Native.php
Find the position of the first occurrence of a substring in a string

File

vendor/zendframework/zend-stdlib/src/StringWrapper/StringWrapperInterface.php, line 79

Class

StringWrapperInterface

Namespace

Zend\Stdlib\StringWrapper

Code

public function strpos($haystack, $needle, $offset = 0);