php 对象转换数组与数组转换对象的例子(图文)
程序员文章站
2023-12-24 23:38:03
...
输出结果: object(ArrayObject)#1 (3) { [1]=> string(3) "one" [2]=> string(3) "two" [3]=> string(5) "three" } |
输出结果: object(ArrayObject)#1 (3) { [1]=> string(3) "one" [2]=> string(3) "two" [3]=> string(5) "three" } |