2010-08-25 93 views

回答

6

你嘗試之前測試執行FOO()看它是否已定義或沒有(並隨後將其定義)

if(!function_exists("foo")) 
{ 
    function foo() 
    { 
     // do soemething 
    } 
} 

foo();