Re: (Fwd) Re: PEAR::Config, PHP5 and XML problems

From: Date: Sat, 28 Feb 2004 20:57:13 +0000
Subject: Re: (Fwd) Re: PEAR::Config, PHP5 and XML problems
References: 1 2  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-25960@lists.php.net to get a copy of this message
Stephan Schmidt wrote:
I had some similar problems with any class that uses xml_* functions. The workaround for PHP5 beta3 was to use xml_parser_set_element_handler( array( $this, 'startElement' ), array( $this, 'endElement') ); instead of using xml_parser_set_object($this); xml_parser_set_element_handler( 'startElement', 'endElement'); But I haven't tried this with PHP5 Beta4...
As far as I know this should also work with PHP5b4. We use expat parsing extensively in Phing -- and we use the above method to set start/end element handlers. (And Phing works w/ PHP5b4) Hans

« previous php.pear.dev (#25960) next »