elementToArray

elementToArray ( string code ) : array

Convert an HTML code in an associative array example :

<code>
my code
</code>
<tab>
  <td1>part1</td1>
  <td2>part2</td2>
</tab>

become :
[code:my code,
tab: [td1:part1,td2:part2] ]

Parameters

code

The HTML code to convert to array