PHP stands for PHP: Hypertext Pre-processor, it is a server side scripting language use for making web applications. Rasmus Lerdorf first develoed this language in the web programming world, it’s very simple and easy to learn.
PHP is an open source programming language and it runs on most of the operating systems like windows, linux, MAC etc and it’s available to most web services.
PHP is a powerful server side programming language, It’s is very helpful for users to creating a dynamic web pages. PHP code basically used in HTML pages(Hypertext Markup Language), now HTML-5 is achieved.
When Rasmus Lerdorf was created PHP he takes most of syntaxes from programming C, Java and Perl. It was a simple set of CGI (Common Gateway Interface). “He mainly stood PHP for Personal Home Page.”
Learning of PHP in very simple, when you start PHP, Keep in mind one thing that the extension name of php file is (.php). PHP separated in file with <?php starting tag and ?> ending tag. Look at down we are helping you how to write PHP code.
echo "It is my first web page!";
A PHP file create normally contains HTML tags with PHP scripting code, PHP script can be placed anywhere in a PHP document and a php code runs faster rather than html code even php files runs first.
For example if your project folder contains index.html and index.php then index.php will run first. If you want to make a variable in php then start with $ sign such as $name=”Jamse Kartlen”; and also php uses many data types, loops, array and its have many features. You don’t need to declare data type when you making a variable in php.
Rasmus Lerdorf started PHP with developed to PHP/F1 2.0 in 1994. In 1997 it’s up to 3.0 with new thought through by Zeev Suraski and Andi Gutmans. Next version has come by Zend Verson 5.2.4. Now PHP initial release 7.0 and 7.1.