Two small const correctness changes
| From: | Levi Morrison | Date: | Fri, 05 Dec 2014 00:08:40 +0000 |
| Subject: | Two small const correctness changes | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-79436@lists.php.net to get a copy of this message | ||
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.