Correction php5.3 behaviour