Adding support for PHP 5.3. This is good for retrocompability.