PHP Array Object show unexpected T_DOUBLE_ARROW error
<p>I have a problem, which seems to be in line <code>$this-&gt;pd_db = object(</code><br>
The shown error is</p>

<pre><code>Parse error: syntax error, unexpected T_DOUBLE_ARROW in /var/www/website/includes/PD.php on line 10 `
</code></pre>

<p>Here is my code </p>

<pre><code>$this-&gt;pd_db = object(
  'cstm'  =&gt; object(
    'table_name'      =&gt; "customdata",
    'table_version'   =&gt; '1.0'
  )
);
</code></pre>

<p>Please solve this.</p>
