Re: Future stability of PHP?
| From: | Tim Düsterhus | Date: | Mon, 10 Apr 2023 14:48:41 +0000 |
| Subject: | Re: Future stability of PHP? | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-119860@lists.php.net to get a copy of this message | ||
Hi
On 4/10/23 16:37, Thomas Bley wrote:
Regarding compatibility promise, I'd also like to mention that things are quite complex now, e.g. https://3v4l.org/VfAr4 has 4 different outputs between php 7.x and 8.x. From userland perspective, having <?php8 or <?php9 would make things a lot easier and more productive.No, it has two different outputs, one for PHP 7, one for PHP 8. It also has two different deprecation notices, one concerning the behavioral change between PHP 7 and PHP 8 we're seeing and one concerning an upcoming behavioral change with PHP 9. However in all PHP versions the function call clearly is non-sense, because 'null' clearly cannot be a substring of a string, as it is a completely unrelated data type. Best regards Tim Düsterhus