public function MbString::strpos in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/zendframework/zend-stdlib/src/StringWrapper/MbString.php \Zend\Stdlib\StringWrapper\MbString::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/ MbString.php, line 90
Class
Namespace
Zend\Stdlib\StringWrapperCode
public function strpos($haystack, $needle, $offset = 0) {
return mb_strpos($haystack, $needle, $offset, $this
->getEncoding());
}