Gen. partnerAlgotech

PHP funkce strrchr()

Find the last occurrence of a character in a string

|
11. září 2019

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()}.

string

This function returns the portion of string, or FALSE if needle is not found.

Další zdroje

Oficiální dokumentace funkce strrchr

Načítání komentářů...

Zůstaňte v obraze

Přihlaste se k odběru našeho newsletteru a získejte nejnovější informace o kybernetické bezpečnosti přímo do vaší e-mailové schránky.

Vaše údaje jsou v bezpečí. Newsletter můžete kdykoliv odhlásit.