Re: [RFC] Strict type hints (parameter and return value)

From: Date: Thu, 17 Apr 2008 18:16:16 +0000
Subject: Re: [RFC] Strict type hints (parameter and return value)
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-37107@lists.php.net to get a copy of this message
Derick Rethans wrote: > On Thu, 17 Apr 2008, Felipe Pena wrote: > >> Em Qui, 2008-04-17 às 17:17 +0200, Paul Biggar escreveu: >>> Hi Felipe, >>> >>> Thanks for making the change. This is much more consistent. It remains >>> that there is no 'scalar' or 'numeric' hint. Are you planning on >>> including them? >> No, i'm not planning to do that. > > I don't think scalar is very useful, but I do think there is a case for > numeric. > > regards, > Derick > Scalar is useful if you DON'T want an array or object - but don't care if you get an int/string/whatnot Thanks, Elizabeth

« previous php.internals (#37107) next »