Re: 5.4.3 type hint handling

From: Date: Sat, 02 Jun 2012 11:04:49 +0000
Subject: Re: 5.4.3 type hint handling
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-60725@lists.php.net to get a copy of this message
On Sat, Jun 2, 2012 at 11:41 AM, Anatoliy Belsky <ab@php.net> wrote: > Hi Felipe, > > that's ok but doesn't answer the question with the doc generator :) . > Another issue with this were "php --re" where people would want to look at > the param list. imho it looks more consistent in 5.3 . The doc generator only supports array and class typehints. Everything else will default to "mixed" (IIRC) and you'll need to edit the template afterwards. These typehints you are trying to use, if allowed, would actually reject "10" for IS_LONG before the function would ever be executed. I highly doubt that is what you want. -Hannes

« previous php.internals (#60725) next »