Home
last modified time | relevance | path

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

/php-src/ext/xml/tests/
H A Dxml_set_object_multiple_times_errors.phpt19 public function end_element($parser, $name) {
20 echo "B::end_element($name)\n";
35 xml_set_element_handler($parser, "start_element", "end_element");
51 …gument #2 ($object) cannot safely swap to object of class B as method "end_element" does not exist…
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 Dxml_set_object_multiple_times.phpt27 public function end_element($parser, $name) {
28 echo "B::end_element($name)\n";
H A Dbug32001b.phpt38 function end_element($parser, $name) {
63 xml_set_element_handler($parser, "start_element", "end_element");
H A Dbug32001.phpt33 function end_element($parser, $name) {
103 xml_set_element_handler($parser, $this->start_element(...), $this->end_element(...));
/php-src/ext/xml/
H A Dcompat.c191 char *end_element; in end_element_handler() local
193 spprintf(&end_element, 0, "</%s>", (char *)name); in end_element_handler()
194 parser->h_default(parser->user, (const XML_Char *) end_element, strlen(end_element)); in end_element_handler()
195 efree(end_element); in end_element_handler()
211 char *end_element; in end_element_handler_ns() local
215 end_element_len = spprintf(&end_element, 0, "</%s:%s>", (char *) prefix, (char *)name); in end_element_handler_ns()
217 end_element_len = spprintf(&end_element, 0, "</%s>", (char *)name); in end_element_handler_ns()
219 parser->h_default(parser->user, (const XML_Char *) end_element, end_element_len); in end_element_handler_ns()
220 efree(end_element); in end_element_handler_ns()

Completed in 64 milliseconds