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

From: Date: Sun, 15 Jun 2008 21:01:18 +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-38262@lists.php.net to get a copy of this message
On Sun, 2008-06-15 at 11:44 +0200, Timm Friebe wrote: > Hi, > > > 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. > That's actually not true, the patch does not introduce new keywords. > > http://www.google.com/codesearch?q=class+Object+lang%3APHP&hl=en > > - Timm > >

« previous php.internals (#38262) next »