On Sunday 09 May 2004 19.24, Derick Rethans wrote:
> On Sun, 9 May 2004, Andi Gutmans wrote:
> > >null or MyClass $a = 5 ?
> >
> > I don't like this. I think it's too long and ugly.
> >
> > >I've no idea what nullable is supposed to mean... (well, I do :)
>
> I thought about this a bit more, but couldn't actually see why something
> like "nullable" is needed at all. Simple solution: If you expect an
> object of a specific class; if it also might be NULL, don't use a class
> hint at all. So *why* do we even need "bloat" like "nullable" or
> something similar.

I agree. I can't see any use for this.

/Magnus

-- 
Where's the man could ease a heart like a satin gown?
                -- Dorothy Parker, "The Satin Dress"

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

Reply via email to