Updated to use PHP versions below 5.5