Lines Matching refs:expr
440 static zend_result zend_ast_add_array_element(zval *result, zval *offset, zval *expr) in zend_ast_add_array_element() argument
444 if (!zend_hash_next_index_insert(Z_ARRVAL_P(result), expr)) { in zend_ast_add_array_element()
451 zend_symtable_update(Z_ARRVAL_P(result), Z_STR_P(offset), expr); in zend_ast_add_array_element()
455 zend_symtable_update(Z_ARRVAL_P(result), ZSTR_EMPTY_ALLOC(), expr); in zend_ast_add_array_element()
458 zend_hash_index_update(Z_ARRVAL_P(result), Z_LVAL_P(offset), expr); in zend_ast_add_array_element()
461 zend_hash_index_update(Z_ARRVAL_P(result), 0, expr); in zend_ast_add_array_element()
464 zend_hash_index_update(Z_ARRVAL_P(result), 1, expr); in zend_ast_add_array_element()
467 zend_hash_index_update(Z_ARRVAL_P(result), zend_dval_to_lval(Z_DVAL_P(offset)), expr); in zend_ast_add_array_element()
471 zend_hash_index_update(Z_ARRVAL_P(result), Z_RES_HANDLE_P(offset), expr); in zend_ast_add_array_element()
480 static zend_result zend_ast_add_unpacked_element(zval *result, zval *expr) { in zend_ast_add_unpacked_element() argument
481 if (EXPECTED(Z_TYPE_P(expr) == IS_ARRAY)) { in zend_ast_add_unpacked_element()
482 HashTable *ht = Z_ARRVAL_P(expr); in zend_ast_add_unpacked_element()