Re: AW: [PHP-DEV] Renaming type-hints to something else?

2014-09-17 Thread Rowan Collins
Robert Stoll wrote (on 16/09/2014): I would argue type declaration is wrong as well since it is not a type declaration as it is known in other languages where the type declaration is binding. IMO it is more a type check. Consider the following function foo(Bar $b){ $b = 1; //$b is not a Bar

AW: AW: [PHP-DEV] Renaming type-hints to something else?

2014-09-17 Thread Robert Stoll
-Ursprüngliche Nachricht- Von: Rowan Collins [mailto:rowan.coll...@gmail.com] Gesendet: Mittwoch, 17. September 2014 18:01 An: internals@lists.php.net Betreff: Re: AW: [PHP-DEV] Renaming type-hints to something else? Robert Stoll wrote (on 16/09/2014): I would argue type

AW: [PHP-DEV] Renaming type-hints to something else?

2014-09-16 Thread Robert Stoll
-Ursprüngliche Nachricht- Von: Andrea Faulds [mailto:a...@ajf.me] Gesendet: Dienstag, 16. September 2014 17:26 An: Levi Morrison Cc: internals Betreff: Re: [PHP-DEV] Renaming type-hints to something else? On 16 Sep 2014, at 16:24, Levi Morrison le...@php.net wrote: On Tue,