请问一下各位,<?= 与 echo 的区别.例:
<?
define('root','http://localhost/');
?>
<?=root.'test.html';?>
<? echo root.'test.html';?>
<?
define('root','http://localhost/');
?>
<?=root.'test.html';?>
<? echo root.'test.html';?>
最佳写法是<?php echo 'abc','def';?>
<? echo 等于 <?php echo , 普通写法分别不大
<?=
就当作没有这东西存在