fix ctors
[pear] / XML / Tree.php
index 1519be3..ef8c7a9 100644 (file)
@@ -89,7 +89,7 @@ class XML_Tree extends XML_Parser
     * @param  string  filename  Filename where to read the XML
     * @param  string  version   XML Version to apply
     */
-    function XML_Tree($filename = '', $version = '1.0')
+    function __construct($filename = '', $version = '1.0')
     {
         $this->filename = $filename;
         $this->version  = $version;