Re: Annoucing PHP 5.4 Alpha 1
| From: | Scott MacVicar | Date: | Tue, 10 Aug 2010 22:50:56 +0000 |
| Subject: | Re: Annoucing PHP 5.4 Alpha 1 | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-49292@lists.php.net to get a copy of this message | ||
On Aug 10, 2010, at 3:11 PM, Johannes Schlüter wrote:
> On Wed, 2010-08-11 at 00:03 +0200, Kalle Sommer Nielsen wrote:
>> type hinting
>
> For the record: I consider the current implementation as (one of) the
> biggest mistakes in the last ten years.
>
> johannes
I'm happy to see a more strict implementation, but I think our numeric handling needs changed.
We silently fall between them all in PHP. Sure we can guarantee array, null, bool, resource, string
etc but not the numeric types.
I think we should hold off on the Alpha until we're agreed with thats happening with that.
- S