Re: [PHP-DEV] Re: Fix division by zero to throw exception

2015-04-04 Thread Marc Bennewitz
Am 04.04.2015 um 00:13 schrieb Andrea Faulds: On 3 Apr 2015, at 23:08, Dmitry Stogov wrote: On Apr 4, 2015 12:34 AM, "Nikita Popov" wrote: Don't think we need to disable compile-time evaluation for 2) and 3). It'll just end up being a compile error in that case. I think if you have 1 % 0

Re: [PHP-DEV] Re: Fix division by zero to throw exception

2015-04-03 Thread Levi Morrison
On Fri, Apr 3, 2015 at 1:31 PM, Levi Morrison wrote: > On Fri, Apr 3, 2015 at 1:10 PM, Andrea Faulds wrote: >> Hi Dmitry, >> >>> On 3 Apr 2015, at 20:04, Dmitry Stogov wrote: >>> >>> 2) Very similar weird behavior was introduced for shift with negative >>> offsets. I also propose to change it i

Re: [PHP-DEV] Re: Fix division by zero to throw exception

2015-04-03 Thread Levi Morrison
On Fri, Apr 3, 2015 at 1:10 PM, Andrea Faulds wrote: > Hi Dmitry, > >> On 3 Apr 2015, at 20:04, Dmitry Stogov wrote: >> >> 2) Very similar weird behavior was introduced for shift with negative >> offsets. I also propose to change it in the same way (Fatal error at >> compile-time, Exception in