Remove deprecated php functions.