ң

strrchr

(PHP 3, PHP 4)

strrchr - () .

string strrchr (string haystack, string needle)

haystack , needle haystack .

FALSE , needle .

needle , .

needle , integer .

1. strrchr()
// $PATH $dir = substr(strrchr($PATH, ":"), 1); // ӣ newline $text = "Line 1\nLine 2\nLine 3"; $last = substr(strrchr($text, 10), 1 );

. strchr() , substr() , stristr() strstr() .


ң
strpos strrev