php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #2377 xmlparser problem
Submitted: 1999-09-24 13:26 UTC Modified: 1999-09-25 11:54 UTC
From: bago at datasail dot net Assigned:
Status: Closed Package: Misbehaving function
PHP Version: 4.0 Latest CVS (24/09/1999) OS: FreeBSD 3.2
Private report: No CVE-ID:
 [1999-09-24 13:26 UTC] bago at datasail dot net
here is the code that works with php3 and php4b2 but not with php4cvs

<?php

		function startElement($parser, $tgname, $attrs) {
			print($tgname);
			xml_set_element_handler($parser, "startElement", false);
		}
		
		$xml_parser = xml_parser_create();
		xml_set_element_handler($xml_parser, "startElement", false);
		xml_parse($xml_parser, '<A></A>');

?>


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-09-25 11:54 UTC] thies at cvs dot php dot net
should be fixed in CVS
 
PHP Copyright © 2001-2014 The PHP Group
All rights reserved.
Last updated: Wed Apr 16 04:02:11 2014 UTC