2014-01-14 16 views

回答

2

那麼,從某種意義上講,PHP可以說是有這個。如果我正確理解你的問題。

例如:

$hello="a variable"; 

function hello() { 
    return "a function"; 
} 

echo $hello."\n"; 
echo hello()."\n"; 

將打印:

a variable 
a function 

所以無論是變量和函數被調用你好。