语句的脱离方法和c及perl是一样的——终止每一个语句时使用分号(;)。
结束标签(?>)也暗示了说明的结束,所以下面的两句话是等价的:
<php
echo "this is a test";
?>
<php echo "this is a test" ?>
语句的脱离方法和c及perl是一样的——终止每一个语句时使用分号(;)。
结束标签(?>)也暗示了说明的结束,所以下面的两句话是等价的:
<php
echo "this is a test";
?>
<php echo "this is a test" ?>