Re: Type hinting
| From: | Pierre Joye | Date: | Wed, 26 May 2010 19:21:55 +0000 |
| Subject: | Re: Type hinting | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-48475@lists.php.net to get a copy of this message | ||
On Wed, May 26, 2010 at 9:08 PM, Zeev Suraski <zeev@zend.com> wrote:
> At 21:12 26/05/2010, Pierre Joye wrote:
>>
>> As PHP's type system is seen as a big plus,
>> I have to say that many users consider it as a plus in the
>> implementation of a given method function or method. But the same
>> users ask to have something more strict for the methods signature. I
>> think it is a valid request and somehow makes sense too.
>
> I think that the proposed auto-converting type hints answer this request
> quite well...
Certainly, I was only adding a note I consider as important in this
discussion :)
--
Pierre
@pierrejoye | http://blog.thepimp.net | http://www.libgd.org