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

2015-02-08 Thread Zeev Suraski
> -Original Message- > From: Jordi Boggiano [mailto:j.boggi...@seld.be] > Sent: Sunday, February 08, 2015 8:12 PM > To: internals@lists.php.net > Subject: Re: [PHP-DEV] [VOTE] Scalar Type Hints > > On 07/02/2015 01:08, Sebastian Bergmann wrote: > > On 02/06/2015 10:22 PM, Nikita Popov wrote

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

2015-02-08 Thread Zeev Suraski
> -Original Message- > From: Andrea Faulds [mailto:a...@ajf.me] > Sent: Sunday, February 08, 2015 9:50 PM > To: Zeev Suraski > Cc: Jordi Boggiano; internals@lists.php.net > Subject: Re: [PHP-DEV] [VOTE] Scalar Type Hints > > Zeev, > > > On 8 Feb 20

RE: [PHP-DEV] Syntactical change to Scalar Type Hints RFC

2015-02-08 Thread Zeev Suraski
FWIW, while I think strict types - stricter than even strict languages - don't belong in PHP, this syntax is clearly a step up from declare(), which was definitely not intended for this purpose. Zeev > -Original Message- > From: Andrea Faulds [mailto:a...@ajf.me] > Sent: Sunday, February

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

2015-02-08 Thread Zeev Suraski
> -Original Message- > From: Matthew Leverton [mailto:lever...@gmail.com] > Sent: Sunday, February 08, 2015 11:17 PM > To: Zeev Suraski > Cc: Jordi Boggiano; PHP internals > Subject: Re: [PHP-DEV] [VOTE] Scalar Type Hints > > On Sun, Feb 8, 2015 at 1:48

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

2015-02-08 Thread Zeev Suraski
> So, controversy is where a lot of people disagree - and there were > numerous > people in the original thread who disagreed with the RFC and preferred > strict > types. I actually tallied them in a reply to Zeev (which I later quoted in > a reply > to Andi). There were almost as many people again

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

2015-02-08 Thread Zeev Suraski
> On 9 בפבר׳ 2015, at 01:45, Andrea Faulds wrote: > > Hi Zeev, > >> On 8 Feb 2015, at 23:24, Zeev Suraski wrote: >> >> It's not stretching the truth or even slightly bending it, considering the >> RFC currently being voted on is a superset of that RF

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

2015-02-08 Thread Zeev Suraski
> On 9 בפבר׳ 2015, at 02:04, Jordi Boggiano wrote: > >> On 08/02/2015 23:24, Zeev Suraski wrote: >> There's zero or virtually zero controversy surrounding the weak typing RFC, >> the one that was v0.1. The controversy wasn't (and isn't) about what was in

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

2015-02-09 Thread Zeev Suraski
> -Original Message- > From: Andrea Faulds [mailto:a...@ajf.me] > Sent: Monday, February 09, 2015 12:44 PM > To: Zeev Suraski > Cc: Jordi Boggiano; internals@lists.php.net > Subject: Re: [PHP-DEV] [VOTE] Scalar Type Hints > > Hi, > > > On 9 Feb 20

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

2015-02-11 Thread Zeev Suraski
> -Original Message- > From: Rasmus Lerdorf [mailto:ras...@lerdorf.com] > Sent: Wednesday, February 11, 2015 8:37 AM > To: Xinchen Hui; Andrea Faulds > Cc: PHP Internals > Subject: Re: [PHP-DEV] [VOTE] Scalar Type Hints > > On 02/10/2015 07:57 PM, Xinchen Hui wrote: > >> am I wrong?! > > se

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

2015-02-11 Thread Zeev Suraski
Faulds *Cc:* Zeev Suraski; Rasmus Lerdorf; PHP Internals *Subject:* Re: [PHP-DEV] [VOTE] Scalar Type Hints Hi all, @Zeev and @Rasmus: Seriously, you both mentioned that consider the idea of scalar type hint, but I've never seen which idea would you consider. Andrea built a very flexible w

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

2015-02-11 Thread Zeev Suraski
> -Original Message- > From: Sebastian B.-Hagensen [mailto:sbj.ml.r...@gmail.com] > Sent: Thursday, February 12, 2015 2:11 AM > To: Zeev Suraski > Cc: guilhermebla...@gmail.com; Rasmus Lerdorf; PHP Internals > Subject: Re: [PHP-DEV] [VOTE] Scalar Type Hints > > Hi,

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

2015-02-12 Thread Zeev Suraski
> @Zeev: I don't like being used, singling out only my blog post because it > proves your opinion, where clearly there were other posts in favour of > strict > mode typing, for exampl e ircmaxell his. Benjamin, As we discussed in personal exchanges, I really don't think I 'used' you and it certai

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

2015-02-12 Thread Zeev Suraski
> From: Andrea Faulds [mailto:a...@ajf.me] > Sent: Thursday, February 12, 2015 1:45 PM > To: Pavel Kouřil > Cc: guilhermebla...@gmail.com; Zeev Suraski; Rasmus Lerdorf; PHP > Internals > Subject: Re: [PHP-DEV] [VOTE] Scalar Type Hints > > Hi, > > > On 12 Feb 20

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

2015-02-13 Thread Zeev Suraski
> On 13 בפבר׳ 2015, at 13:13, Andrea Faulds wrote: > > Hi, > >> On 13 Feb 2015, at 09:37, Patrick ALLAERT wrote: >> >> Voted "no" because of the reasons already mentioned by a bunch of others >> here. >> >> Weak type hint as presented earlier: +1 (and very good job Andrea about >> that!).

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

2015-02-13 Thread Zeev Suraski
> With that said, there's nothing stopping you from putting up your time to > create a competing proposal and patch. If you really believe that weak > types > are the better way forward, why not codify that? If only one of the RFCs > passes, then you have your answer. If both pass, we can simply ha

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

2015-02-13 Thread Zeev Suraski
> -Original Message- > From: Anthony Ferrara [mailto:ircmax...@gmail.com] > Sent: Friday, February 13, 2015 9:34 PM > To: Zeev Suraski > Cc: PHP Internals > Subject: Re: [PHP-DEV] [VOTE] Scalar Type Hints > > Zeev, > > You said you disagreed with my post (me

RE: [PHP-DEV] RFC: Expectations

2015-02-16 Thread Zeev Suraski
> -Original Message- > From: yohg...@gmail.com [mailto:yohg...@gmail.com] On Behalf Of Yasuo > Ohgaki > Sent: Monday, February 16, 2015 11:45 AM > To: Joe Watkins > Cc: PHP internals > Subject: Re: [PHP-DEV] RFC: Expectations > > Hi Joe, > > On Mon, Feb 16, 2015 at 6:37 PM, Joe Watkins > w

RE: [PHP-DEV] Re: I quit.

2015-02-16 Thread Zeev Suraski
> -Original Message- > From: rdlow...@gmail.com [mailto:rdlow...@gmail.com] On Behalf Of > Daniel Lowrey > Sent: Monday, February 16, 2015 5:13 PM > To: internals@lists.php.net > Subject: [PHP-DEV] Re: I quit. > > > The 0.1 RFC version was mentioned a lot as a good compromise by many > > pe

RE: [PHP-DEV] Reviving scalar type hints

2015-02-16 Thread Zeev Suraski
> -Original Message- > From: p...@golemon.com [mailto:p...@golemon.com] On Behalf Of Sara > Golemon > Sent: Tuesday, February 17, 2015 1:58 AM > To: franc...@php.net > Cc: Philip Sturgeon; Arvids Godjuks; Jefferson Gonzalez; Rowan Collins; > PHP > internals > Subject: Re: [PHP-DEV] Reviving

Re: [PHP-DEV] Reviving scalar type hints

2015-02-16 Thread Zeev Suraski
In a word, yes. Have to say you're abilities to compile Zeev -> formal declaration are pretty amazing :) Zeev > On 17 בפבר׳ 2015, at 08:20, Sara Golemon wrote: > >> On Mon, Feb 16, 2015 at 10:04 PM, Zeev Suraski wrote: >> That syntax poll aside, I had w

RE: [PHP-DEV] Reviving scalar type hints

2015-02-17 Thread Zeev Suraski
> -Original Message- > From: François Laupretre [mailto:franc...@php.net] > Sent: Tuesday, February 17, 2015 2:58 PM > To: 'Sara Golemon'; 'Zeev Suraski' > Cc: 'PHP internals' > Subject: RE: [PHP-DEV] Reviving scalar type hints > >

RE: [PHP-DEV] Reviving scalar type hints

2015-02-17 Thread Zeev Suraski
> -Original Message- > From: Andrey Andreev [mailto:n...@devilix.net] > Sent: Tuesday, February 17, 2015 4:49 PM > To: Zeev Suraski > Cc: franc...@php.net; Sara Golemon; PHP internals > Subject: Re: [PHP-DEV] Reviving scalar type hints > > Hi, > > On Tue,

RE: [PHP-DEV] Reviving scalar type hints

2015-02-17 Thread Zeev Suraski
> -Original Message- > From: Anthony Ferrara [mailto:ircmax...@gmail.com] > Sent: Tuesday, February 17, 2015 5:48 PM > To: Zeev Suraski > Cc: franc...@php.net; Sara Golemon; PHP internals > Subject: Re: [PHP-DEV] Reviving scalar type hints > > Zeev et al, >

Re: [PHP-DEV] Reviving scalar type hints

2015-02-17 Thread Zeev Suraski
> On 17 בפבר׳ 2015, at 18:32, Andrey Andreev wrote: > > Hi, > >> On Tue, Feb 17, 2015 at 6:11 PM, Zeev Suraski wrote: >> >> If it gave both sides exactly what they wanted, how come it generated so >> much objection? >> >> Simply put, because

RE: [PHP-DEV] Reviving scalar type hints

2015-02-17 Thread Zeev Suraski
> Yes, I already know that. > The difference, and why I keep pointing that out, is that me and many > others > want strict typing for our own reasons (but still in its entirety instead > of as a > limited mode) and most of us don't even care if you getting weak typing > for > your own usage. You ca

RE: [PHP-DEV] Scalar Type Hints v0.4

2015-02-17 Thread Zeev Suraski
> -Original Message- > From: Nikita Popov [mailto:nikita@gmail.com] > Sent: Wednesday, February 18, 2015 3:06 AM > To: Rasmus Lerdorf > Cc: Sara Golemon; PHP internals > Subject: Re: [PHP-DEV] Scalar Type Hints v0.4 > > The inability to implicitly cast "123" to int is pretty much the KE

RE: [PHP-DEV] Scalar Type Hints v0.4

2015-02-18 Thread Zeev Suraski
> Consider the following signature: > > function foo(int $bar) {} > > In the case of a *string* representation of a hexadecimal number, the > following would error only on the last iteration with a weak hint, and on > the > very first if it was a strict hint: > > for ($i = 0; $i < 11; $i++)

RE: [PHP-DEV] Scalar Type Hints v0.4

2015-02-18 Thread Zeev Suraski
> -Original Message- > From: Robert Stoll [mailto:p...@tutteli.ch] > Sent: Wednesday, February 18, 2015 1:14 PM > To: 'Zeev Suraski'; 'Nikita Popov'; 'Rasmus Lerdorf' > Cc: 'Sara Golemon'; 'PHP internals' > Subject: AW:

RE: [PHP-DEV] Scalar Type Hints v0.4

2015-02-18 Thread Zeev Suraski
> -Original Message- > From: Pádraic Brady [mailto:padraic.br...@gmail.com] > Sent: Wednesday, February 18, 2015 4:50 PM > To: Andrey Andreev > Cc: Zeev Suraski; Nikita Popov; Rasmus Lerdorf; Sara Golemon; PHP > internals > Subject: Re: [PHP-DEV] Scalar Type Hints v0

Re: [PHP-DEV] Scalar Type Hints v0.4

2015-02-18 Thread Zeev Suraski
> On 18 בפבר׳ 2015, at 19:50, Rasmus Lerdorf wrote: > > On 02/18/2015 08:51 AM, François Laupretre wrote: >>> De : Pádraic Brady [mailto:padraic.br...@gmail.com] >>> >>> Careful, it helps not to call folk "radicals" if you intend to pursue >>> a compromise with them ;). >> >> Sorry, english is

RE: [PHP-DEV] Reviving scalar type hints

2015-02-19 Thread Zeev Suraski
> -Original Message- > From: Larry Garfield [mailto:la...@garfieldtech.com] > Sent: Thursday, February 19, 2015 9:00 AM > To: internals@lists.php.net > Subject: Re: [PHP-DEV] Reviving scalar type hints > > On 02/17/2015 01:30 PM, Zeev Suraski wrote: > >> Yes,

RE: [PHP-DEV] Reviving scalar type hints

2015-02-19 Thread Zeev Suraski
> -Original Message- > From: Lester Caine [mailto:les...@lsces.co.uk] > Sent: Thursday, February 19, 2015 12:24 PM > To: internals@lists.php.net > Subject: Re: [PHP-DEV] Reviving scalar type hints > > On 19/02/15 09:13, Zeev Suraski wrote: > > Obviously, I thin

RE: [PHP-DEV] Using Other Channels (was Scalar Type Declarations v0.5)

2015-02-19 Thread Zeev Suraski
> -Original Message- > From: Anthony Ferrara [mailto:ircmax...@gmail.com] > Sent: Thursday, February 19, 2015 3:24 PM > To: franc...@php.net > Cc: Lester Caine; internals@lists.php.net > Subject: [PHP-DEV] Using Other Channels (was Scalar Type Declarations > v0.5) > > Let me quote something

RE: [PHP-DEV] Using Other Channels (was Scalar Type Declarations v0.5)

2015-02-19 Thread Zeev Suraski
> -Original Message- > From: Anthony Ferrara [mailto:ircmax...@gmail.com] > Sent: Thursday, February 19, 2015 4:04 PM > To: Zeev Suraski > Cc: internals@lists.php.net > Subject: Re: [PHP-DEV] Using Other Channels (was Scalar Type Declarations > v0.5) > > Zeev, &g

RE: [PHP-DEV] Using Other Channels (was Scalar Type Declarations v0.5)

2015-02-19 Thread Zeev Suraski
> -Original Message- > From: Pierre Joye [mailto:pierre@gmail.com] > Sent: Thursday, February 19, 2015 4:09 PM > To: Zeev Suraski > Cc: Anthony Ferrara; PHP internals > Subject: Re: [PHP-DEV] Using Other Channels (was Scalar Type Declarations > v0.5) >

RE: [PHP-DEV] Using Other Channels (was Scalar Type Declarations v0.5)

2015-02-19 Thread Zeev Suraski
> -Original Message- > From: Anthony Ferrara [mailto:ircmax...@gmail.com] > Sent: Thursday, February 19, 2015 4:24 PM > To: Zeev Suraski > Cc: internals@lists.php.net > Subject: Re: [PHP-DEV] Using Other Channels (was Scalar Type Declarations > v0.5) > > Ze

RE: [PHP-DEV] Using Other Channels (was Scalar Type Declarations v0.5)

2015-02-19 Thread Zeev Suraski
> -Original Message- > From: Pierre Joye [mailto:pierre@gmail.com] > Sent: Thursday, February 19, 2015 4:52 PM > To: Zeev Suraski > Cc: PHP internals > Subject: Re: [PHP-DEV] Using Other Channels (was Scalar Type Declarations > v0.5) > > On Thu, Feb 19, 20

Re: [PHP-DEV] Using Other Channels (was Scalar Type Declarations v0.5)

2015-02-19 Thread Zeev Suraski
On 19 בפבר׳ 2015, at 22:08, Anthony Ferrara wrote: > > Zeev, > > Based on Sara's clarification in this thread, I owe you a formal > apology. I interpreted something she said incorrectly, which was then > compounded by messages in private and on-list this morning. I then > attributed both of you

RE: [PHP-DEV] Nightmares on type hints, annotations, and aop...

2015-02-19 Thread Zeev Suraski
Bishop, Pardon me for saying so, but I don't think you're on to a huge scoop here. Scalar type hints - of all the kinds we've been talking about here, be them strict, weak or coercive - can be easily emulated with a couple of lines of code, we all know that. It's been known for years that strict

Re: [PHP-DEV] Reviving scalar type hints

2015-02-20 Thread Zeev Suraski
> On 20 בפבר׳ 2015, at 16:55, Anthony Ferrara wrote: > > verification and static analysis aren't enough? > Anthony, While IMHO they're not enough to warrant substantial deviation from PHP's behavior, this is a subjective question that others might answer differently. But there's also an obj

RE: [PHP-DEV] Reviving scalar type hints

2015-02-21 Thread Zeev Suraski
> -Original Message- > From: Anthony Ferrara [mailto:ircmax...@gmail.com] > Sent: Saturday, February 21, 2015 1:36 AM > To: Larry Garfield > Cc: internals@lists.php.net > Subject: Re: [PHP-DEV] Reviving scalar type hints > > Larry, > > On Fri, Feb 20, 2015 at 6:31 PM, Larry Garfield > wrot

RE: [PHP-DEV] Reviving scalar type hints

2015-02-21 Thread Zeev Suraski
> -Original Message- > From: Anthony Ferrara [mailto:ircmax...@gmail.com] > Sent: Saturday, February 21, 2015 5:23 PM > To: Zeev Suraski > Cc: Larry Garfield; internals@lists.php.net > Subject: Re: [PHP-DEV] Reviving scalar type hints > > I'm fine with that. M

[PHP-DEV] Coercive Scalar Type Hints RFC

2015-02-21 Thread Zeev Suraski
All, I’ve been working with François and several other people from internals@ and the PHP community to create a single-mode Scalar Type Hints proposal. I think it’s the RFC is a bit premature and could benefit from a bit more time, but given the time pressure, as well as the fact that a not f

[PHP-DEV] [RFC] Coercive Scalar Type Hints

2015-02-21 Thread Zeev Suraski
[Resending with the correct Subject line :)] --- All, I’ve been working with François and several other people from internals@ and the PHP community to create a single-mode Scalar Type Hints proposal. I think it’s the RFC is a bit premature and could benefit from a bit more time, but given

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

2015-02-21 Thread Zeev Suraski
> -Original Message- > From: Anthony Ferrara [mailto:ircmax...@gmail.com] > Sent: Saturday, February 21, 2015 8:12 PM > To: Zeev Suraski > Cc: PHP internals > Subject: Re: [PHP-DEV] Coercive Scalar Type Hints RFC > > Zeev, > > First off, thanks for putt

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

2015-02-21 Thread Zeev Suraski
Sorry for the previous prematurely sent email, looks like I found a new keyboard shortcut :) > -Original Message- > From: Anthony Ferrara [mailto:ircmax...@gmail.com] > Sent: Saturday, February 21, 2015 8:12 PM > To: Zeev Suraski > Cc: PHP internals > Subject: Re:

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

2015-02-21 Thread Zeev Suraski
> -Original Message- > From: Pádraic Brady [mailto:padraic.br...@gmail.com] > Sent: Saturday, February 21, 2015 9:56 PM > To: Zeev Suraski > Cc: Anthony Ferrara; PHP internals > Subject: Re: [PHP-DEV] Coercive Scalar Type Hints RFC > > > The sentence stresses gar

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

2015-02-21 Thread Zeev Suraski
> -Original Message- > From: Anthony Ferrara [mailto:ircmax...@gmail.com] > Sent: Saturday, February 21, 2015 10:08 PM > To: Zeev Suraski > Cc: PHP internals > Subject: Re: [PHP-DEV] Coercive Scalar Type Hints RFC > > Zeev, > > I won't nit-pick every poin

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

2015-02-21 Thread Zeev Suraski
Márcio, I hope to be able to work on an actual implementation and have something by the end of the upcoming week, allowing us all to experiment. Other than tweaking the conversion table, which based on the feedbacks I * *believe** can be done in a way everyone can live with – I agree that the b

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

2015-02-21 Thread Zeev Suraski
Benjamin, There’s a fundamental difference between the two RFCs that goes beyond whether using a global INI setting and the other per-file setting. The fundamental difference is that the endgame of the Dual Mode RFC is having two modes – and whatever syntax we’ll add, will be with us forever;

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

2015-02-21 Thread Zeev Suraski
> -Original Message- > From: Anthony Ferrara [mailto:ircmax...@gmail.com] > Sent: Sunday, February 22, 2015 12:25 AM > To: Zeev Suraski > Cc: PHP internals > Subject: Re: [PHP-DEV] Coercive Scalar Type Hints RFC > > Zeev, > > > "with two potential 

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

2015-02-21 Thread Zeev Suraski
On 22 בפבר׳ 2015, at 02:07, François Laupretre wrote: >> De : Lester Caine [mailto:les...@lsces.co.uk] >> >> Fixed length fields may well be a data source so having to strip them >> before using them just seems a backward step. The basic C library simply >> strips the white space so are we loo

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

2015-02-22 Thread Zeev Suraski
From: Etienne Kneuss [mailto:col...@php.net] Sent: Sunday, February 22, 2015 3:00 PM To: Anthony Ferrara; Zeev Suraski Cc: PHP internals Subject: Re: [PHP-DEV] Coercive Scalar Type Hints RFC > The question is rather: at what weight should we take (potential/future) > external tools into a

[PHP-DEV] JIT (was RE: [PHP-DEV] Coercive Scalar Type Hints RFC)

2015-02-22 Thread Zeev Suraski
> -Original Message- > From: Jefferson Gonzalez [mailto:jgm...@gmail.com] > Sent: Sunday, February 22, 2015 4:25 PM > To: Etienne Kneuss; Anthony Ferrara; Zeev Suraski > Cc: PHP internals > Subject: Re: [PHP-DEV] Coercive Scalar Type Hints RFC > Jefferson, Please n

[PHP-DEV] RE: JIT (was RE: [PHP-DEV] Coercive Scalar Type Hints RFC)

2015-02-22 Thread Zeev Suraski
rson Gonzalez > Cc: Etienne Kneuss; Anthony Ferrara; Zeev Suraski; PHP internals > Subject: Re: [PHP-DEV] Coercive Scalar Type Hints RFC > > > 1. Does weak mode could provide the required rules to implement a JIT > with a sane level of memory and CPU usage? > > > > Ther

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

2015-02-22 Thread Zeev Suraski
> -Original Message- > From: Jefferson González [mailto:jgm...@gmail.com] > Sent: Sunday, February 22, 2015 11:59 PM > To: Stanislav Malyshev > Cc: Etienne Kneuss; Anthony Ferrara; Zeev Suraski; PHP internals > Subject: Re: [PHP-DEV] Coercive Scalar Type Hints RFC > &

RE: [PHP-DEV] JIT (was RE: [PHP-DEV] Coercive Scalar Type Hints RFC)

2015-02-22 Thread Zeev Suraski
Anthony, I started writing this long response, but instead, I want to localize the whole discussion to the one true root difference. Your position on that difference is the basis for your entire case, and my position on this argument is the base for my entire case. There we go: > And note that

RE: [PHP-DEV] JIT (was RE: [PHP-DEV] Coercive Scalar Type Hints RFC)

2015-02-22 Thread Zeev Suraski
> -Original Message- > From: Anthony Ferrara [mailto:ircmax...@gmail.com] > Sent: Monday, February 23, 2015 1:35 AM > To: Zeev Suraski > Cc: PHP internals > Subject: Re: [PHP-DEV] JIT (was RE: [PHP-DEV] Coercive Scalar Type Hints > RFC) > > Zeev, > > &g

RE: [PHP-DEV] JIT (was RE: [PHP-DEV] Coercive Scalar Type Hints RFC)

2015-02-22 Thread Zeev Suraski
> -Original Message- > From: Anthony Ferrara [mailto:ircmax...@gmail.com] > Sent: Monday, February 23, 2015 2:25 AM > To: Zeev Suraski > Cc: PHP internals > Subject: Re: [PHP-DEV] JIT (was RE: [PHP-DEV] Coercive Scalar Type Hints > RFC) > > Ze'ev, It

RE: [PHP-DEV] JIT (was RE: [PHP-DEV] Coercive Scalar Type Hints RFC)

2015-02-22 Thread Zeev Suraski
> -Original Message- > From: Anthony Ferrara [mailto:ircmax...@gmail.com] > Sent: Monday, February 23, 2015 3:02 AM > To: Zeev Suraski > Cc: PHP internals > Subject: Re: [PHP-DEV] JIT (was RE: [PHP-DEV] Coercive Scalar Type Hints > RFC) > > Zeev, > >

RE: [PHP-DEV] JIT (was RE: [PHP-DEV] Coercive Scalar Type Hints RFC)

2015-02-22 Thread Zeev Suraski
> -Original Message- > From: Anthony Ferrara [mailto:ircmax...@gmail.com] > Sent: Monday, February 23, 2015 3:21 AM > To: Zeev Suraski > Cc: PHP internals > Subject: Re: [PHP-DEV] JIT (was RE: [PHP-DEV] Coercive Scalar Type Hints > RFC) > > Zeev, > > >

RE: [PHP-DEV] JIT (was RE: [PHP-DEV] Coercive Scalar Type Hints RFC)

2015-02-22 Thread Zeev Suraski
> -Original Message- > From: Jefferson Gonzalez [mailto:jgm...@gmail.com] > Sent: Monday, February 23, 2015 3:58 AM > To: Stanislav Malyshev; Anthony Ferrara > Cc: Zeev Suraski; Jefferson Gonzalez; PHP internals > Subject: Re: [PHP-DEV] JIT (was RE: [PHP-DEV] Coercive

RE: [PHP-DEV] JIT (was RE: [PHP-DEV] Coercive Scalar Type Hints RFC)

2015-02-22 Thread Zeev Suraski
> -Original Message- > From: Anthony Ferrara [mailto:ircmax...@gmail.com] > Sent: Monday, February 23, 2015 3:43 AM > To: Stanislav Malyshev > Cc: Zeev Suraski; Jefferson Gonzalez; PHP internals > Subject: Re: [PHP-DEV] JIT (was RE: [PHP-DEV] Coercive Scalar Type Hin

RE: [PHP-DEV] JIT (was RE: [PHP-DEV] Coercive Scalar Type Hints RFC)

2015-02-23 Thread Zeev Suraski
> -Original Message- > From: Anthony Ferrara [mailto:ircmax...@gmail.com] > Sent: Monday, February 23, 2015 4:38 AM > To: Zeev Suraski > Cc: PHP internals > Subject: Re: [PHP-DEV] JIT (was RE: [PHP-DEV] Coercive Scalar Type Hints > RFC) > > Well, yes and no. >

RE: [PHP-DEV] JIT (was RE: [PHP-DEV] Coercive Scalar Type Hints RFC)

2015-02-23 Thread Zeev Suraski
> -Original Message- > From: Joe Watkins [mailto:pthre...@pthreads.org] > Sent: Monday, February 23, 2015 10:03 AM > To: Jefferson Gonzalez > Cc: Zeev Suraski; PHP internals > Subject: Re: [PHP-DEV] JIT (was RE: [PHP-DEV] Coercive Scalar Type Hints > RFC) > >

RE: [PHP-DEV] JIT (was RE: [PHP-DEV] Coercive Scalar Type Hints RFC)

2015-02-23 Thread Zeev Suraski
> -Original Message- > From: Joe Watkins [mailto:pthre...@pthreads.org] > Sent: Monday, February 23, 2015 11:29 AM > To: Zeev Suraski > Cc: PHP internals > Subject: Re: [PHP-DEV] JIT (was RE: [PHP-DEV] Coercive Scalar Type Hints > RFC) > > Zeev, > >

RE: [PHP-DEV] JIT (was RE: [PHP-DEV] Coercive Scalar Type Hints RFC)

2015-02-23 Thread Zeev Suraski
> -Original Message- > From: Pavel Kouřil [mailto:pajou...@gmail.com] > Sent: Monday, February 23, 2015 11:49 AM > To: Joe Watkins > Cc: Zeev Suraski; PHP internals > Subject: Re: [PHP-DEV] JIT (was RE: [PHP-DEV] Coercive Scalar Type Hints > RFC) > > On Mon, Fe

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

2015-02-23 Thread Zeev Suraski
> -Original Message- > From: Dmitry Stogov [mailto:dmi...@zend.com] > Sent: Monday, February 23, 2015 1:54 PM > To: Joe Watkins > Cc: Etienne Kneuss; Jefferson Gonzalez; PHP internals; Anthony Ferrara; > Zeev > Suraski > Subject: Re: [PHP-DEV] Coercive Scalar Type

RE: [PHP-DEV] JIT (was RE: [PHP-DEV] Coercive Scalar Type Hints RFC)

2015-02-23 Thread Zeev Suraski
> -Original Message- > From: Anthony Ferrara [mailto:ircmax...@gmail.com] > Sent: Monday, February 23, 2015 4:14 PM > To: Zeev Suraski > Cc: Joe Watkins; PHP internals > Subject: Re: [PHP-DEV] JIT (was RE: [PHP-DEV] Coercive Scalar Type Hints > RFC) > > Zeev, &

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

2015-02-23 Thread Zeev Suraski
> -Original Message- > From: Benjamin Eberlei [mailto:kont...@beberlei.de] > Sent: Monday, February 23, 2015 6:54 PM > To: Zeev Suraski > Cc: PHP internals > Subject: Re: [PHP-DEV] Coercive Scalar Type Hints RFC > > Zeev, > > On Sat, Feb 21, 2015 at

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

2015-02-23 Thread Zeev Suraski
> -Original Message- > From: Benjamin Eberlei [mailto:kont...@beberlei.de] > Sent: Monday, February 23, 2015 7:20 PM > To: Zeev Suraski > Cc: PHP internals > Subject: Re: [PHP-DEV] Coercive Scalar Type Hints RFC > > Just disabling E_DEPRECATED is hiding bu

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

2015-02-23 Thread Zeev Suraski
> -Original Message- > From: Benjamin Eberlei [mailto:kont...@beberlei.de] > Sent: Monday, February 23, 2015 9:35 PM > To: Zeev Suraski > Cc: PHP internals > Subject: Re: [PHP-DEV] Coercive Scalar Type Hints RFC > > > > On Mon, Feb 23, 2015 at 7:09 PM, Zeev

[PHP-DEV] Coercive STH RFC updated

2015-02-23 Thread Zeev Suraski
v0.24 now focuses on one migration strategy – E_DEPRECATED for PHP 7.x, and E_RECOVERABLE_ERROR (or likely exceptions) for PHP 8.x and later. wiki.php.net/rfc/coercive_sth We’ll update the implementation accordingly, and hopefully be able to start testing to see how bad of a breakage we’re se

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

2015-02-23 Thread Zeev Suraski
on apps to work, after we tweak the rules - I'll either retract the RFC or the very least rethink the internal functions part of it. Zeev > -Original Message- > From: Anthony Ferrara [mailto:ircmax...@gmail.com] > Sent: Tuesday, February 24, 2015 12:25 AM > To: Zeev Sur

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

2015-02-23 Thread Zeev Suraski
> -Original Message- > From: Rowan Collins [mailto:rowan.coll...@gmail.com] > Sent: Tuesday, February 24, 2015 12:48 AM > To: Pierre Joye; Anthony Ferrara > Cc: PHP internals > Subject: Re: [PHP-DEV] Coercive Scalar Type Hints RFC > > On 22 February 2015 23:56:18 GMT, Pierre Joye > wrote:

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

2015-02-23 Thread Zeev Suraski
> -Original Message- > From: Anthony Ferrara [mailto:ircmax...@gmail.com] > Sent: Tuesday, February 24, 2015 1:12 AM > To: Zeev Suraski > Cc: PHP internals > Subject: Re: [PHP-DEV] Coercive Scalar Type Hints RFC > > Well, I am concerned at this error rate we'

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

2015-02-24 Thread Zeev Suraski
> -Original Message- > From: François Laupretre [mailto:franc...@php.net] > Sent: Wednesday, February 25, 2015 3:20 AM > To: 'Pierre Joye' > Cc: 'Yasuo Ohgaki'; 'Zeev Suraski'; 'Anthony Ferrara'; 'PHP internals' > Subj

RE: [PHP-DEV] The Game Theory of Scalar Type Hint Voting

2015-02-25 Thread Zeev Suraski
> -Original Message> From: Leigh [mailto:lei...@gmail.com] > Sent: Tuesday, February 24, 2015 2:56 PM > To: Albert Casademont Filella > Cc: Benjamin Eberlei; PHP Internals > Subject: Re: [PHP-DEV] The Game Theory of Scalar Type Hint Voting > > On 23 February 2015 at 21:15, Albert Casademont

RE: [PHP-DEV] Re: [RFC-Discuss] Scalar Type Declarations v0.5

2015-02-25 Thread Zeev Suraski
> -Original Message- > From: Shashank Kumar [mailto:shashankkumar...@gmail.com] > Sent: Wednesday, February 25, 2015 2:54 PM > To: Dmitry Stogov > Cc: Anthony Ferrara; internals@lists.php.net > Subject: Re: [PHP-DEV] Re: [RFC-Discuss] Scalar Type Declarations v0.5 > > On Wed, Feb 25, 2015 a

RE: [PHP-DEV] A different user perspective on scalar type declarations

2015-02-26 Thread Zeev Suraski
> -Original Message- > From: Theodore Brown [mailto:theodor...@outlook.com] > Sent: Thursday, February 26, 2015 5:29 PM > To: internals@lists.php.net > Subject: [PHP-DEV] A different user perspective on scalar type declarations > > I am a full-time PHP developer responsible for maintaining

RE: [PHP-DEV] A different user perspective on scalar type declarations

2015-02-26 Thread Zeev Suraski
> -Original Message- > From: Dan Ackroyd [mailto:dan...@basereality.com] > Sent: Thursday, February 26, 2015 8:49 PM > To: Zeev Suraski > Cc: Theodore Brown; internals@lists.php.net > Subject: Re: [PHP-DEV] A different user perspective on scalar type > declarations &g

RE: [PHP-DEV] A different user perspective on scalar type declarations

2015-02-26 Thread Zeev Suraski
> -Original Message- > From: Anthony Ferrara [mailto:ircmax...@gmail.com] > Sent: Thursday, February 26, 2015 9:29 PM > To: Mike Willbanks > Cc: Dan Ackroyd; Zeev Suraski; Theodore Brown; internals@lists.php.net > Subject: Re: [PHP-DEV] A different user perspect

RE: [PHP-DEV] A different user perspective on scalar type declarations

2015-02-26 Thread Zeev Suraski
> -Original Message- > From: Anthony Ferrara [mailto:ircmax...@gmail.com] > Sent: Thursday, February 26, 2015 9:54 PM > To: Zeev Suraski > Cc: Mike Willbanks; Dan Ackroyd; Theodore Brown; internals@lists.php.net > Subject: Re: [PHP-DEV] A different user perspect

RE: [PHP-DEV] A different user perspective on scalar type declarations

2015-02-26 Thread Zeev Suraski
> -Original Message- > From: Mike Willbanks [mailto:pen...@gmail.com] > Sent: Thursday, February 26, 2015 9:46 PM > To: Anthony Ferrara > Cc: Dan Ackroyd; Zeev Suraski; Theodore Brown; internals@lists.php.net > Subject: Re: [PHP-DEV] A different user perspect

RE: [PHP-DEV] A different user perspective on scalar type declarations

2015-02-26 Thread Zeev Suraski
> -Original Message- > From: Anthony Ferrara [mailto:ircmax...@gmail.com] > Sent: Thursday, February 26, 2015 10:24 PM > To: Zeev Suraski > Cc: internals@lists.php.net > Subject: Re: [PHP-DEV] A different user perspective on scalar type > declarations > > Zeev,

RE: [PHP-DEV] A different user perspective on scalar type declarations

2015-02-26 Thread Zeev Suraski
> -Original Message- > From: Mike Willbanks [mailto:pen...@gmail.com] > Sent: Thursday, February 26, 2015 10:43 PM > To: Zeev Suraski > Cc: PHP Internals > Subject: Re: [PHP-DEV] A different user perspective on scalar type > declarations > > Here is the most

RE: [PHP-DEV] A different user perspective on scalar type declarations

2015-02-26 Thread Zeev Suraski
> Yes, the database use case and exterior data has been my main concern over > the type hint proposals. Now, this could also be changed (fixed, etc) on > a > different layer (aka database extensions to deal with native types) but > that is > likely far more to bite off than one would want at this

[PHP-DEV] Coercive STH - some real world tests and updated RFC

2015-02-26 Thread Zeev Suraski
All, We've been working in the last few days to test and tune the Coercive STH patch. I think the results are quite nice, and surprisingly better than one might have expected. Before diving into the results, we did update the RFC (wiki.php.net/rfc/coercive_sth) - with the most notable differenc

[PHP-DEV] RE: Coercive STH - some real world tests and updated RFC

2015-02-26 Thread Zeev Suraski
> with the most notable difference being > allowing NULL->scalar conversions Forgot to clarify - this is only for calls to internal functions. Userland type hints don't accept NULL->scalar conversions. Zeev -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://ww

RE: [PHP-DEV] Coercive STH - some real world tests and updated RFC

2015-02-26 Thread Zeev Suraski
> How many deprecations do you get running the ZF2 and Symfony testsuites? None, but it may have to do with the fact I haven't run them yet :) Zeev -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP-DEV] Follow-up to STH user experience, this time with actual testing

2015-02-27 Thread Zeev Suraski
> - PHPUnit passes a boolean false to `debug_backtrace()`... which is > documented > as expecting an integer! (There are actually several constant values it > accepts, all of which are integer values.) In this case, PHPUnit is > relying > on the fact that the engine casts booleans to the inte

RE: [PHP-DEV] Coercive STH - some real world tests and updated RFC

2015-02-27 Thread Zeev Suraski
> -Original Message- > From: Benjamin Eberlei [mailto:kont...@beberlei.de] > Sent: Friday, February 27, 2015 1:19 PM > To: Dmitry Stogov > Cc: Zeev Suraski; PHP internals > Subject: Re: [PHP-DEV] Coercive STH - some real world tests and updated > RFC > > > >

RE: [PHP-DEV] Re: Zend JIT Open Sourced

2015-02-27 Thread Zeev Suraski
> -Original Message- > From: Dmitry Stogov [mailto:dmi...@zend.com] > Sent: Friday, February 27, 2015 7:31 PM > To: Anthony Ferrara > Cc: Jordi Boggiano; PHP Internals > Subject: Re: [PHP-DEV] Re: Zend JIT Open Sourced > > On Fri, Feb 27, 2015 at 7:30 PM, Anthony Ferrara > wrote: > > > Dmi

RE: [PHP-DEV] Re: Zend JIT Open Sourced

2015-02-27 Thread Zeev Suraski
> -Original Message- > From: Anthony Ferrara [mailto:ircmax...@gmail.com] > Sent: Friday, February 27, 2015 10:21 PM > To: Dmitry Stogov > Cc: Zeev Suraski; Jordi Boggiano; PHP Internals > Subject: Re: [PHP-DEV] Re: Zend JIT Open Sourced > > Dmitry, > > &g

RE: [PHP-DEV] Re: Zend JIT Open Sourced

2015-02-27 Thread Zeev Suraski
> -Original Message- > From: Anthony Ferrara [mailto:ircmax...@gmail.com] > Sent: Friday, February 27, 2015 9:36 PM > To: Dmitry Stogov > Cc: Zeev Suraski; Jordi Boggiano; PHP Internals > Subject: Re: [PHP-DEV] Re: Zend JIT Open Sourced > > And looking at the code

RE: [PHP-DEV] Re: Zend JIT Open Sourced

2015-02-27 Thread Zeev Suraski
> -Original Message- > From: Anthony Ferrara [mailto:ircmax...@gmail.com] > Sent: Friday, February 27, 2015 10:54 PM > To: Zeev Suraski > Cc: Dmitry Stogov; PHP Internals > Subject: Re: [PHP-DEV] Re: Zend JIT Open Sourced > > Zeev, > > On Fri, Feb 27, 2015 a

RE: [PHP-DEV] Coercive STH - some real world tests and updated RFC

2015-03-02 Thread Zeev Suraski
> -Original Message- > From: Thomas Punt [mailto:tp...@hotmail.co.uk] > Sent: Sunday, March 01, 2015 4:03 PM > To: Zeev Suraski; PHP internals > Subject: RE: [PHP-DEV] Coercive STH - some real world tests and updated > RFC > > Hey Zeev, > > > Another chang

RE: [PHP-DEV] Coercive STH - some real world tests and updated RFC

2015-03-02 Thread Zeev Suraski
> -Original Message- > From: Lester Caine [mailto:les...@lsces.co.uk] > Sent: Monday, March 02, 2015 11:31 AM > To: internals@lists.php.net > Subject: Re: [PHP-DEV] Coercive STH - some real world tests and updated > RFC > > Andrea's post highlights the fact that we did try a fix when PHP5 c

RE: [PHP-DEV] Coercive STH - some real world tests and updated RFC

2015-03-02 Thread Zeev Suraski
> -Original Message- > From: Lester Caine [mailto:les...@lsces.co.uk] > Sent: Monday, March 02, 2015 12:10 PM > To: Zeev Suraski > Cc: internals@lists.php.net > Subject: Re: [PHP-DEV] Coercive STH - some real world tests and updated > RFC > > On 02/03/15 09:47,

[PHP-DEV] Question/comment about the Array to String conversion RFC

2015-03-02 Thread Zeev Suraski
All, https://wiki.php.net/rfc/array-to-string (which I voted yes to) deviates from our guidelines of deprecating features first, and removing them later; It’s addressed in the RFC – but I’m a bit worried that this opens the door to jumping from any sort of notice/warning into errors or removed

  1   2   3   4   5   6   7   8   9   10   >