Dostupnost ve verzích: PHP 4.0
Find the last occurrence of a character in a string
| 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()}. | 
string
This function returns the portion of string, or FALSE if needle is not found.
Oficiální dokumentace funkce strrchr
Jan Barášek Více o autorovi
Autor článku pracuje jako seniorní vývojář a software architekt v Praze. Navrhuje a spravuje velké webové aplikace, které znáte a používáte. Od roku 2009 nabral bohaté zkušenosti, které tímto webem předává dál.
Rád vám pomůžu:
Články a novinky nejen ze světa PHP a programování. Nenechte si ujít jediný článek.
Články píše Jan Barášek © 2009-2025 | Kontakt | Mapa webu
Status | Aktualizováno: ... | cs