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

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

Reply via email to