Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:87907 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 34746 invoked from network); 25 Aug 2015 12:45:51 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 25 Aug 2015 12:45:51 -0000 Authentication-Results: pb1.pair.com smtp.mail=jakub.php@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=jakub.php@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.213.179 as permitted sender) X-PHP-List-Original-Sender: jakub.php@gmail.com X-Host-Fingerprint: 209.85.213.179 mail-ig0-f179.google.com Received: from [209.85.213.179] ([209.85.213.179:37267] helo=mail-ig0-f179.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 6D/F2-05482-E736CD55 for ; Tue, 25 Aug 2015 08:45:50 -0400 Received: by igui7 with SMTP id i7so9901894igu.0 for ; Tue, 25 Aug 2015 05:45:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=19AIpB0/VD8LT9dRNDbdlw/vQSa46GO/17WQETGZUSY=; b=oTIapMW4Ba5HVUXkWqzSzBMNoFD6LcFOlWOAXBEm4otptih/HBT1Wdav7kFfchSbNP RHTV8zknGFzXzDcNl/SnVj+DGP2dj/aRbe5SpF/PxxUMmz7KVOKH/hxYTR9K3ffRnqVK JqLOC/zaUrCNuXYH6uzSU6T7lhsfgLLzbMPppqkAtTd/n9oMuCeZLxFxpMf24YXEIz2G 3V4iQjhVRUro1IdiwzmBUChq/hgYrt7ZYv1eYAtwxprljmbNcqNGgT1I0ui0Nd44NI6j IXrJyCdk4VD9VKU9Dqs++QThoK3wMRbjODM7bDtEj3nwaVYJGiIt6+8eJp6glVI/rIwi vJ9Q== MIME-Version: 1.0 X-Received: by 10.50.114.100 with SMTP id jf4mr2324801igb.94.1440506747916; Tue, 25 Aug 2015 05:45:47 -0700 (PDT) Sender: jakub.php@gmail.com Received: by 10.107.155.70 with HTTP; Tue, 25 Aug 2015 05:45:47 -0700 (PDT) In-Reply-To: <01bd01d0df2a$f2484f30$d6d8ed90$@belski.net> References: <02a601d0dbed$2c828df0$8587a9d0$@belski.net> <02ae01d0dbf5$01c17330$05445990$@belski.net> <02b001d0dbf5$607ab7b0$21702710$@belski.net> <02ba01d0dbfb$3de2c390$b9a84ab0$@belski.net> <55DA4924.2060401@gmail.com> <00c101d0de77$4a809680$df81c380$@belski.net> <01bd01d0df2a$f2484f30$d6d8ed90$@belski.net> Date: Tue, 25 Aug 2015 13:45:47 +0100 X-Google-Sender-Auth: WeCVRnsTIyTbsWkLXx8-sFiRXFQ Message-ID: To: Anatol Belski Cc: Dmitry Stogov , Rowan Collins , PHP Internals Content-Type: multipart/alternative; boundary=047d7b414316019a4f051e221d8a Subject: Re: [PHP-DEV] Overflow checks and integral vars comparison From: bukka@php.net (Jakub Zelenka) --047d7b414316019a4f051e221d8a Content-Type: text/plain; charset=UTF-8 Hi Anatol, On Tue, Aug 25, 2015 at 12:41 PM, Anatol Belski wrote: > Hi Dmitry, > > > -----Original Message----- > > From: Dmitry Stogov [mailto:dmitry@zend.com] > > Sent: Tuesday, August 25, 2015 9:29 AM > > To: Anatol Belski > > Cc: Rowan Collins ; PHP Internals > > > > 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. > > I think it makes sense to merge all macros without RFC to master for 7.0 and keep RFC just for ZPP changes as there might be some discussion about the names (e.g. "r" is already used for resources ;) ). Or maybe just check if everyone is ok with names (ZPP flags) and then integrate it as well. In any case, it would be nice to have this in ZPP at some point. Cheers Jakub --047d7b414316019a4f051e221d8a--