Lines Matching refs:parser
8 function end_handler(XMLParser $parser, string $tag) {
13 public function start_element($parser, $name, $attributes) {
15 xml_set_object($parser, $b);
18 public function PIHandler($parser, $target, $data) {
24 public function start_element($parser, $name) {
27 public function end_element($parser, $name) {
30 public function PIHandler($parser, $target, $data) {
38 $parser = xml_parser_create();
39 xml_set_object($parser, $a);
40 xml_set_element_handler($parser, "start_element", "end_handler");
41 xml_set_processing_instruction_handler($parser, [$a, "PIHandler"]);
42 xml_parse($parser, <<<XML