Fix failing php 5.4 test