diff options
author | Dmitry Stogov <dmitry@zend.com> | 2016-11-28 12:30:01 +0300 |
---|---|---|
committer | Dmitry Stogov <dmitry@zend.com> | 2016-11-28 12:30:01 +0300 |
commit | 458c732ed4fae4d174da727e6dadf8e014e3c93d (patch) | |
tree | a7b9e21deaf1d8b365b5c6353774bd110ed1532a /Zend/zend_vm_def.h | |
parent | 53655c5af12e68a9fdfa899152e1de8e7fe57431 (diff) | |
parent | 970f21be97980a18153f13d653f4132cce676158 (diff) | |
download | php-git-458c732ed4fae4d174da727e6dadf8e014e3c93d.tar.gz |
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
Fixed calling generators through magic __call()
Diffstat (limited to 'Zend/zend_vm_def.h')
-rw-r--r-- | Zend/zend_vm_def.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/Zend/zend_vm_def.h b/Zend/zend_vm_def.h index 6e82ddba8f..0f1d754f8c 100644 --- a/Zend/zend_vm_def.h +++ b/Zend/zend_vm_def.h @@ -7964,9 +7964,6 @@ ZEND_VM_HANDLER(158, ZEND_CALL_TRAMPOLINE, ANY, ANY) fbc = call->func; if (EXPECTED(fbc->type == ZEND_USER_FUNCTION)) { - - ZEND_ASSERT(!(fbc->common.fn_flags & ZEND_ACC_GENERATOR)); - if (UNEXPECTED(!fbc->op_array.run_time_cache)) { init_func_run_time_cache(&fbc->op_array); } |