'<?'与'<?php' [英] '<?' versus '<?php'
问题描述
大家好,
我最近遇到了拒绝这个成语的PHP5安装,<? //代码?
并且实际上在发送到浏览器的输出中呈现。
Yikes!
系统管理员无法说明原因,但建议它是PHP5
的事情。
所以我的问题是:<?php将成为必需品吗?如果它是
,我们将不允许用简写回显<?php = $ foo?因为我们
曾经<?= $ bar ??因为那也被打破了。
感谢您的任何建议,
JG
FOO?因为我们
习惯了<?=
吧?因为它也被打破了。
感谢您的任何建议,
JG
jerrygarciuh写道:
大家好,
我最近遇到了拒绝这个成语的PHP5安装,<? //代码?
>并且实际上在发送到浏览器的输出中呈现。
Yikes!
系统管理员无法说明原因,但建议它是PHP5
的事情。
所以我的问题是:<?php将成为必需品吗?如果它是
,我们将不允许用简写回显<?php =
Hi folks,
I recently ran into a PHP5 install that rejects the idiom, <? // code ?and in fact renders that in the output that is sent to the browser.Yikes!
The sysadmins could not say why this was but suggested it was a PHP5
thing.
So my question to you: is <?php going to become required? And if it
is will we not be allowed to echo by the shorthand <?php=$foo? as we
used to <?=$bar?? As that was broken too.
Thanks for any advice,
JG解决方案foo? as we
used to <?=
bar?? As that was broken too.
Thanks for any advice,
JG
jerrygarciuh wrote:Hi folks,
I recently ran into a PHP5 install that rejects the idiom, <? // code ?>and in fact renders that in the output that is sent to the browser.Yikes!
The sysadmins could not say why this was but suggested it was a PHP5
thing.
So my question to you: is <?php going to become required? And if it
is will we not be allowed to echo by the shorthand <?php=
这篇关于'<?'与'<?php'的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!