Timm Friebe wrote:
> Aren't optional parameters and allowing NULL for typehints two
> different pairs of shoes?
IMHO, they are. And should stay that way. Unfortunately the only way we
currently have to denote a class-hinted parameter as optional is
Class $object = null
:-(
--
Sebastian Bergmann
http://sebastian-bergmann.de/ http://phpOpenTracker.de/
Das Buch zu PHP 5: http://professionelle-softwareentwicklung-mit-php5.de/
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php