Php recursion into multidimensional array

Posted by dclowd9901 on Stack Overflow See other posts from Stack Overflow or by dclowd9901
Published on 2010-04-12T05:06:11Z Indexed on 2010/04/12 5:13 UTC
Read the original article Hit count: 400

Filed under:
|
|
|

I'm trying to write a script that, in its process, would need to be able to write an undefined number of nested arrays, and those arrays need to be able to have custom keys.

Essentially, the script is being used to convert an HTML DOM into a multidimensional array. I'm not extremely well versed in recursion, so any pointers would be awesome.

© Stack Overflow or respective owner

Related posts about html

Related posts about multidimensional