2 ms·
PHP7 will still be supported for a while. Debian will probably support it even further. You'll have a long ass time to fix these. Even if you wanted to push th
by alganet 6y ago
PHP7 will still be supported for a while. Debian will probably support it even further. You'll have a long ass time to fix these.
Even if you wanted to push the 8.0.0 to production as soon as it came out, you'd still have until November to run your tests on the RC branch and report any mishaps to the development team.
The backwards compatibility is mostly targeted to major platforms (Wordpress, Drupal, Magento, Symfony, etc).
> Have fun debugging code that worked perfectly well for years and now produces unpredictable results.
This describes my everyday experience with any language or codebase.
The cause for the unpredictable results are often human-related though, not version-related.
> Some of the changes are sadistic. "The precedence of the concatenation operator has changed relative to bitshifts and addition as well as subtraction."
I would gladly remove any code that does concatenation and math/bitwise on the same expression relying on the operator precedence. Sadistic is the person who writes these.
More than 2000 packages were analyzed and only 5 instances of that particular use were found[1], all bugs. This is a good change.
[1]: https://news-web.php.net/php.internals/105442 https://news-web.php.net/php.internals/105442
- john-shaffer 6y ago> > Have fun debugging code that worked perfectly well for years and now produces unpredictable results. > This describes my everyday experience with any language or codebase. That is horrifying. That should absolutely not be normal. I don't know what you work with normally, but it's clear that we are working in completely different worlds.
- alganet 6y agoI don't know any programming context immune to human errors. Stuff just breaks. Sometimes I get lucky and the guy before me wrote a cool test that prevents me from having to start a debugger, but the contrary is often the reality. OSS stuff is usually better, but not much better (OS upgrades always break, for example).