Sunday, December 20, 2015

Versions of PHP

Versions of PHP :-
1     PHP 1.0 (1995) :-
i ) Rasmus Lerdorf implemented PHP 1.0 using ‘C’ & ‘Perl’ Softwares.
ii ) It is not a server side scripting language
2     PHP 2.0 (1997):-
i )  Rasmus Lerdorf implemented PHP 2.0 as partially server-side scripting language
ii ) PHP 2.0 supports different types of Database servers.
iii ) we can implement some types of modules using 2.0 those are registration,  login, etc..
3     PHP 3.0 (1998) : -
i ) PHP 3.0 Fully server side scripting language.
ii ) Zeev Suraski & Andi Gutmans rewritten the functionalities of PHP from scrotch. On released it 3.0 as fully server-side scripting language.
iii) PHP 3.0 supports different platforns (Operating systems)
iv) Personal Homepage os renamed as Hypertext Preprocessor with this verson
4     PHP 4.0 (2000) :-
i)                    PHP 4.0 is a cross server, it supports IIS, APACHE, TOMCAT etc.
ii)                   Zend engine 1.0 is introduced in PHP 4.0, Zend Engine is Runtime  Environment o f PHP application
iii)                 Smarty templation system is introduced with this version, we can simply develop the application with predefined templates.
5     PHP 5.0 (2004 - 2005) : -
i)                    The major upgrade of PHP 5.0 is Object Oriented Proframing support
ii)                   Zend Engine 2.0 is introduced with PHP 5.0
iii)                 XML and Webservices related classes are introduced with PHP 5.0
6     PHP 6.0  :-
i)                    The main focus of PHP 6.0 is Unicode support means programmer can able to name their calsses and methods with their native languages.

ii)                   Some advanced object oriented programming concepts introduced with php 6.0 . those are namespaces and late static binding.

PHP Introduction

PHP Introduction

PHP is a server side scripting language implemented by Rasmus Lerdorf in 1995 using “C” and “Perl” Technologies. By using PHP we can develop Dynamic Web Application.

Static webpage: only information displays.
                     Ex: Newspaper
Dynamic webpage: We can login
                           Ex: Gmail, facebook

PHP stands for Personal Home page  and it’s contains it alias name i.e. Hypertext preprocessor

Features of PHP:-
  1. Cross Platform :- it can run under any tupes of operating system.
  2.  ross Server : - it can run under different types of webservers, like IIS, Apache, Tomcat etc…
  3. Cross database :- it supports any type of Database server.
  4.   PHP 5.0 Mysql :- PHP 5.0 is providing Mysql library to intract with mysql DB.
  5.   PHP Supports no.of object otiented programming concepts like Inheritance, Access specifiers etc.
  6.   PHP open source.
  7.   PHP supports different types of content management soft ware like JOOMLA, WORDPRESS, DRUPAL, MAGENTO etc. all CMS (content management system) softwares are open source softwares
  8.  PHP providing no.of security functions to apply security to application. 1-way encryption, 2-way encryption, Authentication etc.
  9.  PHP supports different types of editors to develop programes. We can also use light weight Editors (NOTEPAD, EDIT PLUS et c.)


  • PHP exicution is very fast because of ZEND Engine.
  •  ZEND Organization is maintaining the PHP Script, they introduced number of tools to work with PHP and also they are providing compleate support to PHP Proframmers their online.
  • PHP is very easy to understand & develop the application.
  • PHP is partially case sensitive language. In function point of view it is case in sensitive and variables point of view it is case sensitive.
  • Every statement in PHP, we should end with ";"(semicolon).
  • PHP is loosely typed language. Tha’s why no need to provide datatypes at the type variable declatation.
  • Variable names in PHPshould start with ‘$’(Dollar) sysmbol.
  • Every PHP File extension should be .php
  • PHP script we should include within the script declaration style tags.

<?php
  -----------------

?>