What is PHP? What are its advantages?

 

What is PHP? What are its advantages?

 

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

PHP is server side scripting language , interprets on server, while javascript is client side that is interprets on client computer. Both PHP and javascript are embedd into HTML page.

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 :

  1. <?php
  2.  
  3. echo ‘hi’;
  4.  
  5. ?>

output – hi

page name should be like this – name.php

explain –

name = name of page

.php = is php extension

There are popular frameworks are available in PHP :

CODEIGNITER , LARAVEL , CAKEPHP , ZEND ETC…

CMS :

WORDPRESS , JOOMLA

There are popular website in PHP :

FACEBOOK , DIGG ,

PHP FILE EXTENSION :

.phtml

.php3

.php4

.php5

.phps

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

 

 

Leave a Reply

Your email address will not be published. Required fields are marked *