Fixed warning on PHP 5.4.6-1ubuntu1.1