[PHP-DEV] GOOD Benchmark Results for PHP Master 2017-06-01

2017-06-02 Thread lp_benchmark_robot
Results for project PHP master, build date 2017-06-01 19:23:40-07:00 commit: a86c87d previous commit:d1cfd87 revision date: 2017-06-01 15:43:25-07:00 environment:Haswell-EP cpu:Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz 2x18 cores, stepping 2, LLC 45 MB

Re: [PHP-DEV] RFC proposal

2017-06-02 Thread Michael Morris
On Fri, Jun 2, 2017 at 1:36 PM, Rowan Collins wrote: > On 2 June 2017 18:21:34 BST, Levi Morrison wrote: > >On Fri, Jun 2, 2017 at 11:12 AM, Michael Morris > >wrote: > >> What about foreach by reference, which is honestly the only

Re: [PHP-DEV] RFC proposal

2017-06-02 Thread Rowan Collins
On 2 June 2017 18:21:34 BST, Levi Morrison wrote: >On Fri, Jun 2, 2017 at 11:12 AM, Michael Morris >wrote: >> What about foreach by reference, which is honestly the only time I >use >> referencing anymore... >> >> foreach ($array as $key => &$value) { >>

Re: [PHP-DEV] RFC proposal

2017-06-02 Thread Levi Morrison
On Fri, Jun 2, 2017 at 11:12 AM, Michael Morris wrote: > What about foreach by reference, which is honestly the only time I use > referencing anymore... > > foreach ($array as $key => &$value) { > $value = someOp($value); > } > > Is this also bad? I'm not going to say "bad"

Re: [PHP-DEV] RFC proposal

2017-06-02 Thread Michael Morris
What about foreach by reference, which is honestly the only time I use referencing anymore... foreach ($array as $key => &$value) { $value = someOp($value); } Is this also bad? On Fri, Jun 2, 2017 at 10:56 AM, Johannes Schlüter wrote: > On Fr, 2017-06-02 at 15:21

Re: [PHP-DEV] Class Naming in Core

2017-06-02 Thread Fleshgrinder
On 6/2/2017 11:47 AM, Dan Ackroyd wrote: > On 29 May 2017 at 23:13, Fleshgrinder wrote: >> Hey guys! >> >> People are complaining over at Reddit [1] > > While the "STD" is slightly humorous, it is unneeded verbosity, and > will lead to pointless arguments in the future of

Re: [PHP-DEV] [RFC][Discussion] Add support for stream-wrapped URLs in opcode cache

2017-06-02 Thread François Laupretre
Hi Dan, Thanks for your comments. Both are fixed now. Regards François Le 02/06/2017 à 15:37, Dan Ackroyd a écrit : On 25 May 2017 at 19:17, François Laupretre wrote: Hi, I don't know if it is still time for 7.2 but here is a new RFC to read and comment :

Re: [PHP-DEV] RFC proposal

2017-06-02 Thread Johannes Schlüter
On Fr, 2017-06-02 at 15:21 +0200, Bartłomiej Krukowski wrote: > Hello, > > PHP allows for using implicit references in arguments of function. In > most common case we have to mark that variable is an reference in > head of function, in other case we will receive fatal error (@see > example - 

Re: [PHP-DEV] RFC proposal

2017-06-02 Thread Rowan Collins
On 2 June 2017 14:21:38 BST, "Bartłomiej Krukowski" wrote: > There is an >option to >use variable as implicit reference (@see example - >http://ideone.com/T6oF7C >), I think it should not be possible. Only >explicit references should be

Re: [PHP-DEV] [RFC][Discussion] Add support for stream-wrapped URLs in opcode cache

2017-06-02 Thread Dan Ackroyd
On 25 May 2017 at 19:17, François Laupretre wrote: > Hi, > > I don't know if it is still time for 7.2 but here is a new RFC to read and > comment : > > https://wiki.php.net/rfc/url-opcode-cache > The proposed version is just listed as 'next' - please could this be specific, as

Re: [PHP-DEV] RFC proposal

2017-06-02 Thread Bartłomiej Krukowski
Hello, PHP allows for using implicit references in arguments of function. In most common case we have to mark that variable is an reference in head of function, in other case we will receive fatal error (@see example - http://ideone.com/7zkgQQ ). There is an option to

Re: [PHP-DEV] Class Naming in Core

2017-06-02 Thread Rowan Collins
On 2 June 2017 08:56:57 BST, Tony Marston wrote: > Different groups of people follow different naming conventions simply > because there is no universally accepted standard. The phrase here is "groups of people"; the PHP Internals team is such a group, and it is

Re: [PHP-DEV] RFC proposal

2017-06-02 Thread Dan Ackroyd
On 2 June 2017 at 12:14, Bartłomiej Krukowski wrote: > Hello, > > I've created an account just now on wiki.php.net. My username: *bkrukowski*. > I would like to create RFC about references in PHP. Could you please give > me an access? > >From the RFC howto

[PHP-DEV] RFC proposal

2017-06-02 Thread Bartłomiej Krukowski
Hello, I've created an account just now on wiki.php.net. My username: *bkrukowski*. I would like to create RFC about references in PHP. Could you please give me an access? Best regards

Re: [PHP-DEV] Class Naming in Core

2017-06-02 Thread Dan Ackroyd
On 29 May 2017 at 23:13, Fleshgrinder wrote: > Hey guys! > > People are complaining over at Reddit [1] While the "STD" is slightly humorous, it is unneeded verbosity, and will lead to pointless arguments in the future of whether other features in the future should catch

Re: [PHP-DEV] Class Naming in Core

2017-06-02 Thread Dan Ackroyd
On 2 June 2017 at 08:56, Tony Marston wrote: > I object to some young nerd arriving on the scene Please don't make derogatory comments. Also, this tangent on naming conventions in general is off-topic to this thread. Please stay on topic. cheers Dan -- PHP Internals

Re: [PHP-DEV] Class Naming in Core

2017-06-02 Thread Tony Marston
"Rowan Collins" wrote in message news:41f2b884-5db7-4691-b540-97b0daeaa...@gmail.com... On 1 June 2017 10:16:16 BST, Tony Marston wrote: "Rowan Collins" wrote in message news:cef783bb-8e1f-4a20-9cc6-1364a122b...@gmail.com... On 31 May 2017 10:26:06 BST, Tony