在 php.ini 中,有一项设置 short_open_tag。
如果是:short_open_tag = On
则允许使用 <?、<?php。
输出内容可以简写作:<?=
如果是:short_open_tag = Off
则必须写成 <?php。
输出内容不能简写作:<?=,可以用 <? echoc
创建于2005年 渝ICP备05010272号-1
电邮:cftea@126.com