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