From:             [EMAIL PROTECTED]
Operating system: Windows
PHP version:      5.0.0b3 (beta3)
PHP Bug Type:     XML related
Bug description:  xml_parse looses object reference

Description:
------------
If using xml_set_object() to register handlers in an object, xml_parse
sometimes looses the reference to the object and displays a warning:

Warning: xml_parse() [function.xml-parse]: Unable to call handler
startHandler() in C:\php4\PEAR\XML\Parser.php on line 264

Try PEAR::XML_RDDL to see the bug in action.

If registering xml_set_element_handler( $p, array( $obj, 'method' ),
array( $obj, 'method' ) ) it seems to work fine.


-- 
Edit bug report at http://bugs.php.net/?id=26981&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=26981&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=26981&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=26981&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=26981&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=26981&r=needtrace
Need Reproduce Script:      http://bugs.php.net/fix.php?id=26981&r=needscript
Try newer version:          http://bugs.php.net/fix.php?id=26981&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=26981&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=26981&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=26981&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=26981&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=26981&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=26981&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=26981&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=26981&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=26981&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=26981&r=float

Reply via email to