实例
<?php header('content-type:text/html,charset=utf-8'); $name = 'zhujianan'; $nametwo = '$name zhujianan'; echo $nametwo;//打印出$name zhujianan echo '<br>'; $nametwo = "$name zhujianan"; echo $nametwo;//打印出zhujianan zhujianan echo '<br>'; $nametwo = "\$name zhujianan"; echo $nametwo;//打印出$name zhujianan echo '<br>';
运行实例 »
点击 "运行实例" 按钮查看在线实例