Lines Matching refs:token_zv
390 static zval *extract_token_id_to_replace(zval *token_zv, const char *text, size_t length) { in extract_token_id_to_replace() argument
392 ZEND_ASSERT(token_zv); in extract_token_id_to_replace()
393 if (Z_TYPE_P(token_zv) == IS_ARRAY) { in extract_token_id_to_replace()
394 id_zv = zend_hash_index_find(Z_ARRVAL_P(token_zv), 0); in extract_token_id_to_replace()
395 text_zv = zend_hash_index_find(Z_ARRVAL_P(token_zv), 1); in extract_token_id_to_replace()
396 } else if (Z_TYPE_P(token_zv) == IS_OBJECT) { in extract_token_id_to_replace()
397 id_zv = OBJ_PROP_NUM(Z_OBJ_P(token_zv), 0); in extract_token_id_to_replace()
398 text_zv = OBJ_PROP_NUM(Z_OBJ_P(token_zv), 1); in extract_token_id_to_replace()
432 zval *token_zv, *id_zv = NULL; in on_event() local
433 ZEND_HASH_REVERSE_FOREACH_VAL(tokens_ht, token_zv) { in on_event()
434 id_zv = extract_token_id_to_replace(token_zv, text, length); in on_event()