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: None
 [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

Pull Requests

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-2024 The PHP Group
All rights reserved.
Last updated: Thu Nov 21 13:01:29 2024 UTC