Re: [PATCH] Scalar type hinting ;)
| From: | Zeev Suraski | Date: | Fri, 03 Nov 2006 20:34:24 +0000 |
| Subject: | Re: [PATCH] Scalar type hinting ;) | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-26314@lists.php.net to get a copy of this message | ||
At 11:12 03/11/2006, Pierre wrote:
Hello, On 11/3/06, Marcus Boerger <helly@php.net> wrote:Exactly++. And it doesn't make sense to have different semantics for the same type-hinting feature (ensuring the right type, or converting to the right type), therefore, no scalar type hinting. ZeevHello Pierre, i think it would only make sense if the automatic type conversion is correctly supported but then why use it at all? That by the way is the reason we declined it in the past several times.Exactly