added minimum requirement of PHP 5.4