Display the drop-down list

strpos()

« strpbrk | strrchr »
<?php
$mixed 
strpos (
    
// string $haystack
    
// mixed $needle
    
  // [int $offset = 0]
);
?>
Result
$mixed = 7
Examples
#1 strpos  ("abc",
 
"a")
#2 strpos  ("abc",
 
"a")
#3 strpos  ("abcdef abcdef",
 
"a",
 
1)
See also
grapheme_strpos, iconv_strpos, mb_strpos, preg_match, stripos, strpbrk, strripos, strrpos, strstr, substr