fix test in php 5.3