updated to php5.4