There was no consensus on that, but as i remember the tendency was more to
the weak type hinting because of dynamic nature of PHP. You know - all the
http data comes as strings, most db data comes as strings and so on.
27.04.2011 11:30 пользователь "Pas" <pasthe...@gmail.com> написал:
> On Wed, Apr 27, 2011 at 09:23, Ferenc Kovacs <i...@tyrael.hu> wrote:
>> On Thu, Jul 29, 2010 at 3:49 AM, Felipe Pena <felipe...@gmail.com> wrote:
>>
>>> Hi all,
>>> I've updated the patch and the RFC that proposes the return type-hint
>>> implementation (Engine + Reflection).
>>> The proposed implementation is working just like the last changes in the
>>> parameter type-hint (in trunk). i.e. working with the "scalar" and
>>> "numeric"
>>> pseudo-types.
>>>
>>> http://wiki.php.net/rfc/returntypehint
>>>
>>> Thoughts?
>>>
>>> --
>>> Regards,
>>> Felipe Pena
>>>
>>
>> for the upcoming 5.4 release, I think it would be extremely useful, even
>> without the scalar stuff.
>>
>> Tyrael
>>
>
>
> Hi,
>
> Now that someone else necromanced this thread back to life, may I ask
> which variant of Type Hinting have emerged from the debate as the
> candidate for implementation?
>
> Also, I seem to remember a variant with both strict and weak type
> hinting/checking, using parentheses to distinguish behavior. What
> happened to that, never made it to an RFC?
>
> --
> Pas
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>

Reply via email to