PHP 4.0 Bug #2377: xmlparser problem

From: Date: Fri, 24 Sep 1999 17:26:19 +0000
Subject: PHP 4.0 Bug #2377: xmlparser problem
Groups: php.dev 
Request: Send a blank email to php-dev+get-11277@lists.php.net to get a copy of this message
From: bago@datasail.net Operating system: FreeBSD 3.2 PHP version: 4.0 Latest CVS (24/09/1999) PHP Bug Type: Misbehaving function Bug description: xmlparser problem 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>'); ?>

« previous php.dev (#11277) next »