Fix PHP 5.3 compatibility.

Signed-off-by: Toha <tohenk@yahoo.com>