Doc #78144 [Opn->Nab]: Is <?= shorthand tag removed in 7.0.0 or not?

From: Date: Tue, 11 Jun 2019 15:16:19 +0000
Subject: Doc #78144 [Opn->Nab]: 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-16737@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 Updated by: peehaa@php.net Reported by: johannes dot kingma at gmail dot com Summary: Is <?= shorthand tag removed in 7.0.0 or not? -Status: Open +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: No it is not. You are confusing an ASP tag (<%=) with a PHp tag (<?=). They are different things. Previous Comments: ------------------------------------------------------------------------ [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 ------------------------------------------------------------------------ [2019-06-11 14:51:18] peehaa@php.net > <?= is NOT removed from PHP in version 7.+ You are correct that they are not removed. You are incorrect in your assumption that it is stated otherwise (on any of your shared links). ------------------------------------------------------------------------ [2019-06-11 14:45:47] johannes dot kingma at gmail dot com ON https://www.php.net/manual/en/language.basic-syntax.phptags.php under Chantelog I read: 7.0.0 The ASP tags <%, %>, <%=, and the script tag <script language="php"> are removed from PHP. The ASP tags ARE, the short code <?= is NOT removed from PHP in version 7.+ ------------------------------------------------------------------------ [2019-06-11 14:23:03] girgias@php.net The changelog entry is on the ASP tags [1] which have been removed. The short echo tag <?= is always available as of PHP 5.4 as can be seen on the note above [1] It seems you are not making a distinction between both INI directives [1] https://www.php.net/manual/en/ini.core.php#ini.asp-tags ------------------------------------------------------------------------ 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 (#16737) next »