string strrchr ( string haystack, string needle )This function returns the portion of haystack which starts at the last occurrence of needle and goes until the end of haystack. Returns FALSE if needle is not found. If needle contains more than one character, only the first is used in PHP 4. This behavior is different from that of strchr(). If needle is not a string, it is converted to an integer and applied as the ordinal value of a character. 10在此函数将返回一个换行符,也就是“\n”的值(具体去查ASCII码表)
用最后一个\n截取获得的字符串就是Line 3