PHP 5.3 - 5.4 shim
<p>My server is running PHP 5.2. Is there a collection of shims so I can use a least some new ability of PHP 5.3 in PHP 5.2? like:</p>

<p><code>&lt;?php if ( !defined('__DIR__') ) define('__DIR__', dirname(__FILE__)); ?&gt;</code></p>
