What is PHP

PHP stand for ‘Hypertext Preprocessor’.

PHP is a server side scripting language, and used for creating dynamic web application.

PHP is a open source language,it is free to download.

PHP is easy to runs on various platforms like : Windows, Linux, Unix etc.

PHP is compatible with (Apache, IIS, etc.)

PHP allows to create dynamic web page and interacts with databases.

PHP is used for developing web applications.

PHP Syntax

PHP tag starts like <?php and ends with ?>

<?php
//Enter Code Here
?>

The extension of php is ‘.php’

PHP is a case sensitive language but with variable not with functions, classes and user-defined functions .

Functions, classes and user-defined functions are NOT case-sensitive.

All echo state are legel below

<?php
echo "PHP Language";
echo "PHP Language";
echo "PHP Language";
?>

variable are case sensitive.

<?php
$variable = "case sensitive";
echo  $variable . "<br>";
echo  $VAriable . "<br>";
?>

Leave a Reply

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