What is PHP?
PHP(Hypertext Preprocessor) is a open source server side scripting programming language designed for web development.It was created by Rasmus Lerdorf in 1994.
It stands for Hypertext Pre-processor,PHP can only run PHP installed servers.Extension of PHP file is .php
Used in various web frameworks,content management systems.
Easy to learn syntax.It is platform independent.Popularly used in data-driven Web application.
PHP Version 1.0(1995)
PHP Version 2.0(1997)
PHP Version 3.0(1998)
PHP Version 4.0(2000)
PHP Version 5.0(2004)
PHP Version 7.0(2015)
PHP start with <? and end with ?>
<?php //code here ?>
PHP Hello World Example
To create hello world in php create a file and write HTML TAGS and PHP code.
<html> <body> <?php echo "Hello World"; ?> </body> </html>