compatibility php5.3