<?未被识别为 php 分隔符

<? not recognized as php delimiter

我正在使用 xampp 和 php 5.6。我正在使用 laravel 开发一个项目,我遇到了以下问题:

<? 在 blade 模板中未被识别为 php 分隔符。

来自官方文档:

PHP also allows for short open tag <? (which is discouraged since it is only available if enabled using the short_open_tag php.ini configuration file directive, or if PHP was configured with the --enable-short-tags option)

http://php.net/manual/en/language.basic-syntax.phptags.php