Differences between using PHP vs Python when creating an API

What are the differences between using PHP and Python when creating an API? Which language is more suitable for this […]