title: get a single value of array items in php
body: <p>I have an array in my php code, but I don't know how to get the value of it.</p>
  
  <p>my array : </p>
  
  <pre><code>$year =  array(
      'data' =&gt; to_html(strtr(to_lang('main/date_format_other_years'), array(
      '^day' =&gt; '',
      '^month' =&gt; '',
      '^year' =&gt; date('Y', $timestamp),
   ))),
  );
  </code></pre>
  
  <p>I have a variable named <code>$stringyear</code>, how can I set it to 'year' value of this array?</p>