Handle heredoc and escaped strings in the php translation extractor