mirror of
https://github.com/php/php-src.git
synced 2025-01-25 21:23:45 +08:00
Merge branch 'PHP-7.2'
* PHP-7.2: Improved fix
This commit is contained in:
commit
3475197551
@ -241,6 +241,7 @@ static zend_bool can_replace_op1(
|
||||
case ZEND_MAKE_REF:
|
||||
case ZEND_UNSET_CV:
|
||||
case ZEND_ISSET_ISEMPTY_CV:
|
||||
case ZEND_INSTANCEOF:
|
||||
return 0;
|
||||
case ZEND_INIT_ARRAY:
|
||||
case ZEND_ADD_ARRAY_ELEMENT:
|
||||
|
@ -306,8 +306,6 @@ int zend_optimizer_update_op1_const(zend_op_array *op_array,
|
||||
/* This would require a non-local change.
|
||||
* zend_optimizer_replace_by_const() supports this. */
|
||||
return 0;
|
||||
case ZEND_INSTANCEOF:
|
||||
return 0;
|
||||
case ZEND_CASE:
|
||||
case ZEND_FETCH_LIST:
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user