Re: [PHP-DEV] Class Constant Finalization

2017-01-24 Thread Wes
Amazing how constants are not constant :P

Re: [PHP-DEV] Class Constant Finalization

2017-01-24 Thread Nikita Nefedov
> On 25 Jan 2017, at 09:48, Scott Arciszewski wrote: > > All, > > Given that we can now declare a class constant as public, protected, or > private, can we also declare them final in 7.2? > > https://3v4l.org/rJG0V > > Ideally, this code would error on line 18 rather

[PHP-DEV] Class Constant Finalization

2017-01-24 Thread Scott Arciszewski
All, Given that we can now declare a class constant as public, protected, or private, can we also declare them final in 7.2? https://3v4l.org/rJG0V Ideally, this code would error on line 18 rather than 15. Scott Arciszewski Chief Development Officer Paragon Initiative Enterprises

Re: [PHP-DEV] Pipe Operator v2

2017-01-24 Thread Stephen Reay
As a userland developer I feel $$ (or some variation starting with $) is reasonably natural - it's a variation on a regular variable. Sent from my iPhone > On 25 Jan 2017, at 03:53, Levi Morrison wrote: > >> On Tue, Jan 24, 2017 at 12:25 PM, Rasmus Schultz

Re: [PHP-DEV] Pipe Operator v2

2017-01-24 Thread Levi Morrison
On Tue, Jan 24, 2017 at 12:25 PM, Rasmus Schultz wrote: > Isn't `_` more generally used as a "discard" placeholder in most languages? > > At least in Swift, Go, Scala, Dart and C# (starting with v7) I think? > > I don't recall having seen it mean "fill in the blank". In what

Re: [PHP-DEV] Re: PHP 7.0 and openssl 1.1

2017-01-24 Thread Jakub Zelenka
On Mon, Jan 23, 2017 at 10:48 AM, Remi Collet wrote: > Le 23/01/2017 à 04:24, Rasmus Lerdorf a écrit : > > Ok, I thought perhaps the changes for just openssl-1.1 api compatibility > > would be easier to separate out, but I guess not. I did have a look at it > > and you

Re: [PHP-DEV] Pipe Operator v2

2017-01-24 Thread Rasmus Schultz
Isn't `_` more generally used as a "discard" placeholder in most languages? At least in Swift, Go, Scala, Dart and C# (starting with v7) I think? I don't recall having seen it mean "fill in the blank". In what languages? On Fri, Jan 20, 2017 at 4:26 PM, Levi Morrison wrote: >

[PHP-DEV] UGLY Benchmark Results for PHP Master 2017-01-24

2017-01-24 Thread lp_benchmark_robot
Results for project PHP master, build date 2017-01-24 07:38:37-08:00 commit: 7cba315 previous commit:6095070 revision date: 2017-01-23 17:19:12+00: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] Deprecations for PHP 7.2

2017-01-24 Thread Nicolas Grekas
Hi Nikita, hi all, https://wiki.php.net/rfc/deprecations_php_7_2 I just realized that in Symfony, we use the $errcontext argument of error handlers to work around the limitation of __toString not being able to throw. Excerpt from

[PHP-DEV] Re: [PHP-CVS] com php-src: Introduced "zend_type" - an abstraction for type-hinting representation.: Zend/zend_API.c Zend/zend_API.h Zend/zend_builtin_functions.c Zend/zend_compile.c Zend/ze

2017-01-24 Thread Michael Wallner
On 13/01/17 09:37, Dmitry Stogov wrote: > Commit:141d1ba9801f742dc5d9ccd06e02b94284c4deb7 > Author:Dmitry Stogov Fri, 13 Jan 2017 11:37:46 > +0300 > Parents: 28391c30ca008013267592ab2a2eebce3da3f3b0 > Branches: master > > Link: >