Create Array with specific key in PHP
<p>seems like i'm blind at the moment. I want to build an empty array(). but instead of getting "0" as array-key i want to have a specific string as the key... Just to make it clear:</p>

<pre><code>$array = array();
</code></pre>

<p>gives me:</p>

<pre><code>[0] =&gt; array {
}
</code></pre>

<p>but i want it like that:</p>

<pre><code>["string"] =&gt; array {
}
</code></pre>

<p>...this really drives me crazy right now.</p>

<p>Thanks,Alex</p>
