Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:79438 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 9285 invoked from network); 5 Dec 2014 04:12:21 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Dec 2014 04:12:21 -0000 Authentication-Results: pb1.pair.com smtp.mail=xinchen.h@zend.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=laruence@php.net; sender-id=unknown Received-SPF: pass (pb1.pair.com: domain zend.com designates 209.85.215.53 as permitted sender) X-PHP-List-Original-Sender: xinchen.h@zend.com X-Host-Fingerprint: 209.85.215.53 mail-la0-f53.google.com Received: from [209.85.215.53] ([209.85.215.53:58074] helo=mail-la0-f53.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 74/F5-61462-1A031845 for ; Thu, 04 Dec 2014 23:12:19 -0500 Received: by mail-la0-f53.google.com with SMTP id gm9so27352lab.26 for ; Thu, 04 Dec 2014 20:12:14 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=cGEeWL58Ofvia31BDmUJoT0aPXkP70TOj46Y/SFyyXk=; b=W9m2+J5MJ6H1/HkAoKIID9e4mmy1m7rVRh4pWWAwf2KOHOdBUUZJYeP3YKqTmqbXWJ A6NzS4sfdRwLR1UVRZOkVeuDqxerfvLGt9NmSthdflF6U4LPWkYYDBN+dF55rj07YukX SV/F/hl6G3KdncSyvCPzGu71WDTIF8z8J+YkRmekgZjPT7Gg3D7d+hy6dH/OuDwIqKAH 7MNonWgr3mg0U9xoq6vTf8MHciyo0qhKMhDcHh+OcnaOn9f6UfYbU+b8IaYMOVTuxJA5 B18bq9WJnGjo0FNj4znpbMkXvPZvtoEr9cmwD0VPR85MjkkUVQ/5pSuTAW7A68nc9dc5 aNpA== X-Gm-Message-State: ALoCoQmGxWcvRugx6Nwa/YCXU7H+ZsFmEtjzB0dXoB1kP6VL4BgEwcokoBX0LeEY3VaDTrxtR/jDEM9ovuIXNTfbisMtwmpHFooCTYw+F6GMMp3cHhAYSY/93A4w+MZzQql5nGLIWuqB2AeNFv/+GP5GgN/t8fDRBQ== X-Received: by 10.152.234.35 with SMTP id ub3mr866591lac.70.1417752734622; Thu, 04 Dec 2014 20:12:14 -0800 (PST) Received: from mail-lb0-f180.google.com (mail-lb0-f180.google.com. [209.85.217.180]) by mx.google.com with ESMTPSA id l1sm6866109lae.11.2014.12.04.20.12.13 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 04 Dec 2014 20:12:13 -0800 (PST) Received: by mail-lb0-f180.google.com with SMTP id l4so14810903lbv.25 for ; Thu, 04 Dec 2014 20:12:12 -0800 (PST) X-Received: by 10.112.45.228 with SMTP id q4mr817924lbm.35.1417752732615; Thu, 04 Dec 2014 20:12:12 -0800 (PST) MIME-Version: 1.0 Received: by 10.114.64.176 with HTTP; Thu, 4 Dec 2014 20:11:52 -0800 (PST) In-Reply-To: References: Date: Fri, 5 Dec 2014 12:11:52 +0800 Message-ID: To: Levi Morrison Cc: internals Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] Two small const correctness changes From: laruence@php.net (Xinchen Hui) Hey: On Fri, Dec 5, 2014 at 8:08 AM, Levi Morrison wrote: > These changes make ZVAL_COPY and ZVAL_COPY_VALUE work without warning > for places where the zval that is copied is const: > https://gist.github.com/morrisonlevi/69156fdf93e6bc82f9a0 > > In the default build there do not seem to be any places where this > causes a warning, but I noticed it in an extension I'm writing. I do > not yet have Zend Engine karma; hence posting to the list. done. thanks > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > -- Xinchen Hui @Laruence http://www.laruence.com/