It is a general purpose server side scripting language that is used to develop:-
- Static websites
- Dynamic websites
- Web applications
The client computers accessing the PHP scripts require a web browser only.
A PHP file contains PHP tags and ends with the extension “.php”.
PHP is open source and free.
PHP as it’s known today is actually the successor to a product named PHP/FI. Created in 1994 by Rasmus Lerdorf, the very first incarnation of PHP was a simple set of Common Gateway Interface (CGI) binaries written in the C.
<?php echo ‘My first code’; ?>