php 5.3 compat in tests