How to create a list of lists in PHP?
<p>This might be basic question but how do I create a list of lists in PHP. I would like to perform the following operations:</p>

<pre><code>var x = List(List(1,1,1),List(2,2,2), List(3,3))
echo x[0]   //prints List(1,1,1)
echo x[1]   //prints List(2,2,2)
x  = x.List(4,4,4)
echo x      //prints List(List(1,1,1),List(2,2,2), List(3,3),List(4,4,4))
</code></pre>
