PHP Scripting Language

History of PHP

PHP is a server-side scripting language that is used to develop a dynamic web site. It stands for Hypertext Preprocessor (earlier called, Personal Home Page). It was created by Rasmus Lerdorf in 1994 and appeared in the market in 1995. the most of syntax of PHP comes from C, Java, Pascal, and Perl.

PHP embedded in HTML and it is an open-source scripting language. it is secure and powerful so that a huge number of websites use PHP as a server-side scripting language. It is integrated with a number of popular databases, including Oracle, Sybase, Informix, PostgreSQL, MySQL, and Microsoft SQL Server.


  • Simplicity
  • Efficiency
  • Familiarity
  • Security
  • Flexibility
  • Open source
  • Object Oriented

Simplicity :
It is very simple and easy to writes code, there is no needs to include libraries file like C programming language. you do not need to create a class to use PHP. and also the main function is not required in PHP language

Efficiency :
It supports object-oriented programming. it allocates memory dynamically and releases that memory automatically if it is not in use so that there is no need to deallocate memory which is not used. it means it has strong memory management.

Familiarity :
If you are a programmer then you can easily understand its syntax because its syntax inherited from the C, Pascal, Java, and Perl. it means we can write code with no complexity.

Security :
The PHP predefined function collection supports many trusted data encryption options.

Flexibility :
It is an embedded language it can embed with Javascript, HTML, XML. It is also versatile for access to databases and can connect to several databases.

Open source :
It is open-source so that you do not need to purchase any license, it is freely available to all.

Object-Oriented :
It is an object-oriented scripting language; it supports Abstraction, Encapsulation, Inheritance, Polymorphism, etc.