Rewriting the deprecated code
<p>this line of code is to create a thumb object, but there are warning in php 5.3.x</p>

<p><em>"Assigning the return value of new by reference is deprecated"</em></p>

<pre><code>if (FALSE === ($thumb =&amp; new thumbnail_party(500, 500, '#FFFFFF', 'jpg', CACHE_PATH))) {
</code></pre>

<p>how to rewrite it without any warnings?</p>

<p>thx</p>
