What are the two language purposes?
What is PHP?
PHP is a server-side scripting language. You need to run the web server, with a connected PHP installation. The PHP parser ( CGI or server module ).
What is PHP used for?
PHP can do anything any other CGI program can do, such as collect form data, generate dynamic page content, or send and receive cookies. It’s mostly used to connect to a database in the format of a CRUD ( create, read, update and delete ) application.
What coding paradigms does PHP support?
PHP main paradigms are procedural and object-oriented styles.