摘要: 1.单引号里面的字符串直接全部转义,原样输出(即:单引号内部的变量不会被执行)2.双引号里面的变量会被替换(即:变量会执行)例如:$name = 'hello';echo "the $name"; 会输出 the hello而如果是单引号$name = 'hello';echo 'the $nam... 阅读全文
posted @ 2014-04-15 23:29 ITCHN 阅读(328) 评论(0) 推荐(0) 编辑