implement functions with PHP