Fix php 5.5 support