Lines Matching refs:handler
536 static void xml_set_handler(zval *handler, zval *data) in xml_set_handler() argument
539 if (handler) { in xml_set_handler()
540 zval_ptr_dtor(handler); in xml_set_handler()
547 ZVAL_UNDEF(handler); in xml_set_handler()
552 ZVAL_COPY(handler, data); in xml_set_handler()
557 static void xml_call_handler(xml_parser *parser, zval *handler, zend_function *function_ptr, int ar… in xml_call_handler() argument
562 if (parser && handler && !EG(exception)) { in xml_call_handler()
567 ZVAL_COPY_VALUE(&fci.function_name, handler); in xml_call_handler()
580 if (Z_TYPE_P(handler) == IS_STRING) { in xml_call_handler()
581 php_error_docref(NULL, E_WARNING, "Unable to call handler %s()", Z_STRVAL_P(handler)); in xml_call_handler()
582 } else if (Z_TYPE_P(handler) == IS_ARRAY && in xml_call_handler()
583 (obj = zend_hash_index_find(Z_ARRVAL_P(handler), 0)) != NULL && in xml_call_handler()
584 (method = zend_hash_index_find(Z_ARRVAL_P(handler), 1)) != NULL && in xml_call_handler()