Fix UT error on PHP5.3