PHP holiday1

寒假觉得应该学点什么 ,既然决定了就去做吧

放假前就觉得php很好,那就来学一下

------------------------------------------------------------------------------------------------

<?php
$test = “PHP”;
$str = “I love $test”;
$str1 = ‘I love $test’;
echo $str; //
<?php
$test = “PHP”;
$str = “I love $test”;
$str1 = ‘I love $test’;
echo $str; // ?????I love PHP
echo $str1; //
I love PHP
echo $str1; // ?????I love $test
?>

  上面展示了PHP里面单引号和双引号的区别

 

posted @ 2016-01-30 20:33  zach96  阅读(196)  评论(0编辑  收藏  举报