added php 5.6 support