Re: [PHP-DEV] run-tests.php improvement for PHP 7.0+

2016-05-09 Thread Benjamin Eberlei
On Tue, May 10, 2016 at 6:36 AM, Matt Ficken wrote: > An INI section wouldn't have the extension directory path AND wouldn't > have the name of the SO to load. On Windows, its > zend_extension=php_opcache.DLL. Typically the same opcache, etc... > feature/test should work across os platforms. > a

Re: [PHP-DEV] [RFC DRAFT] Automatic CSRF Protection

2016-05-09 Thread Stanislav Malyshev
Hi! > I would like to hear from ideas/comments before I write patch for this. > https://wiki.php.net/rfc/automatic_csrf_protection Could you explain a bit more - when token validation happens? Where the SESSCSRF comes from? Does this mean that every session application now has to support URL rewr

Re: [PHP-DEV] run-tests.php improvement for PHP 7.0+

2016-05-09 Thread Matt Ficken
An INI section wouldn't have the extension directory path AND wouldn't have the name of the SO to load. On Windows, its zend_extension=php_opcache.DLL. Typically the same opcache, etc... feature/test should work across os platforms. OpCache tests can just use a SKIPIF section to be skipped unless

Re: [PHP-DEV] run-tests.php improvement for PHP 7.0+

2016-05-09 Thread Benjamin Eberlei
On Tue, May 10, 2016 at 2:51 AM, François Laupretre wrote: > Hi Derick, > > > Le 09/05/2016 à 20:36, Derick Rethans a écrit : > >> Hi! >> >> I've recently been having some looks at issues between xdebug and >> opcache, and this meant that I need to write a test case for it. >> >> Ages ago I added

[PHP-DEV] [RFC DRAFT] Automatic CSRF Protection

2016-05-09 Thread Yasuo Ohgaki
Hi all, It's not nice to work on the same code (i.e. session module) for multiple RFCs, but time is limited. I would like to hear from ideas/comments before I write patch for this. https://wiki.php.net/rfc/automatic_csrf_protection Thank you for your comments. Regards, P.S. Precise session ID

Re: [PHP-DEV] [RFC] Pipe Operator

2016-05-09 Thread Stanislav Malyshev
Hi! > |> seems like a common symbol to use, but it admittedly does look a So, usage in one semi-obscure language (F#) and one completely obscure one (Elixir) - Clojure doesn't use |> - and one proposal for Javascript now qualifies for "common". And that counting the fact that neither of them actu

Re: [PHP-DEV] [RFC] Pipe Operator

2016-05-09 Thread Stephen Coakley
On 05/09/2016 11:41 AM, Sara Golemon wrote: On Sun, May 8, 2016 at 11:45 PM, Stanislav Malyshev wrote: Neither of these is true for |>-$$ thing - it does not have any matches in any languages I can think of. You lack imagination. Here's three to get you started: Elixir: http://elixir-lang.

Re: [PHP-DEV] run-tests.php improvement for PHP 7.0+

2016-05-09 Thread François Laupretre
Hi Derick, Le 09/05/2016 à 20:36, Derick Rethans a écrit : Hi! I've recently been having some looks at issues between xdebug and opcache, and this meant that I need to write a test case for it. Ages ago I added support for the "--EXTENSIONS--" section in .phpt files, to load extensions that th

Re: [PHP-DEV] How to get trace of all database queries executed by php

2016-05-09 Thread Patrick ALLAERT
Le sam. 7 mai 2016 à 02:18, Wim Godden a écrit : > On 7/05/2016 1:34, Raja Kulasekaran wrote: > > I have encrypted php Application codebase which I may or may not have > > access. > > > > So, I would like to know how the application behaving / profiling > Database > > queries through the .so or .

RE: [PHP-DEV] run-tests.php improvement for PHP 7.0+

2016-05-09 Thread Anatol Belski
Hi Derick, > -Original Message- > From: Derick Rethans [mailto:der...@php.net] > Sent: Monday, May 9, 2016 8:36 PM > To: PHP Developers Mailing List > Cc: Anatol Belski > Subject: [PHP-DEV] run-tests.php improvement for PHP 7.0+ > > Hi! > > I've recently been having some looks at issue

[PHP-DEV] run-tests.php improvement for PHP 7.0+

2016-05-09 Thread Derick Rethans
Hi! I've recently been having some looks at issues between xdebug and opcache, and this meant that I need to write a test case for it. Ages ago I added support for the "--EXTENSIONS--" section in .phpt files, to load extensions that the test 'depends' on. Each item would be added to the php in

Re: [PHP-DEV] [RFC] Pipe Operator

2016-05-09 Thread Stanislav Malyshev
Hi! > You lack imagination. Here's three to get you started: > > Elixir: > http://elixir-lang.org/getting-started/enumerables-and-streams.html#the-pipe-operator > F#: https://msdn.microsoft.com/en-us/library/dd233229.aspx#Anchor_11 > Clojure: https://clojuredocs.org/clojure.core/-%3E > > And i

Re: [PHP-DEV] [RFC] Pipe Operator

2016-05-09 Thread Stanislav Malyshev
Hi! > Are you willing to argue that PHP should never implement features not > found commonly in other languages? Because that's where you're going > with that argument. No, I'm not and no, I'm not. But I do claim it is unobvious - though that alone would not be the reason to reject it, but I outl

Re: [PHP-DEV] [RFC] Pipe Operator

2016-05-09 Thread Sara Golemon
On Sun, May 8, 2016 at 11:45 PM, Stanislav Malyshev wrote: >> Yep, that's exactly what "->" does. It's just pointless syntactic > > No, not really. Calling method on an object is an universally accepted > phrase in many languages. > I never said it wasn't. I said it was pointless syntactic sugar

[PHP-DEV] NEUTRAL Benchmark Results for PHP Master 2016-05-09

2016-05-09 Thread lp_benchmark_robot
Results for project PHP master, build date 2016-05-09 06:29:33+03:00 commit: 7b65346 previous commit:bac6fdb revision date: 2016-05-08 15:13:01+02:00 environment:Haswell-EP cpu:Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz 2x18 cores, stepping 2, LLC 45 MB