PHP 5.6 compatibility
PHP 5.6 patch