Skip to main content

Introduction of php and it's features

 what is php ?
what is features of php language?

Introduction of PHP 

PHP is a server site scripting language. which we use to create a dynamic  content,
website  and web application. 
PHP language is develop by Rasmus Lerdorf
in 1994.
In this time, PHP is a most popular scripting language. Most popular website as facebook and yahoo developed by php language.

Features of PHP

Php is a most popular and secondary used for world wide scripting language.
there are many features of php language:-
  1. simple and easy to learn
  2. open source
  3. error reporting
  4. faster
  5. case sensitive
  6. loosely type language
  7. independent plateform

Simple And easy to learn

PHP is a very simple to use read and write.PHP language understandable and user-friendly. user and developer easily identify PHP code.

Interpreted language

PHP is an interpreted language, which means there is no need for compilation. Interpreters run through a program line by line and execute the code. PHP language no need of compiler as like c and c++.

Open source

PHP is open-source, which means it can be downloaded and used freely. There is absolutely no hassle to acquire a license to use it .

Security

PHP has many pre-defined functions for data encryption. Users can also use third-party applications for security. Security and flexibility are often contrasting feature  therefore, PHP is designed specifically to be a more secure language for writing CGI (Computer-generated Imagery) programs. Security algorithms such as Sha1  and MD5(Message digest 5) are used to encrypt the strings in PHP. Filter_var and strip_tags functions help to keep the environment more secure and safe for users.

Object oriented 

   PHP  supports  object  -  oriented  programming features like data object and class,  data encapsulation, inheritance, abstraction, polymorphism, etc. The Object-oriented programming feature was added in PHP version 5. This feature helps in building complex reusable web pages and makes PHP comparable to powerful object-oriented languages like Java and Python.

Case sensitive

PHP is a case-sensitive language. Although functions names are not case-sensitive, other things in PHP are case-sensitive. The following things in PHP are case-sensitive as
Variable names,Constructs ,Keywords,
User-defined functions and class names.

Example : echo keyword don't use Echo.

Loosely type language

PHP supports variable declaration without declaring its data type.

Faster 

PHP scrips are usually faster than other scripting languages. Users can load their web pages faster, and they love it. PHP code runs faster than most of programming languages because it runs in its own memory space. 

Comments

Post a Comment