syntax error, unexpected '['
<p>hi im new to php and i have this error i don't know what is the cause and i tried to solve it but no luck ..
  here is the error</p>

<pre><code>syntax error, unexpected '[' in C:\wamp\www\co\admin\modules\common\lib\classes\modules.php on line 169
</code></pre>

<p>here is my code </p>

<pre><code>                foreach ( $parts as $part )
                {
169=&gt;               $value = explode( "=", $part )[1];
                    $key = explode( "=", $part )[0];
                    if ( !$key )
                    {
                        continue;
                    }
                    $temp[$key] = $value;
                }
</code></pre>

<p>thanks in advance for your help</p>
