php5.3 compatible test