[PHP-DEV] RFC Karma for Sean-Der

2015-09-04 Thread Sean DuBois
Hi, I am taking over the RFC class constant visibility rfc from Reeze, and need the permissions to update it. https://wiki.php.net/rfc/class_const_visibility Reeze gave the ok on the PR I have on GitHub as a PoC (It works, but has some test fails and breaks some extensions) https://github.com/php

[PHP-DEV] PHP 5.4.45 Released

2015-09-04 Thread Stanislav Malyshev
Hello! The PHP development team announces the immediate availability of PHP 5.4.45. Ten security-related issues were fixed in this release. All PHP 5.4 users are encouraged to upgrade to this version. For source downloads of PHP 5.4.45 please visit our downloads page: http://www.php.net/downloa

[PHP-DEV] PHP 5.5.29 is available

2015-09-04 Thread Julien Pauli
Hello! The PHP development team announces the immediate availability of PHP 5.5.29. Many security-related issues in PHP were fixed in this release. All PHP 5.5 users are encouraged to upgrade to this version. For source downloads of PHP 5.5.29 please visit our downloads page: http://www.php.net

Re: [PHP-DEV] [RFC] [Discussion] Short Closures

2015-09-04 Thread Levi Morrison
(This post is fairly lengthy so I have copied it into a gist if you would prefer to read it that way: https://gist.github.com/morrisonlevi/8323125182ca3b5e2124) Here's a practical example of chaining closures together that allows us to easily implement versions of `array_map` and `array_reduce` th

Re: [PHP-DEV] Add HTTP/2 Multiplexing-related constants to ext/curl

2015-09-04 Thread Kalle Sommer Nielsen
Hi Davey 2015-09-04 16:47 GMT+02:00 Davey Shafik : > Hey Kalle, > > This is great... but I don't have karma to merge it I don't think? Be happy > to be wrong :) Ah yes, I see you don't have php-src karma (http://people.php.net/user.php?username=davey) I will make sure it will be merged, unless y

Re: [PHP-DEV] Add HTTP/2 Multiplexing-related constants to ext/curl

2015-09-04 Thread Davey Shafik
> On Sep 5, 2015, at 02:00, Kalle Sommer Nielsen wrote: > > Hi Davey > > 2015-09-02 7:31 GMT+02:00 Davey Shafik : >> Hi, >> >> I've been poking around at HTTP/2 a lot lately, and it seems that so long >> as you are using libcurl 7.43.0+ it's possible to do request multiplexing. >> >> This cha

Re: [PHP-DEV] Add HTTP/2 Multiplexing-related constants to ext/curl

2015-09-04 Thread Kalle Sommer Nielsen
Hi Davey 2015-09-02 7:31 GMT+02:00 Davey Shafik : > Hi, > > I've been poking around at HTTP/2 a lot lately, and it seems that so long > as you are using libcurl 7.43.0+ it's possible to do request multiplexing. > > This change simply introduces three constants, CURLPIPE_NOTHING (0), > CURLPIPE_HTT

[PHP-DEV] Benchmark Results for PHP Master 2015-09-04

2015-09-04 Thread lp_benchmark_robot
Results for project php-src-nightly, build date 2015-09-04 05:00:00+03:00 commit: 26e619b1923e481be5a281738835e4f92a44fbfe revision_date: 2015-09-03 19:28:34+01:00 environment:Haswell-EP cpu:Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz 2x18 cores, stepping 2, LLC 45 MB

[PHP-DEV] PHP 7.0.0RC2 is available

2015-09-04 Thread ab
Hi, The second release candidate for 7.0.0 was just released and can be downloaded from: https://downloads.php.net/~ab/ The Windows binaries are available at http://windows.php.net/qa/ This release contains fixes for 28 reported bugs, 7 of which are security related, and altogether ove

Re: [PHP-DEV] [RFC] [Discussion] Short Closures

2015-09-04 Thread Daniel Persson
> Depends how you define simplicity. Because $a ~> $b ~> $c ~> $d is > IMHO more simple than ($a) ~> ((($b) ~> (($c) ~> $d($foo))) - which is > a result of the combination of amendments #2 and #3. I honestly do not > know if I wrote the parenthesis right now or not (probably not), > because there's

Re: [PHP-DEV] [RFC] [Discussion] Short Closures

2015-09-04 Thread Peter Lind
On 4 September 2015 at 09:43, Pavel Kouřil wrote: > On Fri, Sep 4, 2015 at 8:57 AM, Peter Lind wrote: > > On 4 September 2015 at 08:44, Pavel Kouřil wrote: > > > > You're arguing that, subjectively, to you - parentheses make things > harder > > to read. For others they clarify things. > > It sh

Re: [PHP-DEV] [RFC] [Discussion] Short Closures

2015-09-04 Thread Pavel Kouřil
On Fri, Sep 4, 2015 at 8:57 AM, Peter Lind wrote: > On 4 September 2015 at 08:44, Pavel Kouřil wrote: > > You're arguing that, subjectively, to you - parentheses make things harder > to read. For others they clarify things. > It should be obvious to everyone that this particular path of the discu