How to create an array from output of var_dump in PHP?

前端 未结 6 1950
谎友^
谎友^ 2021-01-13 06:53

How can I parse the output of var_dump in PHP to create an array?

6条回答
  •  孤城傲影
    2021-01-13 07:30

    Perhaps you are trying to convert an object to an array? http://www.phpro.org/examples/Convert-Object-To-Array-With-PHP.html

提交回复
热议问题