On Wed, Apr 27, 2011 at 11:29 AM, Pas <pasthe...@gmail.com> wrote:

> 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
>
>


On Wed, Apr 27, 2011 at 11:29 AM, Pas <pasthe...@gmail.com> wrote:

> 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
>
>
https://wiki.php.net/rfc/typechecking
Ilia's proposal was implemented, then reverted, and Derick's proposal was
commited, but judging from the mails on internals, this will/could
bereverted from the next release.
the other proposals was never implemented.

ps: we have a(many) different thread for scalar type-hint discussion

Tyrael

Reply via email to