mb_strrpos throws a warning if $haystack is empty.
strrpos simply returns FALSE.
This is something to be wary of if overloading the mb functions.
![]() |
|
||||||||||
|
mb_strrposОписаниеint mb_strrpos ( string haystack, string needle [, int offset [, string encoding]] )
mb_strrpos() returns the numeric position of
the last occurrence of
mb_strrpos() performs multi-byte safe
strrpos() operation based on
number of characters.
If
mb_strrpos
27-Nov-2005 06:32
mb_strrpos throws a warning if $haystack is empty. |