Re: [PHP-DEV] Snapping php

2017-05-25 Thread Dan Ackroyd
On 10 May 2017 at 15:05, Alan Pope wrote: > so we can understand why some software developers aren't keen on > investing time to make a snap. You work for a commercial organisation - which is fine btw!. If a commercial entity invests time + money in doing some activity,

Re: [PHP-DEV] [RFC] [Discussion] UUID

2017-05-25 Thread Fleshgrinder
On 5/25/2017 12:34 PM, Michał Brzuchalski wrote: > 2017-05-25 12:14 GMT+02:00 Nikita Popov : >> I'm wondering if just adding a uuid_v4_create() function (directly >> returning a UUID string) might not cover the 95% use case here. My general >> impression is that that's what

Re: [PHP-DEV] [RFC] [Discussion] UUID

2017-05-25 Thread Michał Brzuchalski
2017-05-25 12:14 GMT+02:00 Nikita Popov : > On Thu, May 25, 2017 at 12:05 PM, Fleshgrinder > wrote: > > > On 5/24/2017 10:12 PM, Ben Ramsey wrote: > > > I'll take a look at the patch soon. If this is accepted to the core, > > > I'll probably add an

Re: [PHP-DEV] Parameter type widening RFC

2017-05-25 Thread Dan Ackroyd
On 25 May 2017 at 10:21, Rasmus Schultz wrote: > So this breaks the expected behavior of interfaces. No it doesn't. It allows interfaces to use contravariance within PHP's type system, which is different from before, but it doesn't break anything. Niklas Keller wrote: > The

Re: [PHP-DEV] [RFC] [Discussion] UUID

2017-05-25 Thread Fleshgrinder
On 5/25/2017 1:01 AM, Sara Golemon wrote: > On Wed, May 24, 2017 at 11:04 AM, Larry Garfield > wrote: >> It doesn't have to be a PECL library. I agree that a project requiring a >> PECL library greatly limits its potential reach, but with Composer >> user-space libraries

Re: [PHP-DEV] Implement formal process for run-tests.php refactor

2017-05-25 Thread Rasmus Lerdorf
On Thu, May 25, 2017 at 3:09 AM, Andrea Faulds wrote: > > It occurred to me a little while ago that if we ran the test suite in > parallel, but only run one test from a given directory (or extension) at a > time, it should probably avoid any such problems, and it would not be >

Re: [PHP-DEV] Parameter type widening RFC

2017-05-25 Thread Rasmus Schultz
> > The feature, as implemented, will allow accidental omission of type-hints, > > will it not? > > Yes, correct. So this breaks the expected behavior of interfaces. This will be harmful to everyone, but especially harmful to new programmers, who may never even learn how to correctly implement

Re: [PHP-DEV] [RFC] [Discussion] UUID

2017-05-25 Thread Nikita Popov
On Thu, May 25, 2017 at 12:05 PM, Fleshgrinder wrote: > On 5/24/2017 10:12 PM, Ben Ramsey wrote: > > I'll take a look at the patch soon. If this is accepted to the core, > > I'll probably add an adapter to ramsey/uuid that wraps this > > implementation. The point of the

Re: [PHP-DEV] [RFC] [Discussion] UUID

2017-05-25 Thread Fleshgrinder
On 5/24/2017 10:12 PM, Ben Ramsey wrote: > I'll take a look at the patch soon. If this is accepted to the core, > I'll probably add an adapter to ramsey/uuid that wraps this > implementation. The point of the "over engineering" there is to provide > choice. Some users want to generate bytes from

[PHP-DEV] BAD Benchmark Results for PHP Master 2017-05-24

2017-05-25 Thread lp_benchmark_robot
Results for project PHP master, build date 2017-05-24 19:24:13-07:00 commit: 13ee8fd previous commit:5dc43b4 revision date: 2017-05-25 01:16:17+03: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] Implement formal process for run-tests.php refactor

2017-05-25 Thread Anatol Belski
> -Original Message- > From: Rasmus Lerdorf [mailto:ras...@lerdorf.com] > Sent: Thursday, May 25, 2017 3:08 PM > To: Nikita Popov > Cc: Andrea Faulds ; PHP internals > Subject: Re: [PHP-DEV] Implement formal process for

RE: [PHP-DEV] Implement formal process for run-tests.php refactor

2017-05-25 Thread Anatol Belski
Hi Sammy, > -Original Message- > From: sam...@sammykmedia.com [mailto:sam...@sammykmedia.com] On > > I agree that parallelism should be the first and primary goal of the > refactor. I just > mentioned maintainability and unit tests first since I foresee those things > happing as we

Re: [PHP-DEV] [RFC] [Discussion] UUID

2017-05-25 Thread Marco Pivetta
On Thu, May 25, 2017 at 6:41 PM, Fleshgrinder wrote: > On 5/25/2017 4:45 PM, Fleshgrinder wrote: > > RFC is finished > > > > https://wiki.php.net/rfc/uuid > > > > Would it be possible that we discuss the open issues, instead of trying > to get rid of the proposal

Re: [PHP-DEV] [RFC] [Discussion] UUID

2017-05-25 Thread li...@rhsoft.net
Am 25.05.2017 um 19:50 schrieb Levi Morrison: https://wiki.php.net/rfc/uuid#namespace This is more a general thing. I know from many online conversations, meetups, and conferences that people would love to see it. My $0.02 is basically what Nikita Popov has said at some point in the past:

Re: [PHP-DEV] [RFC] [Discussion] UUID

2017-05-25 Thread Fleshgrinder
On 5/25/2017 7:50 PM, Levi Morrison wrote: >> https://wiki.php.net/rfc/uuid#namespace >> >> This is more a general thing. I know from many online conversations, >> meetups, and conferences that people would love to see it. > > My $0.02 is basically what Nikita Popov has said at some point in the

[PHP-DEV] [RFC][Discussion] Add support for stream-wrapped URLs in opcode cache

2017-05-25 Thread François Laupretre
Hi, I don't know if it is still time for 7.2 but here is a new RFC to read and comment : https://wiki.php.net/rfc/url-opcode-cache Regards François -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Parameter type widening RFC

2017-05-25 Thread Andrey Andreev
Hi, On Tue, May 23, 2017 at 10:38 PM, Fleshgrinder wrote: > > I also had a look at the GitHub discussion, and I think that the things > that were written there have nothing to do with your concern. The people > commenting there simply did not understand LSP. > Well,

Re: [PHP-DEV] Parameter type widening RFC

2017-05-25 Thread Marco Pivetta
On Thu, May 25, 2017 at 4:30 PM, Andrey Andreev wrote: > I'm trying, but fail to find a source that says replacing stdClass > with mixed/any/etc is ok. It is OK for a subtype to handle a wider range of types than its contract, it is not ok for the subtype to handle a smaller

Re: [PHP-DEV] [RFC] [Discussion] UUID

2017-05-25 Thread Marco Pivetta
Hey Nikita, On Thu, May 25, 2017 at 12:14 PM, Nikita Popov wrote: > On Thu, May 25, 2017 at 12:05 PM, Fleshgrinder > wrote: > >> On 5/24/2017 10:12 PM, Ben Ramsey wrote: >> > I'll take a look at the patch soon. If this is accepted to the core, >> >

Re: [PHP-DEV] [RFC] [Discussion] UUID

2017-05-25 Thread Fleshgrinder
RFC is finished https://wiki.php.net/rfc/uuid -- Richard "Fleshgrinder" Fussenegger signature.asc Description: OpenPGP digital signature

Re: [PHP-DEV] Implement formal process for run-tests.php refactor

2017-05-25 Thread Rasmus Lerdorf
On Thu, May 25, 2017 at 3:52 PM, Nikita Popov wrote: > > > During normal development I usually only run either Zend/ tests, or the > tests in the extension I'm modifying (the rest is what CI is for). > Parallelizing by directory will speed up our CI builds (which is

[PHP-DEV] PHP 7.0.20RC1 is available for testing

2017-05-25 Thread Anatol Belski
Hi, PHP 7.0.20 RC1 was just released and can be downloaded from: https://downloads.php.net/~ab/ The Windows binaries are available at http://windows.php.net/qa/ This release contains a number of bugfixes. For the list of bugfixes that you can target in your testing, please refer to

Re: [PHP-DEV] Implement formal process for run-tests.php refactor

2017-05-25 Thread Nikita Popov
On Thu, May 25, 2017 at 2:34 PM, Rasmus Lerdorf wrote: > On Thu, May 25, 2017 at 3:09 AM, Andrea Faulds wrote: > > > > It occurred to me a little while ago that if we ran the test suite in > > parallel, but only run one test from a given directory (or extension)

[PHP-DEV] PHP 7.1.6RC1 is available for testing

2017-05-25 Thread Joe Watkins
Evening, PHP 7.1.6RC1 is available for testing and can be downloaded from: https://downloads.php.net/~krakjoe The windows binaries are available at: http://windows.php.net/qa This is a bug fix release, details can be seen: http://github.com/php/php-src/blob/php-7.1.6RC1/NEWS

Re: [PHP-DEV] [RFC] [Discussion] UUID

2017-05-25 Thread Levi Morrison
> https://wiki.php.net/rfc/uuid#namespace > > This is more a general thing. I know from many online conversations, > meetups, and conferences that people would love to see it. My $0.02 is basically what Nikita Popov has said at some point in the past: The PHP namespace should be reserved for

Re: [PHP-DEV] Parameter type widening RFC

2017-05-25 Thread Andrey Andreev
Hi Marco, On Thu, May 25, 2017 at 6:58 PM, Marco Pivetta wrote: > On Thu, May 25, 2017 at 4:30 PM, Andrey Andreev wrote: >> >> I'm trying, but fail to find a source that says replacing stdClass >> with mixed/any/etc is ok. > > > It is OK for a subtype to

Re: [PHP-DEV] [RFC] [Discussion] UUID

2017-05-25 Thread Fleshgrinder
On 5/25/2017 4:45 PM, Fleshgrinder wrote: > RFC is finished > > https://wiki.php.net/rfc/uuid > Would it be possible that we discuss the open issues, instead of trying to get rid of the proposal completely? I will not back up anyways after investing so much time. ;)

Re: [PHP-DEV] Parameter type widening RFC

2017-05-25 Thread Fleshgrinder
On 5/25/2017 6:38 PM, Andrey Andreev wrote: > Sorry, but by "source" I didn't mean somebody state it here. :) > > When I said I don't claim to fully understand LSP, I didn't mean "tell > me what it is" - I'm familiar with it. What I don't understand is how > do we get from this: > >> Wikipedia:

Re: [PHP-DEV] Parameter type widening RFC

2017-05-25 Thread Dan Ackroyd
Andrey Andreev wrote: > When I said I don't claim to fully understand LSP Hi Andrey, The RFC specifically didn't mention LSPbecause that is separate from co/contravariance. It's unfortunate for other people to be throwing the two around at you with a lack of precision.