![]() | strrchrDescrizionestring strrchr ( string haystack, string needle )Questa funzione restituisce la porzione di haystack che inizia dall'ultima occorrenza di needle e finisce al termine di haystack. Restituisce FALSE se needle non viene trovato. Se needle contiene più di un carattere, in PHP 4 si utilizza solo il primo. Questo comportamento è differente rispetto a strchr(). Se needle non è una stringa, viene convertito in un intero e utilizzato come valore ordinale di un carattere. strrchr() è affidabile con i dati binari dal PHP 4.3.0 | ![]() | |