Re: [PHP-DEV] Re: [VOTE][RFC] Coercive Scalar Type Hints

2015-03-29 Thread Yasuo Ohgaki
Hi Benoit, On Sun, Mar 29, 2015 at 2:49 AM, Benoit Schildknecht bensor...@neuf.fr wrote: Why hasn't it closed ? It's way past the 25th. Vote was closed before the end date. IIRC. It's withdrawn status, I suppose. Regards, -- Yasuo Ohgaki yohg...@ohgaki.net

Re: [PHP-DEV] Re: [VOTE][RFC] Coercive Scalar Type Hints

2015-03-15 Thread Dan Ackroyd
Hi Zeev, On 11 March 2015 at 18:48, Zeev Suraski z...@zend.com wrote: Rest assured that if I see that they both seem to be failing as we near the end of the voting time, I'll retract the Coercive STH RFC - and I'll actually vote in favor of the dual mode RFC, People sometimes tell me that

Re: [PHP-DEV] RE: [VOTE][RFC] Coercive Scalar Type Hints

2015-03-11 Thread Anthony Ferrara
Zeev, On Wed, Mar 11, 2015 at 4:50 PM, Zeev Suraski z...@zend.com wrote: -Original Message- From: Derick Rethans [mailto:der...@php.net] Sent: Wednesday, March 11, 2015 10:37 PM To: Zeev Suraski Cc: Anthony Ferrara; internals@lists.php.net Subject: RE: [PHP-DEV] RE: [VOTE][RFC

RE: [PHP-DEV] RE: [VOTE][RFC] Coercive Scalar Type Hints

2015-03-11 Thread Derick Rethans
On Wed, 11 Mar 2015, Zeev Suraski wrote: From: Anthony Ferrara [mailto:ircmax...@gmail.com] function bar(float $x) $foo = 1; bar($foo); // will definitely fail in strict mode No, actually it won't fail in strict mode:

RE: [PHP-DEV] RE: [VOTE][RFC] Coercive Scalar Type Hints

2015-03-11 Thread Zeev Suraski
-Original Message- From: Derick Rethans [mailto:der...@php.net] Sent: Wednesday, March 11, 2015 10:37 PM To: Zeev Suraski Cc: Anthony Ferrara; internals@lists.php.net Subject: RE: [PHP-DEV] RE: [VOTE][RFC] Coercive Scalar Type Hints You're right, sorry. Reverse

RE: [PHP-DEV] Re: [VOTE][RFC] Coercive Scalar Type Hints

2015-03-11 Thread Zeev Suraski
It was actually Anthony who proposed that I do that. He also proposed that if they both pass, we'll have a vote to choose between them. For a lot of people, the dual mode and coercive STH RFCs aren't a zero sum game. They just want ONE of them to pass to have some sort of scalar type hinting,

Re: [PHP-DEV] RE: [VOTE][RFC] Coercive Scalar Type Hints

2015-03-11 Thread Anthony Ferrara
Zeev, You also stated above that false-bool is not supported (I'm guessing you meant float-bool). So users would be able to pass 4.3 to a bool typehint, but not 4.3? This behavior seems very arbitrary and confusing. It may be confusing, but only academically so. Again, this approach tries

Re: [PHP-DEV] Re: [VOTE][RFC] Coercive Scalar Type Hints

2015-03-11 Thread Leigh
On 11 March 2015 at 18:46, Eli e...@eliw.com wrote: Benoit ... actually Anthony's original proposal specifically was designed to be live at the same time as this alternative proposal. And it's even mentioned in the proposal (stating that it would stay open until the 13th or when the

Re: [PHP-DEV] Re: [VOTE][RFC] Coercive Scalar Type Hints

2015-03-11 Thread Eli
Benoit ... actually Anthony's original proposal specifically was designed to be live at the same time as this alternative proposal. And it's even mentioned in the proposal (stating that it would stay open until the 13th or when the alternative proposal voting ended - whichever was later) So this

RE: [PHP-DEV] RE: [VOTE][RFC] Coercive Scalar Type Hints

2015-03-11 Thread Zeev Suraski
-Original Message- From: Anthony Ferrara [mailto:ircmax...@gmail.com] Sent: Wednesday, March 11, 2015 8:28 PM To: Zeev Suraski Cc: Theodore Brown; internals@lists.php.net Subject: Re: [PHP-DEV] RE: [VOTE][RFC] Coercive Scalar Type Hints Zeev, You also stated above that false