Re: [PHP-DEV] Deprecation of func_get_args(), call_user_func_array() and related API

2014-11-30 Thread Nicolas Grekas
For the record, from https://bugs.php.net/bug.php?id=68475 : call_user_func($a) is **almost** equivalent to $a(): A "foo::bar" string is OK for call_user_func(), but KO for the pure syntax way. See http://3v4l.org/rbQ4P To me, this looks like a whole in the implementation that should be fixed. B

[PHP-DEV] Re: test sapi/fpm/tests/015.phpt

2014-11-30 Thread Remi Collet
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Le 01/12/2014 04:37, Stanislav Malyshev a écrit : > Hi Remi! > > I see that the test sapi/fpm/tests/015.phpt is randomly > intermittently failing all the time in CI, making it harder to > evaluate fixes. The cause of the failure is additional one or t

[PHP-DEV] test sapi/fpm/tests/015.phpt

2014-11-30 Thread Stanislav Malyshev
Hi Remi! I see that the test sapi/fpm/tests/015.phpt is randomly intermittently failing all the time in CI, making it harder to evaluate fixes. The cause of the failure is additional one or two messages like this: ERROR: unable to read what child say: Bad file descriptor (9) Could you (or somebo

Re: [PHP-DEV] Add a new flag for json_encode

2014-11-30 Thread Juan Basso
I see. I thought it was some sort of simplified RFC. :) Ok, I will create a RFC regarding it. On Sun, Nov 30, 2014 at 8:49 PM, Andrea Faulds wrote: > > > On 1 Dec 2014, at 01:48, Juan Basso wrote: > > > > What is ofc? I never heard about it before. Do I need to do something? > > “ofc” is just

Re: [PHP-DEV] Add a new flag for json_encode

2014-11-30 Thread Andrea Faulds
> On 1 Dec 2014, at 01:48, Juan Basso wrote: > > What is ofc? I never heard about it before. Do I need to do something? “ofc” is just an abbreviation for “of course”. -- Andrea Faulds http://ajf.me/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.

Re: [PHP-DEV] Add a new flag for json_encode

2014-11-30 Thread Juan Basso
What is ofc? I never heard about it before. Do I need to do something? Thanks. Juan Basso On Sat, Nov 29, 2014 at 5:45 AM, Ferenc Kovacs wrote: > > > On Sat, Nov 29, 2014 at 5:39 AM, Levi Morrison wrote: > >> On Fri, Nov 28, 2014 at 1:21 PM, Juan Basso wrote: >> > Over 20 days since the last

Re: [PHP-DEV] Unable to subscribe to php.net website mailing list

2014-11-30 Thread Ferenc Kovacs
On Wed, Nov 12, 2014 at 3:49 PM, Thomas Hruska wrote: > Posting here because I'm unable to subscribe to the "PHP php.net internal > infrastructure discussion" mailing list. > > http://php.net/mailing-lists.php > > I click the "Normal" radio button next to the list, enter my e-mail > address, and

Re: [PHP-DEV] Feature: use Posix ACL for FPM socket

2014-11-30 Thread Ferenc Kovacs
On Sun, Nov 30, 2014 at 8:09 PM, Rowan Collins wrote: > On 30/11/2014 18:06, Remi Collet wrote: > >> >However, I think we should stop including features in our patch >>> >releases. I've heard a few others express similar sentiment, but >>> >it may have been more targeted at what we are allowing f

Re: [PHP-DEV] Feature: use Posix ACL for FPM socket

2014-11-30 Thread Rowan Collins
On 30/11/2014 18:06, Remi Collet wrote: >However, I think we should stop including features in our patch >releases. I've heard a few others express similar sentiment, but >it may have been more targeted at what we are allowing for "bug >fixes" in patch releases. Anyway, that's my input. Yes, I'm

Re: [PHP-DEV] Feature: use Posix ACL for FPM socket

2014-11-30 Thread Remi Collet
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Le 30/11/2014 16:34, Levi Morrison a écrit : >> This seems to be a small self contained feature. I'd like to be >> able to implement this in 5.6+ >> >> Is a RFC needed ? > > Is it possible for the ACL header to be in another location? Patch refreshe

Re: [PHP-DEV] Re: EX(scope) removing

2014-11-30 Thread Ferenc Kovacs
2014.11.30. 11:14 ezt írta ("Dmitry Stogov" ): > > Sorry, I'll try to fix it on Monday. > is it a compilation problem, or how can reproduce it? I've fixed it already. There were two references to scope in phpdbg, you probably missed it because phpdbg tests are not part of make test (but could be).

Re: [PHP-DEV] Feature: use Posix ACL for FPM socket

2014-11-30 Thread Levi Morrison
> This seems to be a small self contained feature. > I'd like to be able to implement this in 5.6+ > > Is a RFC needed ? Is it possible for the ACL header to be in another location? That's the only potential issue I can see with the patch itself. However, I think we should stop including features

Re: [PHP-DEV] Re: EX(scope) removing

2014-11-30 Thread Dmitry Stogov
Sorry, I'll try to fix it on Monday. is it a compilation problem, or how can reproduce it? Thanks. Dmitry. On Sat, Nov 29, 2014 at 1:01 AM, Ferenc Kovacs wrote: > 2014.11.28. 9:24 ezt írta ("Dmitry Stogov" ): > > > > > On Fri, Nov 28, 2014 at 7:33 AM, Xinchen Hui wrote: > > > > > Hey: > > > >

Re: [PHP-DEV] Feature: use Posix ACL for FPM socket

2014-11-30 Thread Remi Collet
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Le 30/11/2014 10:35, Rowan Collins a écrit : > Nit-picking, but I always find it awkward when two variable names > differ only by an "s" - too easy to mistake one for the other, > misread (or miswrite) documentation, etc. So perhaps > listen.acl_users

Re: [PHP-DEV] Feature: use Posix ACL for FPM socket

2014-11-30 Thread Rowan Collins
On 30 November 2014 08:44:08 GMT, Remi Collet wrote: >-BEGIN PGP SIGNED MESSAGE- >Hash: SHA1 > >Hi, > >Please see and comment on https://bugs.php.net/68526 > >In this proposal, this is an optional feature: > >- - new build option: --with-fpm-acl > >=> no change for standard build > >- - ne

[PHP-DEV] Feature: use Posix ACL for FPM socket

2014-11-30 Thread Remi Collet
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, Please see and comment on https://bugs.php.net/68526 In this proposal, this is an optional feature: - - new build option: --with-fpm-acl => no change for standard build - - new config options: listen.users and listen.groups => no change for e