Added check for PHP 5.6