php5 static fix