Re: [PHP-DEV] Generic classes and methods RFC

2015-09-10 Thread Dennis Birkholz
Hi Ben, Am 31.08.2015 um 22:31 schrieb Ben Scholzen 'DASPRiD': > I've written up an RFC for supporting generic classes and methods in > PHP, and I'd love to hear your thoughts about it. > > https://wiki.php.net/rfc/generics I have some points where I think some clarification is required before s

Re: [PHP-DEV] Generic classes and methods RFC

2015-09-10 Thread Ben Scholzen 'DASPRiD'
Hi Dennis, thanks for your feedback, see my answers below: 1. static methods: class Foo { public static function test() { } } how can I call the method: a) Foo::test() or b) Foo::test() in case b), would the generic methods not be a duplication? Case a) is correct here. A s

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

2015-09-10 Thread Björn Larsson
Den 2015-09-10 kl. 22:22, skrev Bob Weinand: Am 10.09.2015 um 22:04 schrieb Björn Larsson : Den 2015-09-03 kl. 00:48, skrev Rowan Collins: Amendment 3. Make the parentheses around the argument list mandatory so that (if Amendment 1 is also adopted) there is only a single variant of the syntax,

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

2015-09-10 Thread Bob Weinand
> Am 10.09.2015 um 22:04 schrieb Björn Larsson : > > Den 2015-09-03 kl. 00:48, skrev Rowan Collins: >> Amendment 3. Make the parentheses around the argument list mandatory so that >> (if Amendment 1 is also adopted) there is only a single variant of the >> syntax, namely "( param list ) ~> expre

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

2015-09-10 Thread Björn Larsson
Den 2015-09-03 kl. 00:48, skrev Rowan Collins: On 02/09/2015 22:49, Sara Golemon wrote: Beautiful code is code that is easier to maintain, and code that is easier to maintain is often more secure and reliable. I think this is an important point. Obviously, "beauty" is subjective: some people

Re: [PHP-DEV] PHP7 PECL Extensions

2015-09-10 Thread Remi Collet
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Le 10/09/2015 19:14, Pierre Joye a écrit : > On Sep 10, 2015 10:32 PM, "Sean DuBois" wrote: >> >> On Thu, Sep 10, 2015 at 03:25:16PM +0100, Joe Watkins wrote: >>> Afternoon internals, >>> >>> Is there any concrete plan for deploying pecl extensions

Re: [PHP-DEV] PHP7 PECL Extensions

2015-09-10 Thread Remi Collet
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Le 10/09/2015 16:25, Joe Watkins a écrit : > Afternoon internals, > > Is there any concrete plan for deploying pecl extensions for PHP7 > ? > > Anatol (or anyone), is there any way to get windows ext's built > against RC's while we're waiting for PEC

Re: [PHP-DEV] PHP7 PECL Extensions

2015-09-10 Thread Pierre Joye
On Sep 11, 2015 12:14 AM, "Pierre Joye" wrote: > > > On Sep 10, 2015 10:32 PM, "Sean DuBois" wrote: > > > > On Thu, Sep 10, 2015 at 03:25:16PM +0100, Joe Watkins wrote: > > > Afternoon internals, > > > > > > Is there any concrete plan for deploying pecl extensions for PHP7 ? > > > > > > A

Re: [PHP-DEV] PHP7 PECL Extensions

2015-09-10 Thread Pierre Joye
On Sep 10, 2015 10:32 PM, "Sean DuBois" wrote: > > On Thu, Sep 10, 2015 at 03:25:16PM +0100, Joe Watkins wrote: > > Afternoon internals, > > > > Is there any concrete plan for deploying pecl extensions for PHP7 ? > > > > Anatol (or anyone), is there any way to get windows ext's built again

Re: [PHP-DEV] PHP7 PECL Extensions

2015-09-10 Thread Joe Watkins
Hugely appreciated, thank you ;) Cheers Joe On Thu, Sep 10, 2015 at 5:37 PM, Anatol Belski wrote: > > > > -Original Message- > > From: Joe Watkins [mailto:pthre...@pthreads.org] > > Sent: Thursday, September 10, 2015 6:25 PM > > To: Anatol Belski > > Cc: PHP internals > > Subject: Re:

RE: [PHP-DEV] PHP7 PECL Extensions

2015-09-10 Thread Anatol Belski
> -Original Message- > From: Joe Watkins [mailto:pthre...@pthreads.org] > Sent: Thursday, September 10, 2015 6:25 PM > To: Anatol Belski > Cc: PHP internals > Subject: Re: [PHP-DEV] PHP7 PECL Extensions > > Hi Anatol, > > I thought vc14 deps were just copied from somewhere else, t

Re: [PHP-DEV] PHP7 PECL Extensions

2015-09-10 Thread Joe Watkins
Hi Anatol, I thought vc14 deps were just copied from somewhere else, that's what I did to test ? Does that mean no dlls for now ? Any time is good, you have more important things to do ;) Cheers Joe On Thu, Sep 10, 2015 at 5:20 PM, Anatol Belski wrote: > Hi Joe, > > > -Origin

Re: [PHP-DEV] Re: Generic classes and methods RFC

2015-09-10 Thread Ben Scholzen
On 10.09.2015 03:50, Stephen Coakley wrote: I like the "where" syntax as well. Most of PHP's "type operators" are words instead of glyphs, so it makes sense to keep the tradition for consistency. See the various syntaxes and keywords for using traits for comparison. I think adding a comma betwee

RE: [PHP-DEV] PHP7 PECL Extensions

2015-09-10 Thread Anatol Belski
Hi Joe, > -Original Message- > From: Joe Watkins [mailto:pthre...@pthreads.org] > Sent: Thursday, September 10, 2015 4:25 PM > To: PHP internals > Subject: [PHP-DEV] PHP7 PECL Extensions > > Afternoon internals, > > Is there any concrete plan for deploying pecl extensions for PHP7 ?

Re: [PHP-DEV] PHP7 PECL Extensions

2015-09-10 Thread Joe Watkins
http://windows.php.net/downloads/pecl/releases/pthreads/3.0.0/logs/ Well ... that didn't work, and doesn't tell me why ... anyone know what's up ?? Cheers Joe On Thu, Sep 10, 2015 at 4:37 PM, Joe Watkins wrote: > Ah, I didn't think of using PHP5 to run pecl package ... that works ... > > Cheer

Re: [PHP-DEV] PHP7 PECL Extensions

2015-09-10 Thread Joe Watkins
Ah, I didn't think of using PHP5 to run pecl package ... that works ... Cheers ... On Thu, Sep 10, 2015 at 4:32 PM, Sean DuBois wrote: > On Thu, Sep 10, 2015 at 03:25:16PM +0100, Joe Watkins wrote: > > Afternoon internals, > > > > Is there any concrete plan for deploying pecl extensions for

Re: [PHP-DEV] PHP7 PECL Extensions

2015-09-10 Thread Sean DuBois
On Thu, Sep 10, 2015 at 03:25:16PM +0100, Joe Watkins wrote: > Afternoon internals, > > Is there any concrete plan for deploying pecl extensions for PHP7 ? > > Anatol (or anyone), is there any way to get windows ext's built against > RC's while we're waiting for PECL/pickle/apples/whatever

[PHP-DEV] PHP7 PECL Extensions

2015-09-10 Thread Joe Watkins
Afternoon internals, Is there any concrete plan for deploying pecl extensions for PHP7 ? Anatol (or anyone), is there any way to get windows ext's built against RC's while we're waiting for PECL/pickle/apples/whatever to be sorted ? Cheers Joe

Re: [PHP-DEV] Re: Generic classes and methods RFC

2015-09-10 Thread Rowan Collins
Andrea Faulds wrote on 06/09/2015 17:20: If we hadn't seen the class declaration at the top which makes `KeyType` and `ValueType` be type parameters, we might not realise they weren't ordinary classes or interfaces when we looked at `__construct`. The -Type suffix you've used helps a little, bu

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

2015-09-10 Thread lp_benchmark_robot
Results for project php-src-nightly, build date 2015-09-10 05:00:00+03:00 commit: 27f6b8864e8506d3adca32810e350a132150ed03 revision_date: 2015-09-10 02:53:57+03:00 environment:Haswell-EP cpu:Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz 2x18 cores, stepping 2, LLC 45 MB