Re: [PHP-DEV] Countable Type Hint

2016-11-23 Thread Daniel Morris
If somehow the Countable type-hint can absorb primitives, another example I would like to see with similar behaviour is Serializable, the type-hint currently allows classes implementing the Serializable interface to be serialized, but primitives (which are serializeable) can not be serialized when

Re: [PHP-DEV] PHP 7.1.0 GA

2016-11-23 Thread Ferenc Kovacs
On Tue, Nov 22, 2016 at 7:36 PM, Joe Watkins wrote: > Evening internals, > > I'm excited to announce that PHP 7.1.0 will be GA on December 1st. > > It has taken a lot of hard work from a lot of people, so stop whatever you > are doing and give those people a round of applause. > > Cheers > Joe >

Re: [PHP-DEV] PHP 7.1.0 GA

2016-11-23 Thread Davey Shafik
On Wed, Nov 23, 2016 at 9:12 AM, David Zuelke wrote: > On 22.11.2016, at 19:36, Joe Watkins wrote: > > > Evening internals, > > > > I'm excited to announce that PHP 7.1.0 will be GA on December 1st. > > > > It has taken a lot of hard work from a lot of people, so stop whatever > you > > are doin

Re: [PHP-DEV] PHP 7.1.0 GA

2016-11-23 Thread David Zuelke
On 22.11.2016, at 19:36, Joe Watkins wrote: > Evening internals, > > I'm excited to announce that PHP 7.1.0 will be GA on December 1st. > > It has taken a lot of hard work from a lot of people, so stop whatever you > are doing and give those people a round of applause. > > Cheers > Joe Good s

[PHP-DEV] NEUTRAL Benchmark Results for PHP Master 2016-11-23

2016-11-23 Thread lp_benchmark_robot
Results for project PHP master, build date 2016-11-23 06:26:39+02:00 commit: ae38b9e previous commit:f6e3241 revision date: 2016-11-22 22:46:34+01:00 environment:Haswell-EP cpu:Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz 2x18 cores, stepping 2, LLC 45 MB

Re: [PHP-DEV] [RFC] ArrayIterator improvements

2016-11-23 Thread Wes
I'm fine with anything as... well, being picky on this won't change the fact that SPL's design and exceptions are a mess :P If you are ok with that, I'm modifying soon the RFC, so that seekKey() would throw OutOfBoundsException instead of returning bool. Thoughts? @Ryan I've noticed that already,

Re: [PHP-DEV] PHP 7.1.0 GA

2016-11-23 Thread Martin Keckeis
2016-11-23 12:01 GMT+01:00 Sebastian Bergmann : > On 11/22/2016 07:36 PM, Joe Watkins wrote: > >> It has taken a lot of hard work from a lot of people, so stop whatever you >> are doing and give those people a round of applause. >> > > /clap :-) Thanks to everyone involved! > > > > -- > PHP Intern

Re: [PHP-DEV] [RFC][DISCUSSION] Object type hint, now with added variance

2016-11-23 Thread David Rodrigues
Marc Bennewitz wrote: > If I declare a return type of "object" and extends that to return "static" it > doesn't compile because "static" is not a valid return type yet. > https://3v4l.org/lp3AB/rfc#version=rfc-typed-properties I think that it is need too, because it will avoid reference the class

Re: [PHP-DEV] [RFC][DISCUSSION] Object type hint, now with added variance

2016-11-23 Thread Marc Bennewitz
Am 23.11.2016 um 01:52 schrieb Dan Ackroyd: Hi, This is the reintroduction of the Object Type RFC for discussion. There was previously strong feedback from people who would prefer that the inheritance checks for methods that use object types should be co/contravariant. This has been added to

Re: [PHP-DEV] PHP 7.1.0 GA

2016-11-23 Thread Sebastian Bergmann
On 11/22/2016 07:36 PM, Joe Watkins wrote: It has taken a lot of hard work from a lot of people, so stop whatever you are doing and give those people a round of applause. /clap :-) Thanks to everyone involved! -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http

Re: [PHP-DEV] [RFC][DISCUSSION] Object type hint, now with added variance

2016-11-23 Thread Michał Brzuchalski
Hi All, I've added link to 3v4l.org at the bootom of RFC document so it is possible to execute code online on compiled patch at https://3v4l.org/ results are presented on tab "RFC Branches" Cheers, Michał 2016-11-23 6:47 GMT+01:00 Joe Watkins : > Morning Dan, > > I took the liberty of removing

Re: [PHP-DEV] PHP 7.1.0 GA

2016-11-23 Thread Jordi Boggiano
On 22/11/2016 19:36, Joe Watkins wrote: Evening internals, I'm excited to announce that PHP 7.1.0 will be GA on December 1st. It has taken a lot of hard work from a lot of people, so stop whatever you are doing and give those people a round of applause. A few days too late to make our launch