Re: Type hinting - Request for Discussion
| From: | Pierre Joye | Date: | Fri, 10 Jul 2009 07:42:32 +0000 |
| Subject: | Re: Type hinting - Request for Discussion | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-44891@lists.php.net to get a copy of this message | ||
hi,
I'm still in favour of #2 (Ilia's patch) as I don't see a real benefit
of a weak typing implementation, it defeats the main goal of this
addition. I'm also still opposed to add such thing in 5.3.x.
Cheers,
On Thu, Jul 9, 2009 at 9:47 AM, Zeev Suraski<zeev@zend.com> wrote:
> 2. Move forward with the semantics of the current patch. This approach has
> substantial drawbacks in my opinion, and is a strong misfit with the rest of
> PHP (again, in my opinion). See previous posts from Stas, Rasmus, myself
> and maybe others illustrating this point. Lukas's 'Strict and Weak Typing
> RFC' (http://wiki.php.net/rfc/typecheckingstrictandweak) has some good
> insight as to why strict typing is problematic in PHP.
--
Pierre
http://blog.thepimp.net | http://www.libgd.org