Fix call deprecated in PHP 5.5