Hi Marcus,

Am 18.05.2008 um 13:20 schrieb Marcus Boerger:
Not allowing unset() is the bug. Having unset delete the property would be
the error. As long as the property still exists with value NULL all is
fine.

I think unset($foo->bar) should unset while $foo->bar = null should set to null to keep things consistent and true to the operation's name.

But as long as unset() is allowed (with either semantics) I'm happy to end this thread.

- Chris


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

Reply via email to