Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:76754 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 75572 invoked from network); 21 Aug 2014 17:23:37 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 21 Aug 2014 17:23:37 -0000 Authentication-Results: pb1.pair.com header.from=dmitry@zend.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=dmitry@zend.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 209.85.220.179 as permitted sender) X-PHP-List-Original-Sender: dmitry@zend.com X-Host-Fingerprint: 209.85.220.179 mail-vc0-f179.google.com Received: from [209.85.220.179] ([209.85.220.179:56067] helo=mail-vc0-f179.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 24/E1-64991-61B26F35 for ; Thu, 21 Aug 2014 13:23:36 -0400 Received: by mail-vc0-f179.google.com with SMTP id hq11so10917455vcb.24 for ; Thu, 21 Aug 2014 10:23:31 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to :content-type; bh=Rq2OqVBxrYCxvcqq4+fK+QrpVONr/hH9P9yxWvQFRuQ=; b=GXlZNEyrN+p0Qzcu+Nnd9dTeebJvbtoGIplVPDx9qhN/CxBN5sVt/fGWLumZ/B/9HZ wx6g6m2oOy+pkFuPXnwyAQDyZ38MR7GEwnTp85wh1H7hb/yI1ncX7/Z4vj/0RcwIUip9 40M5nr9xvqfVFzJt9X9DDO+D1C7+WGiE2AM5YmrLUoQqw2suAPkCqWl/Eqytrvs+vSOy dKxvfAjIcLeFJR+kKZeUmIqluAwU7Psz/s33PKy3ULvKoFEqIQJ04/tKh95EOG4/xzLT TMj/H4fzbgnQir/D8nd16s8pAMZ5zNjuQBnZ8W4z4HGq3GMNnVwH3eV1MDwYT/4hLX1s 2o7Q== X-Gm-Message-State: ALoCoQlNLSUqxWHfKYhNUNdbMKeLD2PWtvIUo0C52relWkh5bC11xCdKHIQdzr9lJDV1kPS55vkX7C0X/ZHRyjMuwpU83HzoAOpjB8af8k8NIK6JAwOdcq0TXG8gbYTOuOd/3XMNRA7C MIME-Version: 1.0 X-Received: by 10.52.148.2 with SMTP id to2mr35675vdb.38.1408641811642; Thu, 21 Aug 2014 10:23:31 -0700 (PDT) Received: by 10.52.110.170 with HTTP; Thu, 21 Aug 2014 10:23:31 -0700 (PDT) Date: Thu, 21 Aug 2014 21:23:31 +0400 Message-ID: To: PHP Internals , Pierre Joye , Anatol Belski Content-Type: multipart/alternative; boundary=bcaec52d5719cc9c84050126fa97 Subject: 64-bit integers and 64-bit string length patch is ready to be merged From: dmitry@zend.com (Dmitry Stogov) --bcaec52d5719cc9c84050126fa97 Content-Type: text/plain; charset=UTF-8 Hi, Thanks to Anatol and Pierre the 64-bit patch is ready https://github.com/weltling/php-src I made quick code review and don't see any technical problems now. The performance and memory consumption difference is negligible. see https://docs.google.com/spreadsheets/d/1PD4oiiXz6B0JbeZYnUSat5fHoq3_jAiCeI2cGHJ3UtQ/edit#gid=0 The patch breaks one test on 32-bit Linux: ext/date/tests/bug53437_var3.phpt (seems to be a bogus test and wrong behavior in php5.6 and below) and one test on 64-bit Linux: ext/standard/tests/array/array_pad_variation2.phpt (has to be analyzed) The only thing that I don't like is a massive renaming described here https://wiki.php.net/rfc/size_t_and_int64_next#semantical_macro_renamings IS_LONG -> IS_INT Z_LVAL -> L_IVAL etc On one hand using INT may be more consistent, on the other hand it's going to break habits and make addition headache for merging from php-5 (I know, phpng already made problems) I'm not sure how to proceed. If I'm alone, lets go ahead with new names. If some others prefer old names we will probably need voting. Despite of renaming, I would like to see this patch in master ASAP. Thanks. Dmitry. --bcaec52d5719cc9c84050126fa97--