You are here

public function Iconv::strpos in Zircon Profile 8

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

Class

Iconv

Namespace

Zend\Stdlib\StringWrapper

Code

public function strpos($haystack, $needle, $offset = 0) {
  return iconv_strpos($haystack, $needle, $offset, $this
    ->getEncoding());
}