引号嵌入引号
$str_string1='甲问:“你在哪学的厨师啊?”';
$str_string2="乙回答:'当然是新东方啊!'";
$str_string3='甲问:\'能告诉我地址么?\'';
$str_string4="乙回答:\"没问题!\"";
echo $str_string1;
echo "
";
echo $str_string2;
echo "
";
echo $str_string3;
echo "
";
echo $str_string4;
echo "
";
$str_string1='甲问:“你在哪学的厨师啊?”';
$str_string2="乙回答:'当然是新东方啊!'";
$str_string3='甲问:\'能告诉我地址么?\'';
$str_string4="乙回答:\"没问题!\"";
echo $str_string1;
echo "
";
echo $str_string2;
echo "
";
echo $str_string3;
echo "
";
echo $str_string4;
echo "
";
2017-08-01
举报