可以使用反斜杠对引号进行转义,也可以使用双引号来指定字符串。
echo 'Here goes your message with an apostrophe S like thi's';echo "Here goes your message with an apostrophe S like thi's";

可以使用反斜杠对引号进行转义,也可以使用双引号来指定字符串。
echo 'Here goes your message with an apostrophe S like thi's';echo "Here goes your message with an apostrophe S like thi's";