Fixed check in PHP < 5.5