Hi Niklas,
Niklas Keller wrote:
There is a difference between not set and no meaningful value.
In PHP, there's no such difference for properties. And I think we should be
consistent with the existing behavior here.
That's not quite true, unset properties produce a notice when accessed,
properties set to null do not, and it is possible to check whether a
property is set or not versus just null. Likewise with variables, array
members, etc.
Thanks.
--
Andrea Faulds
https://ajf.me/
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php