[英]PHP Closing Tag: =?>
I've just seen this comment on php.net, which contains the following snippet of code:我刚刚在 php.net 上看到了这条评论,其中包含以下代码片段:
</head>
<?= ob_flush(); =?>
<body>
I've not seen the =?>
used before (I'm fine with the <?=
, that's obvious) and when I put it in a test file it gave a syntax error.我以前没有看到=?>
使用过(我对<?=
,这很明显),当我把它放在测试文件中时,它给出了一个语法错误。 So, is this just a typo, or is there any situation where this is syntactically valid?那么,这只是一个错字,还是在语法上是有效的?
Typo.错字。
There is a lot of junk in php.net comments. php.net 评论中有很多垃圾。
As of recently, it's now possible to vote on comments on php.net .最近,现在可以对 php.net上的评论进行投票。
我很确定那是 php.net 上数以千计的错误注释之一。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.