PHP 5.3 fix. [2]