>We should also consider how an author would allow type-hinted properties to 
>accept NULL as a new value, in both proposals.

public $foo {
    get;
    set(Foo $value = NULL) { $this->foo = $value; }
}

Would work for traditional type-hints.

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

Reply via email to