[PHP-DEV] NEUTRAL Benchmark Results for PHP Master 2017-06-05

2017-06-06 Thread lp_benchmark_robot
Results for project PHP master, build date 2017-06-05 19:23:39-07:00 commit: a867d74 previous commit:8baf12b revision date: 2017-06-05 16:33:38-07:00 environment:Haswell-EP cpu:Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz 2x18 cores, stepping 2, LLC 45 MB

[PHP-DEV] In case your e-mail client did not start a new thread

2017-06-06 Thread Pedro Magalhães
Sorry for the second e-mail but to ensure your e-mail client starts a new thread, this serves as the announcement the I have opened the "Arrays starting with a negative index" RFC for voting. You can find the RFC here: https://wiki.php.net/rfc/negative_array_index The vote will be open until 20/6/

Re: [PHP-DEV] Proposing inclusion of PCS in the 7.2 core distribution

2017-06-06 Thread Rowan Collins
On 6 June 2017 19:13:34 BST, "li...@rhsoft.net" wrote: >the point is that people should stop talking about composer They did, 7 hours ago, after François clarified why it's not relevant for this particular case: https://externals.io/thread/926#email-15428 Can we move on now please? Thanks, --

Re: [PHP-DEV] Proposing inclusion of PCS in the 7.2 core distribution

2017-06-06 Thread li...@rhsoft.net
Am 06.06.2017 um 18:49 schrieb François Laupretre: Le 06/06/2017 à 17:19, li...@rhsoft.net a écrit : where will this php scripts stored - how do they deal with openbasedir - do you need to place their location in openbasedir while you normally avoid to add anything oustide your application th

[PHP-DEV] [RFC] [VOTE] Arrays starting with a negative index

2017-06-06 Thread Pedro Magalhães
Hi all, I have just opened the vote on this RFC. The main goal of the RFC is to eliminate the inconsistency in arrays when negative numeric keys are used explicitly and the following implicit keys will start from zero. You can find the RFC here: https://wiki.php.net/rfc/negative_array_index The

Re: [PHP-DEV] Proposing inclusion of PCS in the 7.2 core distribution

2017-06-06 Thread François Laupretre
Hi Nikita, Le 06/06/2017 à 14:43, Nikita Popov a écrit : Anyway, to get back to the topic of PCS. First, I would recommend to target PHP 7.3 for this change. Feature freeze for 7.2 is in a bit over a month and I think we'll want to make some non-trivial changes to how this works if we integrat

Re: [PHP-DEV] Re: [RFC] [Discussion] Arrays starting with a negative index

2017-06-06 Thread Pedro Magalhães
On Tue, Jun 6, 2017 at 7:22 PM, Sara Golemon wrote: > On Tue, Jun 6, 2017 at 7:06 AM, Pedro Magalhães wrote: > > Given that I got no more feedback on this, I'm ready to move it to > voting. > > However, before doing so, I would like to hear some feedback from 7.2 RMs > > about the timing. I thin

Re: [PHP-DEV] Re: [RFC] [Discussion] Arrays starting with a negative index

2017-06-06 Thread Sara Golemon
On Tue, Jun 6, 2017 at 7:06 AM, Pedro Magalhães wrote: > Given that I got no more feedback on this, I'm ready to move it to voting. > However, before doing so, I would like to hear some feedback from 7.2 RMs > about the timing. I think the impact in real applications would be pretty > low but ther

Re: [PHP-DEV] Proposing inclusion of PCS in the 7.2 core distribution

2017-06-06 Thread Fleshgrinder
I agree with Nikita and Sara here, interfacing between PHP and C however would be very important. My current UUID proposal for instance. Doing the bit shifting in PHP is a pain. Doing it in C is a breeze. However, doing the signatures and accessors in PHP would be MUCH simpler. On 6/6/2017 2:43 PM

Re: [PHP-DEV] Proposing inclusion of PCS in the 7.2 core distribution

2017-06-06 Thread François Laupretre
Hi, Le 06/06/2017 à 17:19, li...@rhsoft.net a écrit : where will this php scripts stored - how do they deal with openbasedir - do you need to place their location in openbasedir while you normally avoid to add anything oustide your application there - and so on Your question proves you didn't

Re: [PHP-DEV] [RFC]Discuss] Syntax for Arrow Functions

2017-06-06 Thread Fleshgrinder
On 6/6/2017 6:38 AM, Stephen Reay wrote: > As someone who sees limited appeal in short closures (Ok, they may > make for slightly simpler constructs that are slightly too complex > for a regular “collect” type collection method), I see a *lot* of > people spending a *lot* of time to save typing 8 c

Re: [PHP-DEV] Proposing inclusion of PCS in the 7.2 core distribution

2017-06-06 Thread Sara Golemon
On Tue, Jun 6, 2017 at 8:43 AM, Nikita Popov wrote: > First of all: I think the ability to implement parts of PHP extensions in > PHP is extremely important and will be a game changer in our ability to > maintain and improve our standard library. > Ditto this. The argument for having a MUCH large

Re: [PHP-DEV] Proposing inclusion of PCS in the 7.2 core distribution

2017-06-06 Thread Rowan Collins
On 6 June 2017 16:19:39 BST, "li...@rhsoft.net" wrote: >that's all nice but in this thread even "composer" was brought once >again to the game - frankly making composer mandatory ... Don't panic. Composer was mentioned in the context of third parties (e.g. mongodb) which want to distribute both

Re: [PHP-DEV] Proposing inclusion of PCS in the 7.2 core distribution

2017-06-06 Thread Dennis Birkholz
Hi together, Am 06.06.2017 um 14:43 schrieb Nikita Popov: > First of all: I think the ability to implement parts of PHP extensions in > PHP is extremely important and will be a game changer in our ability to > maintain and improve our standard library. I agree with you here 100%. > 1. As far as

Re: [PHP-DEV] Proposing inclusion of PCS in the 7.2 core distribution

2017-06-06 Thread li...@rhsoft.net
Am 06.06.2017 um 15:33 schrieb Rowan Collins: On 6 June 2017 12:27:16 BST, "li...@rhsoft.net" wrote: looking at the code quality (style, readability, robustness, error-handling) of 99% of php userland code out there - which is horrible to say it nice - even if all that is true i still doubt t

Re: [PHP-DEV] Proposing inclusion of PCS in the 7.2 core distribution

2017-06-06 Thread Rowan Collins
On 6 June 2017 12:27:16 BST, "li...@rhsoft.net" wrote: >looking at the code quality (style, readability, robustness, >error-handling) of 99% of php userland code out there - which is >horrible to say it nice - even if all that is true i still doubt that >it improves quality in the long term, s

Re: [PHP-DEV] Class Naming in Core

2017-06-06 Thread Rowan Collins
On 6 June 2017 09:17:31 BST, Tony Marston wrote: >"Rowan Collins" wrote in message >news:3351770b-c53e-4062-a91a-d3aa7439f...@gmail.com... >> >>On 5 June 2017 09:14:47 BST, Tony Marston >wrote: >>>Seriously, can you explain in words of one syllable the precise >>>benefits of >>>such a consisten

Re: [PHP-DEV] [RFC][Release Process] Deprecate/Remove MD5 checksums

2017-06-06 Thread Sara Golemon
On Tue, Jun 6, 2017 at 12:52 AM, Remi Collet wrote: > Le 30/05/2017 à 06:27, Sara Golemon a écrit : >> https://wiki.php.net/rfc/release-md5-deprecation >> >> Primary discussion points: Deprecate or Remove? Deprecate for how long? >> > > +1 for dropping md5 checksums for 7.2 releases > > And I don'

Re: [PHP-DEV] Proposing inclusion of PCS in the 7.2 core distribution

2017-06-06 Thread Nikita Popov
On Mon, Jun 5, 2017 at 7:46 PM, François Laupretre wrote: > Hi, > > PCS provides a fast and easy mechanism to mix C and PHP code in PHP > extensions (more about PCS at http://pcs.tekwire.net). Thanks to the PHP > 7 performance improvement and the inclusion of opcache in the core, a lot > of exist

Re: [PHP-DEV] Proposing inclusion of PCS in the 7.2 core distribution

2017-06-06 Thread li...@rhsoft.net
Am 06.06.2017 um 13:06 schrieb François Laupretre: Le 06/06/2017 à 12:33, li...@rhsoft.net a écrit : Am 06.06.2017 um 12:27 schrieb François Laupretre: What I am proposing here is very different, as the main objective is to dramatically reduce the line count of the core source, without sign

Re: [PHP-DEV] Proposing inclusion of PCS in the 7.2 core distribution

2017-06-06 Thread François Laupretre
Le 06/06/2017 à 12:33, li...@rhsoft.net a écrit : Am 06.06.2017 um 12:27 schrieb François Laupretre: What I am proposing here is very different, as the main objective is to dramatically reduce the line count of the core source, without significant performance loss. If we had an army of C de

[PHP-DEV] Re: [RFC] [Discussion] Arrays starting with a negative index

2017-06-06 Thread Pedro Magalhães
On Sun, May 21, 2017 at 5:29 PM, Pedro Magalhães wrote: > Hi all, > > I have previously discussed this topic here and I have now created an RFC. > The main goal of the RFC is to eliminate the inconsistency in arrays when > negative numeric keys are used explicitly and the following implicit keys

Re: [PHP-DEV] Proposing inclusion of PCS in the 7.2 core distribution

2017-06-06 Thread li...@rhsoft.net
Am 06.06.2017 um 12:27 schrieb François Laupretre: What I am proposing here is very different, as the main objective is to dramatically reduce the line count of the core source, without significant performance loss. If we had an army of C developers maintaining every core extension, maybe we

Re: [PHP-DEV] Proposing inclusion of PCS in the 7.2 core distribution

2017-06-06 Thread François Laupretre
Hi, Le 06/06/2017 à 11:13, Derick Rethans a écrit : On Tue, 6 Jun 2017, Remi Collet wrote: Sorry, but I don't like the idea of having PHP code bundled in C extension. Have low-level part written in C, and user-land part in PHP is indeed a good way (e.g. mondodb, phpiredis + phredis...), but h

Re: [PHP-DEV] Proposing inclusion of PCS in the 7.2 core distribution

2017-06-06 Thread François Laupretre
Hi, Le 05/06/2017 à 21:26, Fleshgrinder a écrit : I skimmed through the documentation of yours. There is however one question left. Is it possible to have C code that is accessible only to the PHP code of an extensions, instead of all user-level code? As extension PHP code is executed in the s

Re: [PHP-DEV] Proposing inclusion of PCS in the 7.2 core distribution

2017-06-06 Thread Derick Rethans
On Tue, 6 Jun 2017, Remi Collet wrote: > Le 05/06/2017 à 19:46, François Laupretre a écrit : > > > > PCS provides a fast and easy mechanism to mix C and PHP code in PHP > > extensions (more about PCS at http://pcs.tekwire.net). Thanks to the > > PHP 7 performance improvement and the inclusion o

Re: [PHP-DEV] Class Naming in Core

2017-06-06 Thread Tony Marston
"Rowan Collins" wrote in message news:3351770b-c53e-4062-a91a-d3aa7439f...@gmail.com... On 5 June 2017 09:14:47 BST, Tony Marston wrote: Seriously, can you explain in words of one syllable the precise benefits of such a consistency? I will try: - When we write code, we need to know how to

Re: [PHP-DEV] Class Naming in Core

2017-06-06 Thread Tony Marston
wrote in message news:a6f250ec-c72a-0522-cbf0-2c7b29ed9...@rhsoft.net... Am 05.06.2017 um 10:14 schrieb Tony Marston: wrote in message news:3cfc0130-e530-64ed-36e8-372b04481...@rhsoft.net... Am 04.06.2017 um 11:10 schrieb Tony Marston: If there was never a standard to begin with then ther