Re: Two small const correctness changes
| From: | Levi Morrison | Date: | Fri, 05 Dec 2014 15:00:56 +0000 |
| Subject: | Re: Two small const correctness changes | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-79445@lists.php.net to get a copy of this message | ||
On Thu, Dec 4, 2014 at 9:11 PM, Xinchen Hui <laruence@php.net> wrote:
> Hey:
>
> On Fri, Dec 5, 2014 at 8:08 AM, Levi Morrison <levim@php.net> 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
Thank you for committing this.