]> granicus.if.org Git - php/commit
Use COPY_DEREF instead of COPY_UNREF
authorNikita Popov <nikita.ppv@gmail.com>
Thu, 14 Jun 2018 21:34:26 +0000 (23:34 +0200)
committerJoe Watkins <krakjoe@php.net>
Mon, 25 Jun 2018 09:23:59 +0000 (11:23 +0200)
commit61d00a6cf3d5e8471cc05bdb686b1f399c0f15a4
treec92adbee366bc58904981e524f057eb8ea33fcf4
parentda82719f2087f5c4baa36bc6e94e08cdb0c5e188
Use COPY_DEREF instead of COPY_UNREF

This fixes the behavior when the storage location of the fetch is
modified before the operand is dereferenced by the using VM opcode.

Furthermore it elimiates references as a possible return value from
*_R opcodes, which will give us more opportunities for inferences,
in particular in regard to typed properties.
Zend/tests/bug72543_5.phpt
Zend/zend_execute.c
Zend/zend_types.h
Zend/zend_vm_def.h
Zend/zend_vm_execute.h
ext/opcache/Optimizer/zend_inference.c