]> granicus.if.org Git - php/commit
Eliminate uses of ZVAL_ZVAL and friends
authorNikita Popov <nikita.ppv@gmail.com>
Mon, 20 Jan 2020 09:34:17 +0000 (10:34 +0100)
committerNikita Popov <nikita.ppv@gmail.com>
Mon, 20 Jan 2020 09:34:17 +0000 (10:34 +0100)
commit68112224221d47169c69ea353beeb73c58ebbe3a
tree6df6967fd6e3641706b14146f741c771e258ca21
parent5947437d47cc3bf8f289e52e6361fccad4b08ae3
Eliminate uses of ZVAL_ZVAL and friends

Instead add RETURN_COPY(_VALUE) macros will the expected behavior.

RETURN_ZVAL doesn't make any sense since PHP 7, but has stuck
around, probably because the alternative was to write directly to
the return_value variable.
Zend/zend_API.h
Zend/zend_closures.c
Zend/zend_interfaces.c
ext/oci8/oci8_interface.c
ext/pcntl/pcntl.c
ext/pgsql/pgsql.c
ext/sockets/sockets.c
ext/spl/spl_directory.c
ext/spl/spl_iterators.c
ext/standard/array.c