|
PHP5中文手册
stripos(PHP 5) stripos — Find position of first occurrence of a case-insensitive string 说明
int stripos
( string $haystack
, string $needle
[, int $offset
] )
Returns the numeric position of the first occurrence of needle in the haystack string. Unlike strpos(), stripos() is case-insensitive. 参数
返回值If needle is not found, stripos() will return boolean FALSE. 范例
Example#1 stripos() examples
<?php 注释
|