Declaring static arrays in php
<p>I am new to php. I was wondering how I could declare a static array in php. Here is what I would do in C. How is the corresponding php code for it?</p>

<pre><code>char a[][] = { (1,1), (1,2), (1,3), (2,1), (2,2), (2,3), (3,1), (3,2), (3,3) };
</code></pre>

<p>From what I read it has to be something like this - </p>

<pre><code>$a = array( 1 =&gt; array(1,1), 2 =&gt; array(1,2), ... );
</code></pre>

<p>Is this correct? If so it sucks :) I hope I am wrong.</p>

<p>Thanks,
- Pav</p>
