Added PHP functions.