标签:c text as r class false 需要 hello 区别
$a=false; $a=""; $a=0;
$b=false;
echo $a==$b?"true":"false";
单引号和双引号的区别:
单引号内部的变量不会执行
双引号会执行
如
$name = ‘hello‘;
echo "the $name";
会输出 the hello
而如果是单引号
$name = ‘hello‘;
echo ‘the $name‘;
会输出 the $name
标签:c text as r class false 需要 hello 区别
原文地址:http://www.cnblogs.com/happydd/p/3948692.html