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里面单引号和双引号的区别