1
在php中如何在某些頁面中將short_open_tag設置爲1/true?PHP的短標籤設置爲true
在php中如何在某些頁面中將short_open_tag設置爲1/true?PHP的短標籤設置爲true
不推薦但是,基於手冊ini directives和setting them inline上:
ini_set ('short_open_tag' , '1');
...在PHP中的較新版本,你不能從頁面中設置此。
http://php.net/manual/en/configuration.changes.php – 2011-02-14 10:49:36
可能重複的[如何啓用PHP短標籤?](http://stackoverflow.com/questions/2185320/how-to- enable-php-short-tags)以及其他一些功能。請在使用之前使用搜索功能:[http://stackoverflow.com/search?q=how+to+enable+short+tags+php](http://stackoverflow.com/search?q=how+to+ enable + short + tags + php) – Gordon 2011-02-14 10:50:23