Variable within an array PHP
<p>I want the variable to be parsed within the array so when I echo $head['meta_title'] , lol is displayed. I have tried wrapping it in double quotes but that doesn't seem to work either, is there any way round this?? Thanks!</p>

<p>I am getting either unexpected T_VARIABLE and when I use double quotes I get unexpected ""</p>

<pre><code>$meta_title = "lol";

public $head = array
(
    "title"        =&gt; "blah",
    "meta_title"   =&gt; $meta_title,
    "meta_content" =&gt; $meta_content
);
</code></pre>
