PHP is a server-side scripting language designed specifically for web development. Since, PHP code executed on server side so it is called server side scripting language.
It is a general purpose programming language and widely used now a days for competitive programming. It is also used as backend language.
Java is one of the most popular and widely used programming language and platform. It is highly scalable. Java components are easily available.
Python is a programming language that lets you work quickly and integrate systems more efficiently.