PHP stands for PHP: Hypertext Preprocessor. It is a recursive acronym, because the first word of the name is the name itself. PHP is an open source server-side scripting language designed for web development.
The code runs on the server, and PHP sends the result to the browser, usually as HTML. The visitor receives only that output, never the PHP source. PHP can be embedded directly in HTML between <?php and ?> tags, or fill whole files.
PHP is also platform-independent, so the same code runs on Linux, Windows and macOS.
Rewriting in plainer words…
This answer doesn't lend itself to a diagram - it reads best . No credits were charged.