- Dynamic: Serves to be dynamically typed as many other scripting languages. In other words, a type is associated with each value instead of each expression.
- Prototype-based: Uses prototypes where many other object-oriented languages implement concepts like classes for inheritance.
- Functional: Considers function as an object having properties and methods.
- Delegative: Supports implicit and explicit delegation.
It is a general purpose, server-side scripting language, which runs on a web server. The main use of PHP is to develop dynamic web pages that load content, images, and other data from the databases based on the function written in the PHP le. The code written in a PHP le is executed by the PHP runtime. Apart from being used as a server-side scripting language, it is a well-written web programming language, which along with CSS and HTML has been changing the Internet. PHP is also used for command-line scripting. Usually the output of PHP code is HTML, but it is not a hard and fast rule, as its output can be JSON, XML, or binary data as well.