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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: bago at datasail dot net
New email:
PHP Version: OS:

 

 [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 18:01:29 2024 UTC