PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » XML » XML_Tree » Bug #22

Removing deprecated methods in 2.0b1 caused "Call to undefined function" errors

Details

Submitted2003-09-18 17:22 UTC
Fromrussell at keppner dot net
Assignedcox
StatusClosed
PackageXML_Tree
PHP Version4.3.3
OSLinux
Roadmaps(Not assigned)

Comments

[2003-09-18 17:22 UTC] russell at keppner dot net

Description:
------------
This one is pretty straight forward. The deprecated methods
add_root() and set_content() were removed, but the new code
still calls them at lines 262 and 300 respectively in XML/Tree.php.

Actual result:
--------------
PHP Fatal error: Call to undefined function: add_root() in
/usr/local/lib/php/X ML/Tree.php on line 262
PHP Fatal error: Call to undefined function: set_content() in
/usr/local/lib/php/XML/Tree.php on line 300