test for the need of hack with PHP < 5.4