PHP is used by 77.9% of all the
websites whose server-side
programming language is known
WordPress is used by 16.6% of all the
websites in the world
Top three CMSes, for the websites that
use a monitored content management
Wordpress is first with 54.3%
Joomla is second with 9.2%
Drupal is third with 6.8%
Three products written in PHP
Created in 1994 by Rasmus Lerdorf
3.0.x released on 20 Oct 2000
4 Released on 22 may 2000 and maintained till 4.4.9
which was released 7 august 2008
5 Released 13 July 2004 and is still maintained. Current
version is 5.5.5, released 17 Oct 2013
Average every few months there is new release.
more than 150 extensions
Officially called "Personal Home Page Tools (PHP Tools)". This is the first
use of the name "PHP".
Development moves from one person to multiple developers. Zeev Suraski
and Andi Gutmans rewrite the base for this version
Added more advanced two-stage parse/execute tag-parsing system called
the Zend engine
Introduced 'superglobals' ($_GET, $_POST, $_SESSION, etc.)
Disabled register_globals by default.
Introduced the command-line interface (CLI), to supplement the CGI
Fixed a memory corruption bug, which required breaking binary
compatibility with extensions compiled against PHP version 4.3.x
Zend Engine II with a new object model.
Performance improvements with introduction of compiler variables in reengineered PHP Engine. Added PHP Data Objects (PDO) as a consistent
interface for accessing databases
Enabled the filter extension by default. Native JSON support.
Namespace support; late static bindings, Jump label (limited goto), Native closures,
Native PHP archives (phar), garbage collection for circular references, improved
Windows support, sqlite3, mysqlnd as a replacement for libmysql as underlying library
for the extensions that work with MySQL, fileinfo as a replacement for mime_magic for
better MIME support, the Internationalization extension, and deprecation of ereg
Trait Support, short array syntax support. Removed items: register_globals,
safe_mode, allow_call_time_pass_reference, session_register(), session_unregister()
and session_is_registered(). Built-in web server. Several improvements to existing
features, performance and reduced memory requirements.
Support for generators, finally blocks for exceptions handling, Zend Optimizer+
bundled in official distribution.
No date set
Internal operator overloading, GMP changes
No date set
Although internally commenced in 2007, the development of PHP 6 has been delayed
because in 2010 the developers decided to cancel their implementation of instance
Unicode and introduce UTF-8 support throughout the entire framework. Most other
updates that were intended for PHP 6 were added to PHP 5.3.0 (namespace support,
late static bindings, lambda functions, closures, goto) and 5.4.0 (traits, closure
PHP Extension and Application Repository
PEAR was born in discussions held in the PHP Developers' Meeting (PDM) held in January 2000 in Tel
Aviv. It was created by Stig S. Bakken, and is dedicated to his first-born daughter, Malin Bakken.
Since early 2000, PEAR has grown to be a big, significant project with a large number of developers
working on implementing common, reusable functionality for the benefit of the entire PHP community.
PEAR today includes a wide variety of infrastructure foundation classes for database access, content
caching, mathematical calculations, eCommerce and much more.
595 Packages on site and 769 developers
PHP Extension Community Library
conceptually very similar to PEAR, and indeed PECL
modules are installed with the PEAR Package Manager
contains C extensions for compiling into PHP
spun off from the PEAR Project in October 2003.
Originally it was called the PEAR Extension Code
Library, but it now operates independently of PEAR.
PHP Quality Assurance Initiative
It was set up in the summer of 2000 in response to
criticism that PHP releases were not being tested
well enough for production environments.
The team now consists of a core group of developers
with a good understanding of the PHP code base.
These developers spend a lot of their time localizing
and fixing bugs within PHP
solution for writing client side GUI applications.
It was written with look to PyGtk and help from
James Henstridge, the author of PyGtk.
Popular sites using PHP
PHP for Andoid
Thanks to Google-mainteined project SL4A
Simple XML buildfiles
Rich set of provided tasks
PHing Is Not GNU make; it's a PHP project build system or build tool based on Apache Ant.
You can do anything with it that you could do with a traditional build system like GNU make,
and its use of simple XML build files and extensible PHP "task" classes make it an easy-touse and highly flexible build framework.
Easily extendable via PHP classes
Platform-independent: works on UNIX,
Windows, Mac OSX
No required external dependencies
Built for PHP5
Installation through PEAR channel
ionCube PHP Accelerator
Windows Cache Extension for PHP
Alternative PHP Cache
HipHop Virtual Machine
HHVM is a new open-source virtual machine designed for executing programs written
in PHP. It uses a just-in-time compilation approach to achieve superior performance
while maintaining the flexibility that PHP developers are accustomed to. To date,
HHVM (and its precedessor HPHPc before it) has realized over a 9x increase in web
request throughput and over a 5x reduction in memory consumption for Facebook
compared with the Zend PHP 5.2 engine + APC.
HHVM can be run as a standalone webserver (i.e. without the Apache webserver and
the "modphp" extension). HHVM can also be used together with a FastCGI-based
webserver, and work is in progress to make HHVM work smoothly with Apache.
PHP Toolkit for ADO .NET Data Services
allow php developers use data sources created with ADO .NET Data Services.
ORM framework for php5, with simple API to store and retrieve data.
An object oriented library written in PHP that abstracts database operations for portability. It
is modelled on Microsoft's ADO, but has many improvements that make it unique (eg. pivot
tables, Active Record support, generating HTML for paging recordsets with next and
previous links, cached recordsets, HTML menu generation, etc).
ORM for PHP 5.2.3+, created upon DBAL. One of the features is possibility to write queries
on object-oriented SQL dialect – DQL, created with inspire of Hibernate HQL.
Xdebug Debugger and Profiler Tool
Xdebug is one of the most popular debugging PHP extensions. It provides a ton of useful data to help you quickly find bugs in
your source code. Xdebug plugs right into many of the most popular PHP applications, such as PHPEclipse and phpDesigner.
Gubed PHP Debugger
As the name implies, Gubed PHP Debugger is a PHP debugging
PHP_Dyn is another excellent PHP debugging tool that’s
the argument and return values of your functions.
open-source. You can trace execution and get an output of
tool for hunting down logic errors.
DBG – PHP Debugger and Profiler
PHP_Debug is an open-source project that gives you useful information about your PHP code that can be used for debugging. It
can output processing times of your PHP and SQL, check the performance of particular codeblocks and get variable dumps in
graphical form, which is great if you need a more visual output than the one given to you by print_r() or var_dump().
Dependency Manager for PHP
Composer is a tool for
dependency management in
PHP. It allows you to declare
the dependent libraries your
project needs and it will install
them in your project for you.
This idea is not new and Composer is strongly inspired by node's npm and ruby's bundler. But
there has not been such a tool for PHP.
Yes, PHP has a better dependency
manager than any other languages.
Both dynamic/static typing
Reduced execution overhead compared with full
Restricted procedural programming, promoting OOP
Compiler design goals:
Allow runtime profile-guided optimizations,
pseudo-constant propagation and
indirect/virtual function inlining
Ze(nd Engine) Ph(p) I(nt)r(mediate)
is a high level language that eases the
creation and maintainability of
extensions for PHP. Zephir extensions
are exported to C code that can be
compiled and optimized by major C
compilers such as gcc/clang/vc++.
Functionality is exposed to the PHP
TOP 5 languages
TOP 5 languages
#repositories created 2012
#repositories created 2013
Github Archive, a dataset of Github events queryable using Google BigQuery
A particular slide catching your eye?
Clipping is a handy way to collect important slides you want to go back to later.