update for php55 support