18 messages in net.php.lists.internalsRe: [PHP-DEV] [PATCH] Scalar type hin...
FromSent OnAttachments
Hannes MagnussonNov 3, 2006 10:00 am.txt
PierreNov 3, 2006 10:39 am 
Marcus BoergerNov 3, 2006 10:46 am 
Ron KorvingNov 3, 2006 10:48 am 
Ilia AlshanetskyNov 3, 2006 11:06 am 
PierreNov 3, 2006 11:12 am 
Zeev SuraskiNov 3, 2006 12:34 pm 
Brian MoonNov 3, 2006 2:45 pm 
Richard LynchNov 6, 2006 12:18 pm 
Markus FischerNov 6, 2006 11:00 pm 
Richard QuadlingNov 7, 2006 1:26 am 
Ron KorvingNov 7, 2006 2:19 am 
Richard QuadlingNov 7, 2006 2:39 am 
Christian SchneiderNov 7, 2006 6:45 am 
Richard QuadlingNov 7, 2006 7:33 am 
Richard LynchNov 7, 2006 10:45 am 
Richard QuadlingNov 8, 2006 1:37 am 
Derick RethansNov 15, 2006 12:19 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [PHP-DEV] [PATCH] Scalar type hinting ;)Actions...
From:Marcus Boerger (hel@php.net)
Date:Nov 3, 2006 10:46:26 am
List:net.php.lists.internals

Hello 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.

best regards marcus

Friday, November 3, 2006, 7:39:41 PM, you wrote:

Hello,

On 11/3/06, Hannes Magnusson <hann@gmail.com> wrote:

Hello all!

Attached is a patch (against 5_2) to allow scalar type hinting \o/

I realize that maaany will be against it so I won't be pushing it (a lot), just wanted the patch archived somewhere :)

-1 unless we add a "strongly typed" mode in php and allow scalar type hinting only in this mode. But thinking about php raising errors when I pass string("1") instead of int(1 )is not really what I consisder as a nice addition :)

--Pierre

Best regards, Marcus