update for php 5.5