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

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: https://www.php.net/unsub.php

Reply via email to