花費 15 ms
php json字符串轉為數組或對象

從網上查到的方法是 用get_object_vars 把類類型轉換成數組 然后在用foreach 遍歷即可 $array = get_object_vars($test); $json= '[{ ...

Sat Feb 14 07:50:00 CST 2015 2 55649

 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM