functions-online

strrpos

description

Returns the numeric position of the last occurrence of $needle in the $haystack string. Note that the $needle in this case can only be a single character in PHP 4. If a string is passed as the $needle, then only the first character of that string will be used.

If $needle is not found, strrpos() returns FALSE.

declaration of strrpos

mixed strrpos ( string $haystack , string $needle [, int $offset ] )

test strrpos online










share strrpos

comments for strrpos

be the first

No comments so far for strrpos(). Leave yours as first below.

+

Leave your comment