PHP Programming


PHP is a server-side scripting language designed for web development but also used as a general-purpose programming language.As per the stats PHP was installed on more than 240 million websites (39% of those sampled) and 2.1 million web servers until January 2013.PHP originally stood for Personal Home Page,it now stands for PHP: Hypertext Preprocessor. Rasmus Lerdorf in 1994 developed this language, the reference implementation of PHP (powered by the Zend Engine) is now produced by “The PHP Group”. PHP code can be embeded with HTML code, or it can be used in combination with various templating engines and web frameworks. PHP code is being processed by a PHP interpreter, which is usually implemented as a web server’s native module or a Common Gateway Interface (CGI) executable. After the PHP code is interpreted and executed, the server sends output to the client-side that is to the user’s browser,PHP code can generate a web page’s HTML code, an image, or some other data. In PHP the command-line interface (CLI) can be used in standalone graphical applications.

HISTORY
The Canonical PHP Interpreter
Upgradations In Php

 

HISTORY

PHP development began in 1994 when Rasmus Lerdorf wrote a series of Common Gateway Interface (CGI) binaries in C, which he used to maintain as his personal homepage. He made them to work with web forms and to communicate with databases,and called this implementation “Personal Home Page/Forms Interpreter” or PHP/FI. PHP/FI could be used to build simple, dynamic web applications. Lerdorf initially announced the release of PHP/FI as “Personal Home Page Tools (PHP Tools) version 1.0” publicly just to accelerate the bug location and improve the code, on the Usenet discussion group comp.infosystems.www.authoring.cgi on June 8, 1995. This release already had the basic functionality that PHP has in 2013. This included Perl-like variables, form handling, and the ability to embed with HTML. The syntax was same as that of Perl but was simpler and easy, but was more limited and less consistent.

The Canonical PHP Interpreter

The canonical PHP interpreter, powered by the Zend Engine, is free software released under the PHP License. PHP has been widely ported and can be deployed on most web servers on almost every operating system and platform, free of charge. Despite its popularity, no written specification or standard existed for the PHP language until 2014, leaving the canonical PHP interpreter as a de facto standard. Since 2014, there is ongoing work on creating a formal PHP specification.

Upgradations In Php

  • On May 22, 2000, PHP 4, powered by the Zend Engine 1.0, was released.Note:PHP 4 is no longer under development and no security updates will be released.
  • On July 13, 2004, PHP 5 was released, powered by the new Zend Engine II, which included new features such as improved support for object-oriented programming, the PHP Data Objects (PDO) extension (for accessing databases), and other performance enhancements. As of August 2008 this branch reached version 4.4.9.
  • In 2008 PHP 5became the only stable version under development. As of latest, static binding had been missing from PHP and was added in version 5.3.
  • For the PHP versions 5.3 and 5.4 The only available Microsoft Windows binary distributions were 32-bit x86 builds,requiring Windows 32-bit compatibility modewhile using Internet Information Services (IIS) on a 64-bit Windows platform.
  • PHP version 5.5:In PHP version 5.5 the 64-bit x86-64 builds are available for Microsoft Windows.

PHP 6 And PHP 7

As for the year 2014, the work is underway on a new major PHP version named PHP 7. There was some issues as to whether the next major version of PHP was to be called PHP 6 or PHP 7. While the PHP 6 Unicode experiment is not being released, a number of articles and book titles referenced the old PHP 6 name, which might have caused confusion if a new release were to reuse the PHP 6 name. After some disscusions and voting, the name PHP 7 was chosen. PHP 7 gets its foundations from an experimental PHP branch that was originally named phpng (PHP next generation), which aims at optimizing PHP performance by refactoring the Zend Engine while retaining near-complete language compatibility.

As of 14 July 2014, WordPress-based benchmarks, which serve as the main benchmark suite for phpng project, show an almost 100% increase in performance.

As more compact data structures and other changes are seen as better suited for a successful migration to a just-in-time (JIT) compiler. Because of these significant changes, this reworked Zend Engine will be called Zend Engine 3, succeeding the Zend Engine 2 used in PHP 5. In terms of new language features, PHP 7 will add features such as return type declarations, which will complement its existing parameter type declarations, and will add support for the scalar types (integer, float, string and boolean) in parameter and return type declarations. It will also contain an improved variable syntax which is internally consistent and complete, and will allow use of ->, [], (), {}, and :: operators.

Ayush Chandel
A tech enthusiastic,developer and blogger who loves to write about technology and help bridge the gap between techies and mainstream readers. Always ready to suggest people on technology and especially the web development. He's also the Founder of this site and just hate Taylor Swift.

Comments 0

Leave a Reply

PHP Programming

log in

reset password

Back to
log in
Choose A Format
Story
Formatted Text with Embeds and Visuals
%d bloggers like this: