Re: PHP 7.1 - Address PHPSadness #28?
| From: | François Laupretre | Date: | Tue, 22 Sep 2015 00:11:02 +0000 |
| Subject: | Re: PHP 7.1 - Address PHPSadness #28? | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-88391@lists.php.net to get a copy of this message | ||
Hi,
for those interested, a pull request implementing an exists() construct (on PHP 7) is available for testing and reviewing :
https://github.com/php/php-src/pull/1530
exists() is modelled after isset(), with the difference that every value (including null) returns true. Check the included '.phpt' test file for examples.
The corresponding RFC, targeting 7.1, will come soon.
Regards
François