diff options
author | Ilija Tovilo <ilija.tovilo@me.com> | 2020-05-24 12:42:48 +0200 |
---|---|---|
committer | Ilija Tovilo <ilija.tovilo@me.com> | 2020-07-24 10:05:03 +0200 |
commit | 9bf119832dbf625174794834c71b1e793450d87f (patch) | |
tree | df6f1dfbc9dfdeaa8d2313ad43a4eff982b6eaca /ext/opcache/zend_persist.c | |
parent | 293d2f99f1c418103af6b239ad0693b89d454aed (diff) | |
download | php-git-9bf119832dbf625174794834c71b1e793450d87f.tar.gz |
Implement nullsafe ?-> operator
RFC: https://wiki.php.net/rfc/nullsafe_operator
Closes GH-5619.
Co-authored-by: Nikita Popov <nikita.ppv@gmail.com>
Diffstat (limited to 'ext/opcache/zend_persist.c')
-rw-r--r-- | ext/opcache/zend_persist.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/opcache/zend_persist.c b/ext/opcache/zend_persist.c index 1b2db5f69a..1063106717 100644 --- a/ext/opcache/zend_persist.c +++ b/ext/opcache/zend_persist.c @@ -536,6 +536,7 @@ static void zend_persist_op_array_ex(zend_op_array *op_array, zend_persistent_sc case ZEND_FE_RESET_R: case ZEND_FE_RESET_RW: case ZEND_ASSERT_CHECK: + case ZEND_JMP_NULL: opline->op2.jmp_addr = &new_opcodes[opline->op2.jmp_addr - op_array->opcodes]; break; case ZEND_CATCH: |