Doc #78144 [NEW]: Removed in 7.0.0 or not?
| From: | johannes dot kingma at gmail dot com | Date: | Tue, 11 Jun 2019 13:10:01 +0000 |
| Subject: | Doc #78144 [NEW]: Removed in 7.0.0 or not? | ||
| Groups: | php.doc.bugs | ||
| Request: | Send a blank email to doc-bugs+get-16727@lists.php.net to get a copy of this message | ||
From: johannes dot kingma at gmail dot com
Operating system: <?= shorthand tag
PHP version: 7.3.6
Package: PHP Language Specification
Bug Type: Documentation Problem
Bug description:Removed in 7.0.0 or not?
Description:
------------
---
From manual page: https://php.net/language.basic-syntax.phptags
---
In https://www.php.net/manual/en/ini.core.php#ini.short-open-tag
one can
read that from 5.4 <?= will always be available and that asp_tags will
be removed.
Basic syntax in Changelog claims that <?= were removed from 7.0.0
What is true?
Test script:
---------------
Text should read:
7.0.0 The ASP tags <%, %> and the script tag <script language="php"> are
removed from PHP. The shorthand tag <?= will be available.
Expected result:
----------------
In the php_ini-production:
; This directive determines whether or not PHP will recognize code
between
; <? and ?> tags as PHP source which should be processed as such. It is
; generally recommended that <?php and ?> should be used and that this
feature
; should be disabled, as enabling it may result in issues when
generating XML
; documents, however this remains supported for backward compatibility
reasons.
; Note that this directive does not control the <?= shorthand tag, which
can be
; used regardless of this directive.
; Default Value: On
; Development Value: Off
; Production Value: Off
; http://php.net/short-open-tag
short_open_tag = Off
--
Edit bug report at https://bugs.php.net/bug.php?id=78144&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=78144&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=78144&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=78144&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=78144&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=78144&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=78144&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=78144&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=78144&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=78144&r=support
Expected behavior: https://bugs.php.net/fix.php?id=78144&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=78144&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=78144&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=78144&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=78144&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=78144&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=78144&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=78144&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=78144&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=78144&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=78144&r=mysqlcfg