Adding min version check for PHP 5.4+