Re: [PHP-DEV] Traits with interfaces

2018-03-01 Thread Pedro Magalhães
On Thu, Mar 1, 2018 at 11:04 PM, Rowan Collins wrote: > > What *can* break an interface's contract is changing the *visibility* of > the pasted method using "as protected" or "as private". This would need to > be captured somehow while composing the class, probably producing a > compile-time error

[PHP-DEV] [RFC] [VOTE] Arrays starting with a negative index

2018-03-01 Thread Pedro Magalhães
Hi internals, After fixing some issues with the deprecation notice, this RFC is ready for the voting period. There are two separate votes in this RFC and both require a 2/3 majority: - Introduce the new behavior in 8.0 - Introduce a deprecation notice in 7.3 You can find the RFC on: https:

Re: [PHP-DEV] run-tests.php exit code

2018-03-01 Thread Stanislav Malyshev
Hi! > If behavior wasn't changed unless ENV var or CLI option was specified, > then I think it can go into 7.1  (run-test.php isn't production code > part of a build, etc...). The point is to change behavior - namely, make run-tests return proper exit code even if no variables are set. True, run-

Re: [PHP-DEV] Traits with interfaces

2018-03-01 Thread Rowan Collins
Hi all, On 01/03/2018 00:34, Marco Pivetta wrote: - trait defined API can be imported with changed/aliased names, breaking therefore the contact defined in the interface This isn't actually true, because trait method aliases create an *extra* copy of the pasted method, rather than actually

Re: [PHP-DEV] run-tests.php exit code

2018-03-01 Thread Matt Ficken
If behavior wasn't changed unless ENV var or CLI option was specified, then I think it can go into 7.1 (run-test.php isn't production code part of a build, etc...). Behavior remaining the same of course wouldn't break anybody's existing CI. For those who benefit from this in 7.3, they should ben

[PHP-DEV] PHP 7.2.3 Released

2018-03-01 Thread Sara Golemon
It's been a busy day, but some of you may have already noticed the release of PHP 7.2.3. The Windows binaries are available per usual at: http://windows.php.net/download/ Hash Values and GPG signatures can be found below and at: https://gist.github.com/sgolemon/f4a20a2ba02975d992bb8bc0478065cf -

[PHP-DEV] PHP 7.0.28 is available

2018-03-01 Thread Anatol Belski
Hi, The PHP development team announces the immediate availability of PHP 7.0.28. This is a security release. One security bug was fixed in this release. All PHP 7.0 users are encouraged to upgrade to this version. For source downloads of PHP 7.0.28 please visit our downloads page: http://www.php

Re: [PHP-DEV] Traits with interfaces

2018-03-01 Thread Andreas Hennings
> don't use traits Yes, in general, yes. Composition is great, and I use it most of the time. I still do have some cases where I think that base classes (with private properties) are justified, and then some cases where either traits or multiple inheritance would be justified. We could agree to se

RE: [PHP-DEV] run-tests.php exit code

2018-03-01 Thread Anatol Belski
Hi Stas, > -Original Message- > From: Stanislav Malyshev [mailto:smalys...@gmail.com] > Sent: Wednesday, February 28, 2018 9:26 PM > To: PHP Internals > Subject: [PHP-DEV] run-tests.php exit code > > Hi! > > When running tests with run-tests.php, if the tests fail, the script will > ex

RE: [PHP-DEV] Status of our bundled liboniguruma

2018-03-01 Thread Anatol Belski
Hi Christoph, > -Original Message- > From: Christoph M. Becker [mailto:cmbecke...@gmx.de] > Sent: Tuesday, February 27, 2018 2:36 PM > To: PHP Internals List > Subject: [PHP-DEV] Status of our bundled liboniguruma > > Hi! > > I noticed that master bundles oniguruma 6.3.0[1], while onigu