On Tue, 2010-11-30 at 09:15 -0500, presid...@basnetworks.net wrote:
> That is true for PHP variables.  isset is basically saying "does this
> variable exist", and unset is saying to get rid of it.
> 
> Because properties (as defined in my RFC) are not a variable, but rather a
> set of methods, I do not think there would be any way to "unset" them. 
> Like a method, once they are defined, you cannot get rid of them. 
> Therefore "overloading" isset and unset would not make any sense here.

This is different from the PHP Language then. You can isset() and
unset() "native" properties. And use __isset() and __unset() magic
methods.

A new feature should be consistent with the language definition.

johannes



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

Reply via email to