You are here

public function Native::strpos in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/zendframework/zend-stdlib/src/StringWrapper/Native.php \Zend\Stdlib\StringWrapper\Native::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

Overrides StringWrapperInterface::strpos

File

vendor/zendframework/zend-stdlib/src/StringWrapper/Native.php, line 130

Class

Native

Namespace

Zend\Stdlib\StringWrapper

Code

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