PHP funkce strrchr()
Dostupnost ve verzích: PHP 4.0
Find the last occurrence of a character in a string
Parametry
| Parametr | Datový typ | Výchozí hodnota | Poznámka |
|---|---|---|---|
$haystack |
string |
není | The string to search in |
$needle |
mixed |
není | If needle contains more than one character, only the first is used. This behavior is different from that of {@see strstr()}. |
Návratové hodnoty
string
This function returns the portion of string, or FALSE if needle is not found.