PHP denying use of short hand “<?”

前端 未结 3 1465
栀梦
栀梦 2020-12-06 21:52

I just installed php 5.3.0 and it won\'t run php scripts utilizing short open tags like

3条回答
  •  庸人自扰
    2020-12-06 22:19

    That's because it's simply a bad practice. I suggest re-converting all your scripts to use . If you're lazy, you can use a find and replace, if you have access to powerful command lines like bash you can use sed to do this for you.

提交回复
热议问题