1--TEST-- 2Bug #73135 (xml_parse() segmentation fault) 3--EXTENSIONS-- 4xml 5--CREDITS-- 6edgarsandi - <edgar.r.sandi@gmail.com> 7--FILE-- 8<?php 9function start_elem($parser, $xml) { 10 xml_parse($parser, $xml); 11} 12 13function dummy() {} 14 15$xml = <<<HERE 16<a xmlns="ahihi"> 17 <bar foo="ahihi"/> 18</a> 19HERE; 20 21 $parser = xml_parser_create_ns(); 22 xml_set_element_handler($parser, 'start_elem', 'dummy'); 23 xml_parse($parser, $xml); 24?> 25--EXPECTF-- 26Fatal error: Uncaught Error: Parser must not be called recursively in %s:%d 27Stack trace: 28%a 29