Req #72718 [Wfx]: PHP 5.6 doesn't strict/deprecated warn for uniform variable syntax changes
| From: | nikic@php.net | Date: | Sun, 31 Jul 2016 11:04:46 +0000 |
| Subject: | Req #72718 [Wfx]: PHP 5.6 doesn't strict/deprecated warn for uniform variable syntax changes | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-202765@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=72718&edit=1
ID: 72718
Updated by: nikic@php.net
Reported by: spam2 at rhsoft dot net
Summary: PHP 5.6 doesn't strict/deprecated warn for uniform
variable syntax changes
Status: Wont fix
Type: Feature/Change Request
Package: Scripting Engine problem
PHP Version: 7.0.9
Block user comment: N
Private report: N
New Comment:
From your comments I deduce that you do not have an automated test suite that would alleviate this
problem. In that case, may I suggest the use of one of the many PHP 7 compatibility checkers out
there? From a quick look, https://github.com/sstalle/php7cc has code that
accurately detects syntax affected by UVS changes.
Previous Comments:
------------------------------------------------------------------------
[2016-07-31 10:49:20] spam2 at rhsoft dot net
congratulations, so deploy PHP7 will be some sort of "go ahead and look what breaks" since
testing every line of code and action on staging systems is just utopic
------------------------------------------------------------------------
[2016-07-31 10:40:55] nikic@php.net
We're not going to introduce posthumous deprecations on a *stable* branch.
------------------------------------------------------------------------
[2016-07-31 10:26:56] requinix@php.net
I suspect it's not even possible to do this, but I'd rather not spend my time arguing with
you.
------------------------------------------------------------------------
[2016-07-31 10:15:22] spam2 at rhsoft dot net
IT IS A BUG not have any deprecation warnings running hundrets of websites on PHP 5.6 with error
reporting E_ALL
------------------------------------------------------------------------
[2016-07-31 10:14:00] requinix@php.net
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to
report
a bug at http://bugs.php.net/how-to-report.php
You'd think a change like that would be documented, right?
http://php.net/manual/en/migration70.incompatible.php#migration70.incompatible.variable-handling
------------------------------------------------------------------------
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=72718
--
Edit this bug report at https://bugs.php.net/bug.php?id=72718&edit=1