Re: [PATCH] Optional scalar type hinting
| From: | Sam Barrow | Date: | Sun, 18 Nov 2007 23:35:20 +0000 |
| Subject: | Re: [PATCH] Optional scalar type hinting | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-33270@lists.php.net to get a copy of this message | ||
I've been working on your patch, adding types and making it more stable.
Worked pretty good for me though, with the exception of a couple things
(some code was different in 5.3 than in your diff files, but that makes
sense as you wrote this patch in 2006).
I think more type hinting in all areas would be good, and if this is
something that is going to be implemented, I am willing to do as much of
the work as I'd have to.
On Sun, 2007-11-18 at 21:25 +0100, Derick Rethans wrote:
> On Thu, 15 Nov 2007, Marcus Boerger wrote:
>
> > we discussed this a million times already I think. And the conclusion is
> > to not allow type hinting for base types.
>
> I am actually thinking that it might be a good thing to add more and
> more. I know my quick hack isn't the best implementation though.
>
> Derick
>