Using variables in an array
<p>I have borrowed beautiful <em><a href="http://www.php.net/manual/en/function.time.php#105257" rel="nofollow">Cokidoo DateTime</a></em> class, that converts regular DateTime to "ago format".</p>

<p>I'm developing multilingual web-site and wanted to replace <code>year ago</code>, <code>years ago</code>, <code>month ago</code> with variables.</p>

<h3>Code example:</h3>

<pre><code>protected $strings = array(
        'y' =&gt; array('1 year ago', '%d years ago'),
        'm' =&gt; array('1 month ago', '%d months ago'),
        'd' =&gt; array('1 day ago', '%d days ago'),
        'h' =&gt; array('1 hour ago', '%d hours ago'),
        'i' =&gt; array('1 minute ago', '%d minutes ago'),
        's' =&gt; array('now', '%d secons ago'),
    );
</code></pre>

<p><br>
Is this possible to do this without using replace methods?</p>

<p>Obviously this didn't work:</p>

<p><code>'m' =&gt; array('1' . $month_ago, '%d' . $months_ago),</code></p>

<p>Any help please?</p>
