Try and make this thing work with SCL php5.4