Re: [PHP-DEV] Move to Fast ZPP?

2015-06-25 Thread Dmitry Stogov
On Wed, Jun 24, 2015 at 1:35 PM, Matt Wilmas php_li...@realplain.com wrote: Hi Dmitry, all, - Original Message - From: Dmitry Stogov Sent: Wednesday, June 24, 2015 We should NOT use it everywhere. It'll lead to code bloat. Thanks. Dmitry. On Wed, Jun 24, 2015 at 12:21 PM,

Re: [PHP-DEV] Headsup: PHP7 feature freeze

2015-06-25 Thread Christoph Becker
Marc Bennewitz wrote: I would really like to see directly calling a string of Class::method be fixed for 7.0. It's currently resulting in a fatal error and is inconsistent with call_user_func[_array], is_callable and the callable type-hint. There is also a PR open since April 2014 :

[PHP-DEV] New PHP SAPI for Nginx

2015-06-25 Thread S.A.N
New versions Nginx, implement thread pools, http://nginx.com/blog/thread-pools-boost-performance-9x/ I think this is a good opportunity to write a Nginx module (PHP SAPI) which is to process requests for PHP scripts in processes Nginx. Quality advantages, as compared with the FPM, no network

Re: [PHP-DEV] Headsup: PHP7 feature freeze

2015-06-25 Thread Marc Bennewitz
On 06/25/2015 09:31 PM, Christoph Becker wrote: Marc Bennewitz wrote: I would really like to see directly calling a string of Class::method be fixed for 7.0. It's currently resulting in a fatal error and is inconsistent with call_user_func[_array], is_callable and the callable type-hint.

Re: [PHP-DEV] New PHP SAPI for Nginx

2015-06-25 Thread Kalle Sommer Nielsen
Hi 2015-06-25 22:31 GMT+02:00 S.A.N ua.san.a...@gmail.com: New versions Nginx, implement thread pools, http://nginx.com/blog/thread-pools-boost-performance-9x/ I think this is a good opportunity to write a Nginx module (PHP SAPI) which is to process requests for PHP scripts in processes

Re: [PHP-DEV] New PHP SAPI for Nginx

2015-06-25 Thread Rasmus Lerdorf
On 06/25/2015 01:31 PM, S.A.N wrote: New versions Nginx, implement thread pools, http://nginx.com/blog/thread-pools-boost-performance-9x/ I think this is a good opportunity to write a Nginx module (PHP SAPI) which is to process requests for PHP scripts in processes Nginx. Quality

Re: [PHP-DEV] Allow exceptions in __toString()

2015-06-25 Thread Johannes Schlüter
On Thu, 2015-06-25 at 14:52 +0200, Nikita Popov wrote: However what it doesn't do, and what I wouldn't consider feasible to do, is ensure that every single string conversion in library functions is exception safe. Personally I don't think this is a blocking issue, as the worst that can happen

[PHP-DEV] Allow exceptions in __toString()

2015-06-25 Thread Nikita Popov
Hi internals! Currently it's not possible to throw an exception from __toString() - instead you will get a (real) fatal error. This is becoming more and more problematic as time goes on, e.g. with PHP 7 an exception can be triggered as a result of a VM error or even a parse error. I'd like to

Re: [PHP-DEV] Headsup: PHP7 feature freeze

2015-06-25 Thread Aaron Piotrowski
On Jun 25, 2015, at 2:08 PM, Marc Bennewitz dev@mabe.berlin wrote: I would really like to see directly calling a string of Class::method be fixed for 7.0. It's currently resulting in a fatal error and is inconsistent with call_user_func[_array], is_callable and the callable type-hint.

Re: [PHP-DEV] Headsup: PHP7 feature freeze

2015-06-25 Thread Marc Bennewitz
On 06/25/2015 09:39 PM, Marc Bennewitz wrote: On 06/25/2015 09:31 PM, Christoph Becker wrote: Marc Bennewitz wrote: I would really like to see directly calling a string of Class::method be fixed for 7.0. It's currently resulting in a fatal error and is inconsistent with

Re: [PHP-DEV] Headsup: PHP7 feature freeze

2015-06-25 Thread Aaron Piotrowski
On Jun 25, 2015, at 2:39 PM, Marc Bennewitz dev@mabe.berlin wrote: Nice to see this - didn't noted it in the last month :) But there is one edge case that is not handled by PHP-7 at current behavior; http://3v4l.org/HkRQ7 http://3v4l.org/HkRQ7 class Foo { public static function

RE: [PHP-DEV] Deprecating ldap_sort

2015-06-25 Thread Anatol Belski
Hi guys, Kalle and me have now agreed, that the deprecation is feasible. In a normal case it would require an RFC, but this particular case wouldn't profit from it anyway. If the dependency library doesn't provide the symbols required, there's nothing to discuss or decide. -Original

Re: [PHP-DEV] New PHP SAPI for Nginx

2015-06-25 Thread S.A.N
If there is someone willing to implement this (and maintain it), I don't see any reason for why this could not be accepted into PHP. I would expect such, if implemented by someone, to first be available in 7.1.0, although we could do exceptions like we did for FPM which came in 5.3.3 or

[PHP-DEV] Wiki access for ihabunek

2015-06-25 Thread Ivan Habunek
Hello PHP ppl, I'd like to update the build instructions for windows for building PHP 7 with VC14: https://wiki.php.net/internals/windows/stepbystepbuild For this I would need write access, my wiki username is ihabunek. Thanks, Ivan -- PHP Internals - PHP Runtime Development Mailing List To

[PHP-DEV] PHP 7.0.0alpha2 Released for Testing!

2015-06-25 Thread Kalle Sommer Nielsen
Howdy, The second alpha 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 fixes about 25 bugs reported since the first alpha and it implements the Throwable interface with

RE: [PHP-DEV] Re: PHP 7.0.0alpha2 Released for Testing!

2015-06-25 Thread Anatol Belski
Hi Jan, -Original Message- From: Jan Ehrhardt [mailto:php...@ehrhardt.nl] Sent: Thursday, June 25, 2015 4:42 PM To: internals@lists.php.net Subject: [PHP-DEV] Re: PHP 7.0.0alpha2 Released for Testing! Kalle Sommer Nielsen in php.internals (Thu, 25 Jun 2015 16:06:15 +0200): This

[PHP-DEV] Headsup: PHP7 feature freeze

2015-06-25 Thread Kalle Sommer Nielsen
Howdy This is a quick heads up that we plan to have the next release of 7.0.0 be Beta 1, this marks a feature freeze and from there on, we will switch focus on to stabilization, regressions and other bug fixes. Beta 1 is schedule to be tagged and packaged on July 7th and released on July 9th

[PHP-DEV] RE: [PHP-CVS] com php-src: PHP7 sounds like a good time to include signatures in announce mails: README.RELEASE_PROCESS

2015-06-25 Thread Anatol Belski
Hi, -Original Message- From: Ferenc Kovacs [mailto:tyr...@gmail.com] Sent: Wednesday, June 24, 2015 9:19 PM To: Anatol Belski Cc: Hannes Magnusson; php-...@lists.php.net; Kalle Sommer Nielsen; Julien Pauli; Stanislav Malyshev; PHP internals Subject: Re: [PHP-CVS] com php-src: PHP7

[PHP-DEV] Re: PHP 7.0.0alpha2 Released for Testing!

2015-06-25 Thread Jan Ehrhardt
Kalle Sommer Nielsen in php.internals (Thu, 25 Jun 2015 16:06:15 +0200): This release fixes about 25 bugs reported since the first alpha and it implements the Throwable interface with changes to the exception hierarchy. Am I looking with my nose or isn't a change in the Zend API not announced

Re: [PHP-DEV] Allow exceptions in __toString()

2015-06-25 Thread Dmitry Stogov
On Thu, Jun 25, 2015 at 4:55 PM, Johannes Schlüter johan...@schlueters.de wrote: On Thu, 2015-06-25 at 14:52 +0200, Nikita Popov wrote: However what it doesn't do, and what I wouldn't consider feasible to do, is ensure that every single string conversion in library functions is exception

Re: [PHP-DEV] Re: PHP 7.0.0alpha2 Released for Testing!

2015-06-25 Thread Jan Ehrhardt
Anatol Belski in php.internals (Thu, 25 Jun 2015 17:02:03 +0200): Thanks for reporting. Please keep in mind that it's still an alpha. While we work hard on keeping compatibility, some incidents could happen. I know it is an alpha and appreciate all the hard work you are doing. Just reporting when

RE: [PHP-DEV] Deprecating ldap_sort

2015-06-25 Thread Anatol Belski
Hi Andreas, -Original Message- From: Andreas Heigl [mailto:andr...@heigl.org] Sent: Wednesday, June 24, 2015 5:40 PM To: internals@lists.php.net Cc: Côme BERNIGAUD Subject: [PHP-DEV] Deprecating ldap_sort Hi everyone. Côme Bernigaud and myself are currently cleaning up the

Re: [PHP-DEV] Wiki access for ihabunek

2015-06-25 Thread Kalle Sommer Nielsen
Hi Ivan 2015-06-25 17:39 GMT+02:00 Ivan Habunek ivan.habu...@gmail.com: Hello PHP ppl, I'd like to update the build instructions for windows for building PHP 7 with VC14: https://wiki.php.net/internals/windows/stepbystepbuild Do you have a draft or something similar we (we being the Windows

Re: [PHP-DEV] Deprecating ldap_sort

2015-06-25 Thread Côme BERNIGAUD
Le 25/06/2015 17:56, Anatol Belski a écrit : I've a few questions to this. Can it be implemented with non deprecated symbols? Or maybe, can the server side sort not be done with the same function, as it's probably the same job? Or it will be really not required? Any info about the plans on

Re: [PHP-DEV] Wiki access for ihabunek

2015-06-25 Thread Ivan Habunek
Hi Kalle co, On 25 June 2015 at 18:12, Kalle Sommer Nielsen ka...@php.net wrote: Do you have a draft or something similar we (we being the Windows team) can take a look at before handing out the write access? Not yet. I can draft it over the following few days and send it here for approval.

[PHP-DEV] Re: [PHP-CVS] com php-src: PHP7 sounds like a good time to include signatures in announce mails: README.RELEASE_PROCESS

2015-06-25 Thread Julien Pauli
On Wed, Jun 24, 2015 at 9:19 PM, Ferenc Kovacs tyr...@gmail.com wrote: On Wed, Jun 24, 2015 at 8:13 PM, Anatol Belski anatol@belski.net wrote: Hi Hannes, The change sounds reasonable. I would like just to ask you for the future - please discuss before adding a change to the release

Re: [PHP-DEV] Headsup: PHP7 feature freeze

2015-06-25 Thread Marc Bennewitz
On 06/25/2015 05:03 PM, Kalle Sommer Nielsen wrote: Howdy This is a quick heads up that we plan to have the next release of 7.0.0 be Beta 1, this marks a feature freeze and from there on, we will switch focus on to stabilization, regressions and other bug fixes. Beta 1 is schedule to be

Re: [PHP-DEV] Deprecating ldap_sort

2015-06-25 Thread Andreas Heigl
Hi Anatol. Côme already replied to the technical aspects of what we are trying to do. Am 25.06.15 um 17:56 schrieb Anatol Belski: Hi Andreas, -Original Message- From: Andreas Heigl [mailto:andr...@heigl.org] Sent: Wednesday, June 24, 2015 5:40 PM To: internals@lists.php.net Cc:

Re: [PHP-DEV] Wiki access for ihabunek

2015-06-25 Thread Hannes Magnusson
Done. -Hannes On Thu, Jun 25, 2015 at 8:39 AM, Ivan Habunek ivan.habu...@gmail.com wrote: Hello PHP ppl, I'd like to update the build instructions for windows for building PHP 7 with VC14: https://wiki.php.net/internals/windows/stepbystepbuild For this I would need write access, my wiki

Re: [PHP-DEV] Headsup: PHP7 feature freeze

2015-06-25 Thread Yasuo Ohgaki
Hi Hannes, On Fri, Jun 26, 2015 at 10:48 AM, Hannes Magnusson hannes.magnus...@gmail.com wrote: Why do you think its undocumented? http://php.net/manual/en/sessionhandler.create-sid.php Rename discussion was there. And I explicitly discussed it's undocumented and it violates

Re: [PHP-DEV] Headsup: PHP7 feature freeze

2015-06-25 Thread Yasuo Ohgaki
Hi Hannes, On Fri, Jun 26, 2015 at 12:51 PM, Yasuo Ohgaki yohg...@ohgaki.net wrote: On Fri, Jun 26, 2015 at 10:48 AM, Hannes Magnusson hannes.magnus...@gmail.com wrote: Why do you think its undocumented? http://php.net/manual/en/sessionhandler.create-sid.php Rename discussion was there.

[PHP-DEV] Re: [PHP-CVS] com php-src: Executor cleanup: fix GOTO and SWITCH VMs, remove aility to build additional PHP-5.0 compatible VM, hide executor implementation details.: Zend/zend_compile.h Zend

2015-06-25 Thread Derick Rethans
Hi, this change moved: -#define ZEND_OPCODE_HANDLER_ARGS zend_execute_data *execute_data -#define ZEND_OPCODE_HANDLER_ARGS_PASSTHRU execute_data - -typedef int (*user_opcode_handler_t) (ZEND_OPCODE_HANDLER_ARGS); -typedef int (ZEND_FASTCALL *opcode_handler_t) (ZEND_OPCODE_HANDLER_ARGS); -

Re: [PHP-DEV] Headsup: PHP7 feature freeze

2015-06-25 Thread Yasuo Ohgaki
Hi all, On Fri, Jun 26, 2015 at 12:03 AM, Kalle Sommer Nielsen ka...@php.net wrote: This is a quick heads up that we plan to have the next release of 7.0.0 be Beta 1, this marks a feature freeze and from there on, we will switch focus on to stabilization, regressions and other bug fixes.

Re: [PHP-DEV] Headsup: PHP7 feature freeze

2015-06-25 Thread Hannes Magnusson
On Thu, Jun 25, 2015 at 6:42 PM, Yasuo Ohgaki yohg...@ohgaki.net wrote: Hi all, On Fri, Jun 26, 2015 at 12:03 AM, Kalle Sommer Nielsen ka...@php.net wrote: This is a quick heads up that we plan to have the next release of 7.0.0 be Beta 1, this marks a feature freeze and from there on, we

Re: [PHP-DEV] Move to Fast ZPP?

2015-06-25 Thread Dmitry Stogov
On Wed, Jun 24, 2015 at 1:08 PM, Yasuo Ohgaki yohg...@ohgaki.net wrote: Hi Dmitry, On Wed, Jun 24, 2015 at 7:04 PM, Dmitry Stogov dmi...@zend.com wrote: We should NOT use it everywhere. It'll lead to code bloat. OK. Thank you. I'll use it only for functions called many times. e.g.

[PHP-DEV] Re: com php-src: Fixed bug #69756 (Fatal error: Nesting level too deep -recursive dependency? with ===): Zend/bug69756.phpt Zend/zend_hash.c

2015-06-25 Thread Dmitry Stogov
yeah. thanks for catching this. moved. Thanks. Dmitry. On Thu, Jun 25, 2015 at 2:06 AM, Christoph Becker cmbecke...@gmx.de wrote: Dmitry Stogov wrote: Commit:ed5fbf5e49eab435cd7a0a9a5627698de92887c1 Author:Dmitry Stogov dmi...@zend.com Fri, 5 Jun 2015 10:04:58 +0300

Re: [PHP-DEV] Announcing PHP 5.5 security-only

2015-06-25 Thread Julien Pauli
On Wed, Jun 24, 2015 at 8:01 PM, Stanislav Malyshev smalys...@gmail.com wrote: Hi! You should mail such a headsup to announce@ couple of months before the final release date. So if September 14th is the final release date, I'd say sending a REMINDER: 5.4 GOES SECURITY ONLY SEPT 14th