A useful PHP functions.