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

From: Date: Sun, 15 Jun 2008 11:29:39 +0000
Subject: Re: [RFC] Strict type hints (parameter and return value)
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-38250@lists.php.net to get a copy of this message
On Sun, 15 Jun 2008, Timm Friebe wrote: > > If anyone wants use type hinting, i believe that it should be strict. > > Otherwise, it makes more sense to not use it. > > I like this generally, but cannot live with the BC issues raised. Introducing > all type names as keywords will make "class Object", "class Integer" and so > on > give a syntax error. http://www.php.net/manual/en/userlandnaming.rules.php regards, Derick

« previous php.internals (#38250) next »