Home
last modified time | relevance | path

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

/PHP-7.4/ext/xml/tests/
H A Dxml004.phpt11 xml_set_element_handler($xp, "start_element", "end_element");
19 xml_set_element_handler($xp, "start_element", "end_element");
37 function end_element($xp, $elem)
H A Dxml_closures_001.phpt20 $end_element = function ($xp, $elem)
27 xml_set_element_handler($xp, $start_element, $end_element);
H A Dbug32001b.phpt33 function end_element($parser, $name) {
58 xml_set_element_handler($parser, "start_element", "end_element");
H A Dbug32001.phpt32 function end_element($parser, $name) {
102 xml_set_element_handler($parser, "start_element", "end_element");
/PHP-7.4/ext/xml/
H A Dcompat.c208 char *end_element; in _end_element_handler() local
210 spprintf(&end_element, 0, "</%s>", (char *)name); in _end_element_handler()
211 parser->h_default(parser->user, (const XML_Char *) end_element, strlen(end_element)); in _end_element_handler()
212 efree(end_element); in _end_element_handler()
232 char *end_element; in _end_element_handler_ns() local
236 end_element_len = spprintf(&end_element, 0, "</%s:%s>", (char *) prefix, (char *)name); in _end_element_handler_ns()
238 end_element_len = spprintf(&end_element, 0, "</%s>", (char *)name); in _end_element_handler_ns()
240 parser->h_default(parser->user, (const XML_Char *) end_element, end_element_len); in _end_element_handler_ns()
241 efree(end_element); in _end_element_handler_ns()

Completed in 14 milliseconds