PHP var_dump 輸出到變數的方法 malagege included in PHP 2019-10-30 24 words One minute Contents 實務上 log 不是只會記在頁面上 也會在 console 裡面 1 2 3 4 5 <?php ob_start(); var_dump($party); $result = ob_get_clean(); Log::write('result => '. $result , "xxxxxxx" ); Please enable JavaScript to view the comments powered by Disqus.