add some php function