Avoid some test not possible on PHP < 5.4.0