function &getDebugAsXMLComment()
    {
        // it would be nice to use a memory stream here to use
        // memory more efficiently
        while (strpos($this->debug_str, '--')) {
            $this->debug_str = str_replace('--', '- -', $this->debug_str);
        }
        $ret = "<!--\n" . $this->debug_str . "\n-->";

        return $ret;
    }
function &getDebugAsXMLComment()
    {
        // it would be nice to use a memory stream here to use
        // memory more efficiently
        while (strpos($this->debug_str, '--')) {
            $this->debug_str = str_replace('--', '- -', $this->debug_str);
        }
        $ret = "<!--\n" . $this->debug_str . "\n-->";

        return $ret;
    }
function & getDebugAsXMLComment ( ) { // it would be nice to use a memory stream here to use // memory more efficiently while ( strpos ( $ this -> debug_str , '--' ) ) { $ this -> debug_str = str_replace ( '--' , '- -' , $ this -> debug_str ) ; } $ ret = "<!--\n" . $ this -> debug_str . "\n-->" ; return $ ret ; }
gets the current debug data for this instance as an XML comment
this may change the contents of the debug data

@return   debug data as an XML comment
@access   public
gets the current debug data for this instance as an XML comment this may change the contents of the debug data