Doc #78144 [Com]: Is <?= shorthand tag removed in 7.0.0 or not?

From: Date: Tue, 11 Jun 2019 21:08:30 +0000
Subject: Doc #78144 [Com]: Is <?= shorthand tag removed in 7.0.0 or not?
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-16740@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=78144&edit=1 ID: 78144 Comment by: johannes dot kingma at gmail dot com Reported by: johannes dot kingma at gmail dot com Summary: Is <?= shorthand tag removed in 7.0.0 or not? Status: Not a bug Type: Documentation Problem Package: PHP Language Specification PHP Version: 7.0.0 Block user comment: N Private report: N New Comment: I might be me but the document lacks definition of ASP tags. It should mention or explain that ASP tags <% %> <%= and explain that they are gone on 5.4.+ or should not be mentioned at all. Or, alternative should be describted in a document called ASP tags. Out of the blue they appear in the Changelog without being described or used anywhere else. This IS confusing. If the goal of php.net is to explain things than it should explain things it mentions or not mention them. Do I make sense here? Am I the only one being thrown of gard by a sudden reference to ASP tags in the Changelog? I means searching for ASP Tags gets a "asp tags doesn't exist" so I assume they don't. Previous Comments: ------------------------------------------------------------------------ [2019-06-11 15:45:12] girgias@php.net Because the documentation covers every version of PHP from PHP 5.0.0. And in PHP 5, ASP tags where valid PHP tags. Moreover, I don't see how the text is confusing what so ever, but maybe that's just me. ------------------------------------------------------------------------ [2019-06-11 15:24:49] johannes dot kingma at gmail dot com You're absolutely right and I am blind and offer my sincere apologies In my defence: the whole text is confusing for the reader. why write about ASP tags in a document about standard and short PHP tags? It is not mentionened in the document. This might make sense from a historic point of view but has no use in document on PHP tags. ------------------------------------------------------------------------ [2019-06-11 15:16:19] peehaa@php.net No it is not. You are confusing an ASP tag (<%=) with a PHp tag (<?=). They are different things. ------------------------------------------------------------------------ [2019-06-11 15:08:59] johannes dot kingma at gmail dot com Btw this Changelog is wrong in all languages except Chinese. ------------------------------------------------------------------------ [2019-06-11 15:05:27] johannes dot kingma at gmail dot com https://www.php.net/manual/en/language.basic-syntax.phptags.php https://imgur.com/a/C7dkpm9 ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at https://bugs.php.net/bug.php?id=78144 -- Edit this bug report at https://bugs.php.net/bug.php?id=78144&edit=1

« previous php.doc.bugs (#16740) next »