Hi,

Stanislav Malyshev wrote:

wouldn't be inventing a new null, though, we'd be leaving the property
undefined until it's initialised, which we already have support for
(properties, and indeed all variables can be unset()).

unset() now causes the property to disappear - as if it were never
defined. But you probably expect something different? So what isset()
would return for such property? What would is_null() return? What would
gettype() return?

Why do you say "now"? unset() has done this for a long time, so far as I know.

Thanks.

--
Andrea Faulds
https://ajf.me/

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

Reply via email to