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

2017-02-14 Thread Marco Pivetta
Hi Levi, On 14 Feb 2017 10:20 p.m., "Levi Morrison" wrote: On Tue, Feb 14, 2017 at 2:14 PM, Levi Morrison wrote: > On Tue, Feb 14, 2017 at 11:55 AM, Dan Ackroyd wrote: >> Hi Levi, >> >> On 24 November 2016 at 08:58, Dan Ackroyd wrote: >>> Hi Levi, >>> >>> On 23 November 2016 at 01:25, Levi M

Re: [PHP-DEV] [RFC][Vote] Libsodium vote closes; accepted (37-0)

2017-02-14 Thread David Zuelke
Will there be a renaming of the "libsodium" extension on PECL to "sodium" as well, and will the two codebases be kept in sync? Otherwise, libraries cannot, using Composer, express a dependency on "ext-sodium". > On 10.02.2017, at 22:04, Scott Arciszewski wrote: > > The vote for the Libsodium

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

2017-02-14 Thread Levi Morrison
(Oops, I forgot to inherit the interface: interface Factory { function make(...$args): object; } class FooFactory implements Factory { function make(...$args): Foo; } sorry for the noise) -- PHP Internals - PHP Runtime Development Mailing List To unsubscri

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

2017-02-14 Thread Levi Morrison
On Tue, Feb 14, 2017 at 2:14 PM, Levi Morrison wrote: > On Tue, Feb 14, 2017 at 11:55 AM, Dan Ackroyd wrote: >> Hi Levi, >> >> On 24 November 2016 at 08:58, Dan Ackroyd wrote: >>> Hi Levi, >>> >>> On 23 November 2016 at 01:25, Levi Morrison wrote: >>> For instance enumerations (or enums) a

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

2017-02-14 Thread Levi Morrison
On Tue, Feb 14, 2017 at 11:55 AM, Dan Ackroyd wrote: > Hi Levi, > > On 24 November 2016 at 08:58, Dan Ackroyd wrote: >> Hi Levi, >> >> On 23 November 2016 at 01:25, Levi Morrison wrote: >> >>> For instance enumerations (or enums) are one possible type I can see us >>> adding that may not be obje

[PHP-DEV] BAD Benchmark Results for PHP Master 2017-02-13

2017-02-14 Thread lp_benchmark_robot
Results for project PHP master, build date 2017-02-13 20:28:53-08:00 commit: 00e5ea7 previous commit:0d529d6 revision date: 2017-02-13 19:24:00+08: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][DISCUSSION] Object type hint, now with added variance

2017-02-14 Thread Dan Ackroyd
Hi Levi, On 24 November 2016 at 08:58, Dan Ackroyd wrote: > Hi Levi, > > On 23 November 2016 at 01:25, Levi Morrison wrote: > >> For instance enumerations (or enums) are one possible type I can see us >> adding that may not be objects. > > I very much look forward to the RFC for enums, and have

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

2017-02-14 Thread Dan Ackroyd
(resurrecting the thread) On 24 November 2016 at 09:35, Niklas Keller wrote: > It's not a small amount of complexity, So that other people can understand the tradeoff, please could you detail the complexity as you understand it? > otherwise we'd already have contra / covariance. My unders

Re: [PHP-DEV] [RFC][VOTE] Binary String Deprecation

2017-02-14 Thread Dan Ackroyd
On 3 February 2017 at 12:47, Pedro Magalhães wrote: > Hello internals. > > After a *very* quiet period of discussion, I have now opened the vote for > the Binary String Deprecation. I thought this RFC was likely to pass easily. It's always slightly unfortunate when RFCs are either accepted or r

[PHP-DEV] Re: [VOTE] Deprecate and remove INTL_IDNA_VARIANT_2003

2017-02-14 Thread Christoph M. Becker
On 31.01.2017 at 13:26, Christoph M. Becker wrote: > I've just opened the voting for the "Deprecate and remove > INTL_IDNA_VARIANT_2003" RFC: > > > > Voting ends on 2017-02-14T12:30Z. The voting has ended with 24:0, so the