mirror of
https://github.com/php/php-src.git
synced 2025-08-15 13:38:49 +02:00
SCCP doesn't support VERIFY_RETURN_TYPE (ext/opcache/tests/bug73789.phpt failure)
This commit is contained in:
parent
7084fade4d
commit
722a59ddb1
1 changed files with 3 additions and 0 deletions
|
@ -203,6 +203,9 @@ static zend_bool can_replace_op1(
|
|||
return !(opline->extended_value & ZEND_ARRAY_ELEMENT_REF);
|
||||
case ZEND_YIELD:
|
||||
return !(op_array->fn_flags & ZEND_ACC_RETURN_REFERENCE);
|
||||
case ZEND_VERIFY_RETURN_TYPE:
|
||||
// TODO: This would require a non-local change ???
|
||||
return 0;
|
||||
default:
|
||||
if (ssa_op->op1_def != -1) {
|
||||
ZEND_ASSERT(0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue