Re: [PHP-DEV] Re: [VOTE] Reclassifying engine warnings

2019-10-02 Thread Bishop Bettini
On Wed, Oct 2, 2019 at 11:45 AM Sara Golemon wrote: > On Wed, Oct 2, 2019 at 8:24 AM Nikita Popov wrote: > > > * The "Undefined array index" case. This one passed the vote with an > exact > > 2/3 majority, so I'm a bit uncomfortable making changes here. This is > also > > the only case where con

Re: [PHP-DEV] Re: [VOTE] Reclassifying engine warnings

2019-10-02 Thread Sara Golemon
On Wed, Oct 2, 2019 at 8:24 AM Nikita Popov wrote: > * The "Undefined array index" case. This one passed the vote with an exact > 2/3 majority, so I'm a bit uncomfortable making changes here. This is also > the only case where convincing usability concerns have been brought > forward, primarily a

[PHP-DEV] Re: [VOTE] Reclassifying engine warnings

2019-10-02 Thread Nikita Popov
On Thu, Sep 26, 2019 at 9:41 AM Nikita Popov wrote: > On Thu, Sep 12, 2019 at 2:17 PM Nikita Popov wrote: > >> Hi internals, >> >> I've opened the vote on //wiki.php.net/rfc/engine_warnings. >> >> There are 4 votes, all of them independent. The first 3 are for specific >> cases that were controv

[PHP-DEV] fdiv() function

2019-10-02 Thread Nikita Popov
Hi internals, I would like to add an fdiv() function in PHP 8, implemented in https://github.com/php/php-src/pull/4769. Per https://wiki.php.net/rfc/engine_warnings the main division operation will switch to throwing DivisionByZeroError on division by zero. However, I think it is important to exp