What is PHP

PHP stands for Hypertext Pre-processor. Php is a server-side scripting language. It is basically used for website development. It was originally created by Danish-Canadian programmer Rasmus Lerdorf in 1994;

Syntax:-


<?php 

?>

Try it on PHP Editor
if short tag is enable in php.ini file

Syntax:-


<?

?>

Example:-


<?php
echo 'Hello Friends';
?>
Output:- Hello Friends

PHP Advantage

1) Easy to read and write code.
2) It is supported by a majority of Operating Systems like Solaris, UNIX, Windows, and Linux.
3) Easy database connectivity.
4) It is an Open source so there is no need to pay anything.

Important Framework:- There are lots of PHP framework famous in the market like Laravel, Codeigniter, CakePHP, Zend, Symphony, etc.

Important CMS:- There are lots of PHP CMS in the market.

Ecommerce CMS:- There are lots of E-commerce CMS in the Market But Magento is more famous than other

Blogging CMS:- WordPress is most famous in the world, there are 70% website used this CMS on the web.

Some Important website which is developed in PHP

1) Facebook
2) Wikipedia
3) Yahoo
4) Tumblr
5) WordPress
6) MailChimp
7) Flickr