What is PHP? What are its advantages?
PHP is a server side scripting language. It is used to create Static websites or Dynamic websites or Web applications or . PHP stands for Hypertext Pre-processor, It is earlier called Personal Home Pages.
PHP code can only be interpreted on a server that has PHP installed. PHP is one of the easiest scripting language to learn very quickly.
PHP Syntax –
<?php // starting tag
echo 'welcome on php' // echo us used for print
?> // end tag
output – welcome on php
There are following important points –
What is mean by PHP Scripting Language –
PHP scripting language is a language that interprets PHP scripts at runtime.
Main purpose of the scripts is to optimize the performance for an application
What PHP stand for?
PHP means – earlier it is called Personal Home Page, but as of now, it stands for the Hypertext Preprocessor. This time top 20 millions websites using PHP. facebook is the bigger investments in PHP.
Php Syntax :
- echo ‘hi’;
output – hi
page name should be like this – name.php
name = name of page
.php = is php extension
There are popular frameworks are available in PHP :
CODEIGNITER , LARAVEL , CAKEPHP , ZEND ETC…
WORDPRESS , JOOMLA
There are popular website in PHP :
FACEBOOK , DIGG ,
PHP FILE EXTENSION :
Advantages of PHP :
There are following points that you will get surprise about PHP :
3rd Largest StackOverflow Community
5th Largest Meetup Community
5th Most Popular language at GitHub
larger PHP community
Easy to Get Started With PHP