we have that string:
\"I like to eat apple\"
How can I obtain the result \"apple\" ?
\"apple\"
a bit late to the party but this works too
$last = strrchr($string,' ');
as per http://www.w3schools.com/php/func_string_strrchr.asp