mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Merge branch 'PHP-8.1' into PHP-8.2
* PHP-8.1: Fix GH-10570: Assertion `(key)->h != 0 && "Hash must be known"' failed.
This commit is contained in:
commit
9b10b65e2b
3 changed files with 17 additions and 0 deletions
|
@ -2931,6 +2931,7 @@ static zend_op *zend_delayed_compile_prop(znode *result, zend_ast *ast, uint32_t
|
|||
opline = zend_delayed_emit_op(result, ZEND_FETCH_OBJ_R, &obj_node, &prop_node);
|
||||
if (opline->op2_type == IS_CONST) {
|
||||
convert_to_string(CT_CONSTANT(opline->op2));
|
||||
zend_string_hash_val(Z_STR_P(CT_CONSTANT(opline->op2)));
|
||||
opline->extended_value = zend_alloc_cache_slots(3);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue