C:\website\xoops\html\kernel\object.php on line 528528附近的行给贴出来
一般XOOPS是很容易安装的

解决方案 »

  1.   

    /**
         * dynamically register additional filter for the object
         * 
         * @param string $filtername name of the filter
         * @access public
         */
        function registerFilter($filtername)
        {
            $this->_filters[] = $filtername;
        }    /**
         * load all additional filters that have been registered to the object
         * 
         * @access private
         */
        function _loadFilters()
        {
            //include_once XOOPS_ROOT_PATH.'/class/filters/filter.php';
            //foreach ($this->_filters as $f) {
            //    include_once XOOPS_ROOT_PATH.'/class/filters/'.strtolower($f).'php';
            //}
        }    /**
         * create a clone(copy) of the current object
         * 
         * @access public
         * @return object clone
         */
        function &clone()
        {
            $class = get_class($this);
            $clone = new $class();
            foreach ($this->vars as $k => $v) {
                $clone->assignVar($k, $v['value']);
            }
            // need this to notify the handler class that this is a newly created object
            $clone->setNew();
            return $clone;
        }
      

  2.   

    function &clone()从这儿开始是528行
      

  3.   

    但从语法看是没有错的
    &clone
    引用返回用在当你想用函数找到引用应该被绑定在哪一个变量上面时。当返回引用时,使用此语法我的理解是修改对象的属性你的环境变量是?
      

  4.   

    在php5中clone是保留字,不能做函数(方法)名
      

  5.   

    unexpected T_CLONE, expecting T_STRING
      

  6.   

    环境变量就是 PHP APACHE SYSTEM 版本 
    如果你装的是PHP5的话,唠叨老大已经回答了