Re: [PHP-DEV] Implemented fallocate() syscall in streams

2014-07-07 Thread Michael Wallner
On 8 July 2014 08:42, Anatol Belski wrote: > Hi Julien, > > On Fri, June 13, 2014 16:20, Julien Pauli wrote: > > Hi, > > > > > > I just wrote a patch to add fallocate() syscall support for streams. > > It relies on posix_fallocate(), so that it should support many Unixes. > > Linux's got a specif

Re: [PHP-DEV] Implemented fallocate() syscall in streams

2014-07-07 Thread Anatol Belski
Hi Julien, On Fri, June 13, 2014 16:20, Julien Pauli wrote: > Hi, > > > I just wrote a patch to add fallocate() syscall support for streams. > It relies on posix_fallocate(), so that it should support many Unixes. > Linux's got a specification with a fallocate() function, more powerful > than the

Re: [PHP-DEV] Concurrency support for run-tests

2014-07-07 Thread Pierre Joye
On Tue, Jul 8, 2014 at 8:02 AM, Michael Wallner wrote: >> About the need of a flag for the tests, it would be useful as well. >> Many tests can't be in run in parallel, like many mysql tests (or >> other databases f.e.). > > > Why can't those tests use unique (to them) names? mysql f.e. initiali

Re: [PHP-DEV] Concurrency support for run-tests

2014-07-07 Thread Michael Wallner
On 7 July 2014 19:13, Pierre Joye wrote: > On Mon, Jul 7, 2014 at 5:07 PM, Laruence wrote: > > Hey: > > > > On Mon, Jul 7, 2014 at 9:53 PM, Michael Wallner wrote: > >> Hi! > >> > >> I also have a patch for run-tests sitting around for quite some time, > which > >> adds concurrent test execution

Re: [PHP-DEV] Concurrency support for run-tests

2014-07-07 Thread Michael Wallner
On 7 July 2014 17:17, Ferenc Kovacs wrote: > > > > On Mon, Jul 7, 2014 at 3:53 PM, Michael Wallner wrote: > >> Hi! >> >> I also have a patch for run-tests sitting around for quite some time, >> which adds concurrent test execution support. I already fixed a lot of non >> re-entrant tests in the

Re: [PHP-DEV] Concurrency support for run-tests

2014-07-07 Thread Michael Wallner
On 7 July 2014 17:07, Laruence wrote: > Hey: > > On Mon, Jul 7, 2014 at 9:53 PM, Michael Wallner wrote: > > Hi! > > > > I also have a patch for run-tests sitting around for quite some time, > which > > adds concurrent test execution support. I already fixed a lot of non > > re-entrant tests in t

[PHP-DEV] Re: [PHP-CVS] com php-src: Followup fix to custom session save handlers: ext/session/mod_user.c ext/session/session.c ext/session/tests/bug60634_error_1.phpt ext/session/tests/bug60634_error

2014-07-07 Thread Stas Malyshev
Hi! > Commit:7c2489751cc48961487edd69b49083d4ca6b4828 > Author:Sara Golemon Mon, 7 Jul 2014 12:19:11 > -0700 > Parents: 888fb3323ed1bb728064f27a6127d194eb92f9ee > Branches: master > > Link: > http://git.php.net/?p=php-src.git;a=commitdiff;h=7c2489751cc48961487edd69b490

Re: [PHP-DEV] Concurrency support for run-tests

2014-07-07 Thread Pierre Joye
On Mon, Jul 7, 2014 at 5:07 PM, Laruence wrote: > Hey: > > On Mon, Jul 7, 2014 at 9:53 PM, Michael Wallner wrote: >> Hi! >> >> I also have a patch for run-tests sitting around for quite some time, which >> adds concurrent test execution support. I already fixed a lot of non >> re-entrant tests in

Re: [PHP-DEV] Concurrency support for run-tests

2014-07-07 Thread Sara Golemon
On Mon, Jul 7, 2014 at 6:53 AM, Michael Wallner wrote: > I also have a patch for run-tests sitting around for quite some time, which > adds concurrent test execution support. I already fixed a lot of non > re-entrant tests in the past, but there might still be quite some of them. > HHVM uses PHP's

Re: [PHP-DEV] [RFC] Name of Next Release of PHP

2014-07-07 Thread Pierre Joye
On Mon, Jul 7, 2014 at 2:57 PM, Zeev Suraski wrote: >> On 7 ביול 2014, at 08:50, Andrea Faulds wrote: >> >> >> The problem is that people who want to add stuff for PHP 6 feel they have to >> add it to phpng, because if phpng is to be PHP 6, then it would need to be >> based off that branch. >>

Re: [PHP-DEV] Concurrency support for run-tests

2014-07-07 Thread Ferenc Kovacs
On Mon, Jul 7, 2014 at 3:53 PM, Michael Wallner wrote: > Hi! > > I also have a patch for run-tests sitting around for quite some time, > which adds concurrent test execution support. I already fixed a lot of non > re-entrant tests in the past, but there might still be quite some of them. > > Test

Re: [PHP-DEV] [VOTE] Uniform Variable Syntax

2014-07-07 Thread Ferenc Kovacs
On Mon, Jul 7, 2014 at 4:18 PM, Nikita Popov wrote: > Hi internals! > > I've started the vote on the Uniform Variable Syntax RFC: > > https://wiki.php.net/rfc/uniform_variable_syntax#vote > > You can review the discussion about this RFC here: > > http://markmail.org/message/mr4ihbubfbdxyg

Re: [PHP-DEV] [VOTE] Uniform Variable Syntax

2014-07-07 Thread Ivan Enderlin @ Hoa
On 07/07/2014 16:54, Laruence wrote: On Mon, Jul 7, 2014 at 10:46 PM, Andrea Faulds wrote: On 7 Jul 2014, at 15:42, Laruence wrote: 1. "The current patch introduces a new “write context” issue. Namely ($foo)['bar'] = 'baz' will not behave this same was as $foo['bar'] = 'baz'. In the former c

Re: [PHP-DEV] Concurrency support for run-tests

2014-07-07 Thread Laruence
Hey: On Mon, Jul 7, 2014 at 9:53 PM, Michael Wallner wrote: > Hi! > > I also have a patch for run-tests sitting around for quite some time, which > adds concurrent test execution support. I already fixed a lot of non > re-entrant tests in the past, but there might still be quite some of them. > >

Re: [PHP-DEV] [VOTE] Uniform Variable Syntax

2014-07-07 Thread Laruence
Hey: On Mon, Jul 7, 2014 at 10:46 PM, Andrea Faulds wrote: > > On 7 Jul 2014, at 15:42, Laruence wrote: > >> 1. "The current patch introduces a new “write context” issue. Namely >> ($foo)['bar'] = 'baz' will not behave this same was as $foo['bar'] = >> 'baz'. In the former case an undefined vari

Re: [PHP-DEV] [VOTE] Uniform Variable Syntax

2014-07-07 Thread Laruence
On Mon, Jul 7, 2014 at 10:46 PM, Andrea Faulds wrote: > > On 7 Jul 2014, at 15:42, Laruence wrote: > >> 1. "The current patch introduces a new “write context” issue. Namely >> ($foo)['bar'] = 'baz' will not behave this same was as $foo['bar'] = >> 'baz'. In the former case an undefined variable n

Re: [PHP-DEV] [VOTE] Uniform Variable Syntax

2014-07-07 Thread Andrea Faulds
On 7 Jul 2014, at 15:42, Laruence wrote: > 1. "The current patch introduces a new “write context” issue. Namely > ($foo)['bar'] = 'baz' will not behave this same was as $foo['bar'] = > 'baz'. In the former case an undefined variable notice will be thrown > if $foo does not exist, whereas the lat

Re: [PHP-DEV] [VOTE] Uniform Variable Syntax

2014-07-07 Thread Laruence
Hey: On Mon, Jul 7, 2014 at 10:18 PM, Nikita Popov wrote: > Hi internals! > > I've started the vote on the Uniform Variable Syntax RFC: > > https://wiki.php.net/rfc/uniform_variable_syntax#vote > > You can review the discussion about this RFC here: > > http://markmail.org/message/mr4ihbu

Re: [PHP-DEV] Concurrency support for run-tests

2014-07-07 Thread Andrea Faulds
On 7 Jul 2014, at 15:36, Michael Wallner wrote: > Hm... didn't think of that, seems overly complex. What would actually need > the singularity of the universe? :) I don’t think it’d be difficult. It wouldn’t mean you can’t run tests alongside it, just that you can’t run it concurrently with a

Re: [PHP-DEV] Concurrency support for run-tests

2014-07-07 Thread Laruence
On Mon, Jul 7, 2014 at 9:53 PM, Michael Wallner wrote: > Hi! > > I also have a patch for run-tests sitting around for quite some time, which > adds concurrent test execution support. I already fixed a lot of non > re-entrant tests in the past, but there might still be quite some of them. > > Tests

Re: [PHP-DEV] Concurrency support for run-tests

2014-07-07 Thread Michael Wallner
Hi Andrea! On 7 July 2014 15:56, Andrea Faulds wrote: > > On 7 Jul 2014, at 14:53, Michael Wallner wrote: > > I also have a patch for run-tests sitting around for quite some time, > which adds concurrent test execution support. I already fixed a lot of non > re-entrant tests in the past, but t

[PHP-DEV] [VOTE] Uniform Variable Syntax

2014-07-07 Thread Nikita Popov
Hi internals! I've started the vote on the Uniform Variable Syntax RFC: https://wiki.php.net/rfc/uniform_variable_syntax#vote You can review the discussion about this RFC here: http://markmail.org/message/mr4ihbubfbdxygci The vote requires a 2/3 majority and is planned to end on 2014-0

Re: [PHP-DEV] Concurrency support for run-tests

2014-07-07 Thread Andrea Faulds
On 7 Jul 2014, at 14:53, Michael Wallner wrote: > I also have a patch for run-tests sitting around for quite some time, which > adds concurrent test execution support. I already fixed a lot of non > re-entrant tests in the past, but there might still be quite some of them. Did you, or will you

[PHP-DEV] Concurrency support for run-tests

2014-07-07 Thread Michael Wallner
Hi! I also have a patch for run-tests sitting around for quite some time, which adds concurrent test execution support. I already fixed a lot of non re-entrant tests in the past, but there might still be quite some of them. Tests in ./Zend take 8 seconds instead of 30 on my box. Please find the

Re: [PHP-DEV] [RFC] Name of Next Release of PHP

2014-07-07 Thread Andrea Faulds
On 7 Jul 2014, at 14:13, Zeev Suraski wrote: >> On 7 ביול 2014, at 08:59, Andrea Faulds wrote: >> >> >>> On 7 Jul 2014, at 13:57, Zeev Suraski wrote: >>> >>> I don't think it's a problem, because I don't think we're two years >>> away from releasing a phpng-based version and I don't think i

Re: [PHP-DEV] [RFC] Name of Next Release of PHP

2014-07-07 Thread Zeev Suraski
> On 7 ביול 2014, at 08:59, Andrea Faulds wrote: > > >> On 7 Jul 2014, at 13:57, Zeev Suraski wrote: >> >> I don't think it's a problem, because I don't think we're two years >> away from releasing a phpng-based version and I don't think it's a >> moving target at this point. So I agree we need

Re: [PHP-DEV] [RFC] Name of Next Release of PHP

2014-07-07 Thread Pierre Joye
And here we go. So basically you are saying that once phpng is stabilized, no matter the api/SRC cleanness, we are good for next. This is very bad and I will vote -1 on anything close to this idea. Besides that, the same kind of estimation was done for opcache, which was a much smaller beast. They

Re: [PHP-DEV] [RFC] Name of Next Release of PHP

2014-07-07 Thread Andrea Faulds
On 7 Jul 2014, at 13:57, Zeev Suraski wrote: > I don't think it's a problem, because I don't think we're two years > away from releasing a phpng-based version and I don't think it's a > moving target at this point. So I agree we need to remove these > uncertainties. > > I'm going to start an R

Re: [PHP-DEV] [RFC] Name of Next Release of PHP

2014-07-07 Thread Zeev Suraski
> On 7 ביול 2014, at 08:50, Andrea Faulds wrote: > > > The problem is that people who want to add stuff for PHP 6 feel they have to > add it to phpng, because if phpng is to be PHP 6, then it would need to be > based off that branch. > I don't think it's a problem, because I don't think we're t

Re: [PHP-DEV] [RFC] Name of Next Release of PHP

2014-07-07 Thread Andrea Faulds
On 7 Jul 2014, at 13:19, Pierre Joye wrote: > I am skeptical on bigint in the engine given what is possible now in > gmp. But yes, phpng is also a problem as it creates a total new code > base and barely blocks any other improvements. Why? Except that bigint > thing, I do not see many people try

Re: [PHP-DEV] [RFC] Name of Next Release of PHP

2014-07-07 Thread Pierre Joye
On Mon, Jul 7, 2014 at 2:21 PM, Andrea Faulds wrote: > > On 7 Jul 2014, at 13:19, Pierre Joye wrote: > >> I am skeptical on bigint in the engine given what is possible now in >> gmp. But yes, phpng is also a problem as it creates a total new code >> base and barely blocks any other improvements.

Re: [PHP-DEV] [RFC] Name of Next Release of PHP

2014-07-07 Thread Pierre Joye
On Mon, Jul 7, 2014 at 2:12 PM, Lester Caine wrote: > On 07/07/14 12:31, Pierre Joye wrote: >> I seriously hope that you take 2015 as pure example here. As I see no >> remote chance to be ready next year. PHPNG is a huge stack of >> undocumented perf patches far from being ready, APIs &code cleanu

Re: [PHP-DEV] [RFC] Name of Next Release of PHP

2014-07-07 Thread Lester Caine
On 07/07/14 12:31, Pierre Joye wrote: > I seriously hope that you take 2015 as pure example here. As I see no > remote chance to be ready next year. PHPNG is a huge stack of > undocumented perf patches far from being ready, APIs &code cleanup did > not even begin, and the existing APIs are even mor

Re: [PHP-DEV] [RFC] Name of Next Release of PHP

2014-07-07 Thread Andrea Faulds
On 7 Jul 2014, at 12:31, Pierre Joye wrote: > I seriously hope that you take 2015 as pure example here. As I see no > remote chance to be ready next year. PHPNG is a huge stack of > undocumented perf patches far from being ready, APIs &code cleanup did > not even begin, and the existing APIs are

Re: [PHP-DEV] [RFC] Name of Next Release of PHP

2014-07-07 Thread Pierre Joye
hi, On Sat, Jul 5, 2014 at 11:57 PM, Zeev Suraski wrote: > While I'm not sure whether this isn't a bit premature to have this > discussion, if we were to have this discussion, the RFC should do a much > better job at summarizing the discussions we already had in the past. I think it is not prem