restoreDataBase($path,$file) 
这个应是构造函数
意指实例化时就自动调用执行的函数
可以在实例化时就指定这两个参数$restoreDataBase=new restoreDataBase($path,$file); 

解决方案 »

  1.   

    记不清构造函数的写法了,也可能执行的是这个
     restoreDataBaseStruct
    在里面echo一下就行了
      

  2.   

    用 $restoreDataBase=new restoreDataBase; 的时候会执行
    function restoreDataBase($path,$file) 
    自己试着看一下,因为这里面用到了其它的函数,所以如你所说!
      

  3.   

    function restoreDataBase($path,$file)与类同名,明显它就是构造函数,实例化时自动调用。在php5中,function _construct()也是构造函数。