RE: [PHP-DEV] Overflow checks and integral vars comparison

From: Date: Tue, 25 Aug 2015 11:41:09 +0000
Subject: RE: [PHP-DEV] Overflow checks and integral vars comparison
References: 1 2 3 4 5 6 7 8 9 10  Groups: php.internals 
Request: Send a blank email to internals+get-87903@lists.php.net to get a copy of this message
Hi Dmitry, > -----Original Message----- > From: Dmitry Stogov [mailto:dmitry@zend.com] > Sent: Tuesday, August 25, 2015 9:29 AM > To: Anatol Belski <anatol.php@belski.net> > Cc: Rowan Collins <rowan.collins@gmail.com>; PHP Internals > <internals@lists.php.net> > Subject: Re: [PHP-DEV] Overflow checks and integral vars comparison > > Hi Anatol, > > I don't see any problem adding ZEND_LONG_INT_OVF and similar macros into > 7.0. > Thanks for taking a look. I was doing a quick RFC draft yesterday also including a ZPP suggestion from Jakub. But given there's some demand on such checks still, probably better I withdraw the RFC and work towards macros for the range checks and integrating them at the appropriate places. Pure internal stuff anyway. Thanks. Anatol

« previous php.internals (#87903) next »