Azure Functions doesnt have php language handler by default. However you can use Azure Functions custom handlers, this would suit your requirement. With custom handlers, you can use triggers and input and output bindings via extension bundles.
Please refer to the below github repository that has a php sample code running on custom handler
https://github.com/anthonychu/azure-functions-php-worker-sample
I hope this helps!
Please 'Accept as answer' and ‘Upvote’ if it helped so that it can help others in the community looking for help on similar topics.