PHP is a scripting language designed for developing dynamic web pages. While its principal purpose was server-side scripting, it has grown to incorporate a command line interface capability and can be used to develop client-side Graphical User Interface (GUI) applications as well.