checking code with PHP 5.5