PHP call static workaround for PHP 5.2
<p>Is there are way to get __callStatic, or similar, functionality in PHP 5.2?</p>

<p>I'm finishing a PHP Framework and need to use this functionality for a Database ORM class. So for example you can use the code below to get data from column 2 and column 4 of the database table i.e. by declaring methods dynamically according to what you want (like rails I guess).</p>

<pre><code>Class::find_by_col2_or_col4();
</code></pre>

<p>I have already done this in PHP 5.3 and it works perfectly, but I'm trying to do the same for those using PHP 5.2.</p>

<p>Or is there some other way to retrieve the name of the static method and arguments using PHP 5.2?</p>

<p>Thanks.</p>
