PHP 編碼規范(13) 6.3 返回語句 一個帶返回值的return語句不使用小括號”()”,除非它們以某種方式使返回值更為顯見。例如: return; return myDisk.size(); return ($size ? $size : $defaultSize);