先前同事詢問有關PHP static 關鍵字的用法,這裡我簡單整理一下。 ... function fibV2($n) { static $result = array(); if (!isset($result[$n])) ...
確定! 回上一頁