当前位置:首页 >> 网络编程

PHP之短标签开启设置

复制代码 代码如下:
//php.ini中
short_open_tag = On

//除<?php ?>,可使用更灵活的调用方法
<? /*程序操作*/ ?>
<?=/*函数*/?>