Re: [PHP-DEV] A plea for unity on scalar types

2015-03-15 Thread Christoph Becker
Philip Sturgeon wrote: On Sat, Mar 14, 2015 at 7:19 PM, Philip Sturgeon pjsturg...@gmail.com wrote: On Fri, Mar 13, 2015 at 7:02 PM, Arvids Godjuks arvids.godj...@gmail.com wrote: пт, 13 Мар 2015, 23:01, Philip Sturgeon pjsturg...@gmail.com: Pavel, On Fri, Mar 13, 2015 at 3:38 PM, Pavel

Re: [PHP-DEV] A plea for unity on scalar types

2015-03-15 Thread Peter van Fessem
On 03/15/2015 03:49 AM, Dennis Birkholz wrote: Hi together, Am 14.03.2015 um 14:37 schrieb Peter van Fessem: If a dev turns a file that he or she wrote into strict mode, then that only counts for that specific file. If you take over some code, then you can remove the declare line. *none* of

Re: [PHP-DEV] A plea for unity on scalar types

2015-03-14 Thread Dennis Birkholz
Hi together, Am 14.03.2015 um 14:37 schrieb Peter van Fessem: If a dev turns a file that he or she wrote into strict mode, then that only counts for that specific file. If you take over some code, then you can remove the declare line. *none* of those things you'd be able to do with ini

Re: [PHP-DEV] A plea for unity on scalar types

2015-03-14 Thread Philip Sturgeon
On Fri, Mar 13, 2015 at 7:02 PM, Arvids Godjuks arvids.godj...@gmail.com wrote: пт, 13 Мар 2015, 23:01, Philip Sturgeon pjsturg...@gmail.com: Pavel, On Fri, Mar 13, 2015 at 3:38 PM, Pavel Kouřil pajou...@gmail.com wrote: On Fri, Mar 13, 2015 at 4:45 PM, Anthony Ferrara ircmax...@gmail.com

Re: [PHP-DEV] A plea for unity on scalar types

2015-03-14 Thread Yasuo Ohgaki
Hi Anthony and Zeev, On Sat, Mar 14, 2015 at 12:45 AM, Anthony Ferrara ircmax...@gmail.com wrote: There's something that I think needs to be said about the now 3 scalar type proposals. Please bear with me, there's a lot to say here. I'll try to keep it as brief as I can. I've been working

Re: [PHP-DEV] A plea for unity on scalar types

2015-03-14 Thread Philip Sturgeon
On Sat, Mar 14, 2015 at 7:19 PM, Philip Sturgeon pjsturg...@gmail.com wrote: On Fri, Mar 13, 2015 at 7:02 PM, Arvids Godjuks arvids.godj...@gmail.com wrote: пт, 13 Мар 2015, 23:01, Philip Sturgeon pjsturg...@gmail.com: Pavel, On Fri, Mar 13, 2015 at 3:38 PM, Pavel Kouřil

Re: [PHP-DEV] A plea for unity on scalar types

2015-03-14 Thread Larry Garfield
On 03/13/2015 06:02 PM, Arvids Godjuks wrote: At this point I have only swearing words for the proposing persons and supporters. It's magic_quotes and register_globals all over again, but this time you can't fix it with some PHP code. You really had to fuck it all up for us, the userland

Re: [PHP-DEV] A plea for unity on scalar types

2015-03-14 Thread Derick Rethans
On Fri, 13 Mar 2015, Arvids Godjuks wrote: At this point I have only swearing words for the proposing persons and supporters. Certainly *that* is going to help? It's magic_quotes and register_globals all over again, but this time you can't fix it with some PHP code. It is not even close

Re: [PHP-DEV] A plea for unity on scalar types

2015-03-14 Thread Peter van Fessem
On 03/14/2015 01:10 PM, Derick Rethans wrote: On Fri, 13 Mar 2015, Arvids Godjuks wrote: It's magic_quotes and register_globals all over again, but this time you can't fix it with some PHP code. It is not even close to equivalent. As those options are php.ini settings. There is nothing,

Re: [PHP-DEV] A plea for unity on scalar types

2015-03-14 Thread Lester Caine
On 13/03/15 23:48, Arvids Godjuks wrote: And actually, I would plea for a moment of sanity right now. As far as i'm concerned - the RM for the 7.0 had to step in a long time ago and said guys, I do not accept any typehint proposals into the 7.0 release, work it out and come back for 7.1.

Re: [PHP-DEV] A plea for unity on scalar types

2015-03-14 Thread Pádraic Brady
Hi, On 13 March 2015 at 23:48, Arvids Godjuks arvids.godj...@gmail.com wrote: And actually, I would plea for a moment of sanity right now. As far as i'm concerned - the RM for the 7.0 had to step in a long time ago and said guys, I do not accept any typehint proposals into the 7.0 release,

Re: [PHP-DEV] A plea for unity on scalar types

2015-03-14 Thread Dan Ackroyd
On 14 March 2015 at 15:05, Lester Caine les...@lsces.co.uk wrote: Just what is being added which PHP5 will actually baulk at? The code base I will be running myself with PHP7 is PHP5.4 with E_STRICT etc. clean code. For the RFC https://wiki.php.net/rfc/scalar_type_hints_v5 that is on the edge

Re: [PHP-DEV] A plea for unity on scalar types

2015-03-14 Thread Lester Caine
On 14/03/15 11:08, Lester Caine wrote: Lets simply get the ground rules on naming conventions and what is reserved and the like to start the path to bigger things later? I'll ask yet again a question that I keep asking but not seeing anybody explaining. Just what is being added which PHP5 will

Re: [PHP-DEV] A plea for unity on scalar types

2015-03-13 Thread Marcio Almada
Hi, 2015-03-13 12:45 GMT-03:00 Anthony Ferrara ircmax...@gmail.com: All, [...] I respectfully ask Zeev to retract his current proposal as it's currently failing with 68% of voters voting against it (currently 16:34). Without extending the timeline for 7, there's very little chance of it

Re: [PHP-DEV] A plea for unity on scalar types

2015-03-13 Thread Leigh
On 13 March 2015 at 17:24, Marcio Almada marcio.w...@gmail.com wrote: At the time I'm witting this, the Coercive Scalar Types RFC needs 52 yes votes to reach minimum ratio. This RFC was well discussed and people justified their no votes quite verbosely on the respective thread. Being

Re: [PHP-DEV] A plea for unity on scalar types

2015-03-13 Thread Pavel Kouřil
On Fri, Mar 13, 2015 at 10:01 PM, Philip Sturgeon pjsturg...@gmail.com wrote: Pavel, On Fri, Mar 13, 2015 at 3:38 PM, Pavel Kouřil pajou...@gmail.com wrote: On Fri, Mar 13, 2015 at 4:45 PM, Anthony Ferrara ircmax...@gmail.com wrote: But for today, I firmly believe that the Dual-Mode proposal

Re: [PHP-DEV] A plea for unity on scalar types

2015-03-13 Thread Pavel Kouřil
On Fri, Mar 13, 2015 at 4:45 PM, Anthony Ferrara ircmax...@gmail.com wrote: But for today, I firmly believe that the Dual-Mode proposal is the only one that stands a chance of passing. I think it's the best chance for the language, and it's the only one that tries to unite the different

Re: [PHP-DEV] A plea for unity on scalar types

2015-03-13 Thread Arvids Godjuks
пт, 13 Мар 2015, 23:01, Philip Sturgeon pjsturg...@gmail.com: Pavel, On Fri, Mar 13, 2015 at 3:38 PM, Pavel Kouřil pajou...@gmail.com wrote: On Fri, Mar 13, 2015 at 4:45 PM, Anthony Ferrara ircmax...@gmail.com wrote: But for today, I firmly believe that the Dual-Mode proposal is the

Re: [PHP-DEV] A plea for unity on scalar types

2015-03-13 Thread Arvids Godjuks
Opcode caches just cache the compiled code - you still need to load the code into the engine, do checks for file modifications and other stuff. Yes, if you are a badass and have full controll, all that can be solved. Reality, however, is one big f***up. I had to fix a lot of weird stuff,

Re: [PHP-DEV] A plea for unity on scalar types

2015-03-13 Thread Arvids Godjuks
And actually, I would plea for a moment of sanity right now. As far as i'm concerned - the RM for the 7.0 had to step in a long time ago and said guys, I do not accept any typehint proposals into the 7.0 release, work it out and come back for 7.1. Because if this would be a commercial development

Re: [PHP-DEV] A plea for unity on scalar types

2015-03-13 Thread Philip Sturgeon
Pavel, On Fri, Mar 13, 2015 at 3:38 PM, Pavel Kouřil pajou...@gmail.com wrote: On Fri, Mar 13, 2015 at 4:45 PM, Anthony Ferrara ircmax...@gmail.com wrote: But for today, I firmly believe that the Dual-Mode proposal is the only one that stands a chance of passing. I think it's the best chance

Re: [PHP-DEV] A plea for unity on scalar types

2015-03-13 Thread Anthony Ferrara
Arvids, That declare thing with the removal of block-aware declare(){} kills one of the fundamental optimizations you can do for large PHP projects - compacting most used files into one single big file and caching it. And you never had to care what the files are - just splice it all together

Re: [PHP-DEV] A plea for unity on scalar types

2015-03-13 Thread Benjamin Eberlei
On Sat, Mar 14, 2015 at 12:02 AM, Arvids Godjuks arvids.godj...@gmail.com wrote: пт, 13 Мар 2015, 23:01, Philip Sturgeon pjsturg...@gmail.com: Pavel, On Fri, Mar 13, 2015 at 3:38 PM, Pavel Kouřil pajou...@gmail.com wrote: On Fri, Mar 13, 2015 at 4:45 PM, Anthony Ferrara

[PHP-DEV] A plea for unity on scalar types

2015-03-13 Thread Anthony Ferrara
All, There's something that I think needs to be said about the now 3 scalar type proposals. Please bear with me, there's a lot to say here. I'll try to keep it as brief as I can. I've been working off-and-on on scalar types for over 3 years. I've officially proposed 3 proposals and have