Fixed PHP 5.3
Synced to fb7c94fb44dfd851e6c25610570d3a063e3ef6b8
Synced to fb7c94fb44dfd851e6c25610570d3a063e3ef6b8