What is PHP
What is PHP? Hypertext Preprocessor — a server language mixed into HTML. You can write HTML, then a PHP block that prints the student’s name, then more HTML. The visitor never has to know PHP ran.
Open source, huge hosting support, talks easily to MySQL. That is why so many college projects still use it. Modern PHP (8+) has types, attributes, and JIT — it is not ‘only 2005 echo pages’.
Trap — ‘PHP is dead’. Say where it is used (WordPress, Laravel) and that you write PHP 8, not PHP 4.
Exam tip
Server language inside HTML. Browser sees output only.