foreach 遍歷陣列很常見,同樣foreach也可以遍歷物件. 做如下測試: class my { public $a = 'a'; protected $b = 'b'; private $c = 'c'; private ...
確定! 回上一頁