Hi Rowan,

Le 16/09/2015 12:57, Rowan Collins a écrit :
However, I have still yet to see any use case where it would be necessary or useful to detect - at runtime, rather than in static analysis for debugging - that $i has never been initialised, vs it having been initialised to null.

I agree that it is not needed on local vars very often (maybe in some template systems...). But, even if it is used mostly as a replacement for array_key_exists() or property_exists(), it will improve readability and push devs away from isset(), which is quite positive.

Regards

François


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

Reply via email to