Home
last modified time | relevance | path

Searched refs:token_zv (Results 1 – 1 of 1) sorted by relevance

/PHP-8.1/ext/tokenizer/
H A Dtokenizer.c395 static zval *extract_token_id_to_replace(zval *token_zv, const char *text, size_t length) { in extract_token_id_to_replace() argument
397 ZEND_ASSERT(token_zv); in extract_token_id_to_replace()
398 if (Z_TYPE_P(token_zv) == IS_ARRAY) { in extract_token_id_to_replace()
399 id_zv = zend_hash_index_find(Z_ARRVAL_P(token_zv), 0); in extract_token_id_to_replace()
400 text_zv = zend_hash_index_find(Z_ARRVAL_P(token_zv), 1); in extract_token_id_to_replace()
401 } else if (Z_TYPE_P(token_zv) == IS_OBJECT) { in extract_token_id_to_replace()
402 id_zv = OBJ_PROP_NUM(Z_OBJ_P(token_zv), 0); in extract_token_id_to_replace()
403 text_zv = OBJ_PROP_NUM(Z_OBJ_P(token_zv), 1); in extract_token_id_to_replace()
437 zval *token_zv, *id_zv = NULL; in on_event() local
438 ZEND_HASH_REVERSE_FOREACH_VAL(tokens_ht, token_zv) { in on_event()
[all …]

Completed in 6 milliseconds