Adding phpfunction as mentioned by @WouterJ