[PHP-DEV] Intersection types

2020-05-30 Thread Gert de Pagter
Hi Internals, With recent additions of the type system like union types [1], id like to propose adding intersection types as well. Looking through past RFCs I found one from 2016 [2] which never left the discussion phase and is currently marked as inactive. Before continuing with an RFC I'd

Re: [PHP-DEV] [VOTE] Opcache optimization without any caching

2020-05-30 Thread Marco Pivetta
Hey Tyson, The naming is extremely wonky: allow_cache to allow_optimization? 樂 Nonetheless, this is extremely valuable for widely used binaries and long running processes, so  On Sat, May 30, 2020, 17:55 tyson andre wrote: > Hi internals, > > I have opened the voting for

Re: [PHP-DEV] RFC: Error backtraces

2020-05-30 Thread Dan Ackroyd
On Fri, 29 May 2020 at 19:23, Max Semenik wrote: > > Hi, I'd like to present a new RFC for your consideration: > https://wiki.php.net/rfc/error_backtraces > Hi Max, I've also been thinking about how errors + warnings can be improved also. For my own code, I convert all non-silenced errors and

Re: [PHP-DEV] [RFC][DISCUSSION] Error Exceptions mode

2020-05-30 Thread Dan Ackroyd
On Fri, 22 May 2020 at 17:09, Katie Volz wrote: > > Hello internals, > > I want to start a discussion on an RFC to add a declare() statement to > convert all errors triggered within a file to exceptions. > Hi Katie/Iggy, I'm not sure this is the right thing to do. Having internal code just

[PHP-DEV] [VOTE] Opcache optimization without any caching

2020-05-30 Thread tyson andre
Hi internals, I have opened the voting for https://wiki.php.net/rfc/opcache.no_cache The proposal is to make the opcode optimizer and JIT available without opcode caching, through a new setting opcache.allow_cache. The voting period ends on 2020-06-13. Thanks, - Tyson -- PHP Internals - PHP

Re: [PHP-DEV] [VOTE] Opcache optimization without any caching

2020-05-30 Thread Marco Pivetta
On Sat, May 30, 2020, 18:20 tyson andre wrote: > Hi Marco, > > > The naming is extremely wonky: allow_cache to allow_optimization? 樂 > > Nonetheless, this is extremely valuable for widely used binaries and > long running processes, so  > > I'm not fully clear on what you mean for

Re: [PHP-DEV] [VOTE] Opcache optimization without any caching

2020-05-30 Thread tyson andre
Hi Marco, > The naming is extremely wonky: allow_cache to allow_optimization? 樂 > Nonetheless, this is extremely valuable for widely used binaries and long > running processes, so  I'm not fully clear on what you mean for opcache.allow_optimization to do - you'd have to combine it with

Re: [PHP-DEV] Intersection types

2020-05-30 Thread Larry Garfield
On Sat, May 30, 2020, at 3:02 AM, Gert de Pagter wrote: > Hi Internals, > > With recent additions of the type system like union types [1], id like > to propose adding intersection types as well. > > Looking through past RFCs I found one from 2016 [2] which never left > the discussion phase and