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

From: Date: Fri, 18 Apr 2008 11:33:27 +0000
Subject: Re: [RFC] Type hints (parameter and return value)
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-37131@lists.php.net to get a copy of this message
On 18/04/2008, Arvids Godjuks <arvids.godjuks@gmail.com> wrote: > +1 for strict types. > > That way it will be simple: > * Don't need - then don't use at all > * You need it - you use it fully. > > One thing than left to clearfy - do we allow to hint only part of args or do > we go the road "if hint args, then hint them all!" (I'm personaly for second > one - be strict) > It may be that a parameter CAN be mixed, so a lack of a type hint should be supported even if strict type hinting is used/implemented. Maybe a type hint of mixed? -- ----- Richard Quadling Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731 "Standing on the shoulders of some very clever giants!"

« previous php.internals (#37131) next »