Updated PHP functions with descriptions