What is PHP?
PHP (PHP: Hypertext Preprocessor) is a popular, free and open-source server-side scripting language. It is mostly used to create websites and web applications. PHP code runs on the server, and the visitor gets only the result as HTML.
With PHP you can create static and dynamic websites, handle forms, work with cookies and sessions, send emails, read and write files, and connect with databases like MySQL.
<?php
echo "Hello, World!";
?>
Output:
Tutorials Class - Output Window
Hello, World!
PHP powers WordPress and many other big websites. The current series is PHP 8. Start learning in the PHP Introduction, and see the full form of PHP also.
Learn more about the similar topics:
| Tutorials |
|---|
| PHP Introduction |
| PHP Terminology |
| PHP Installation |
| PHP Syntax |
| PHP Comments |
| PHP exit() Function |
| Exercises & Assignments |
|---|
| Write a program to print “Hello World” using echo |
| Simple Tips for PHP Beginners |
| Experiment with Basic PHP Syntax Errors |
| Using phpinfo() – Display PHP Configuration & Modules |