SlideShare a Scribd company logo
What’s new in PHP?PHP 5.4 and nextPierre JoyePHP / Microsoft OSTC
Pierre Joye@pierrejoyepierre@php.netIRC Freenode, EFNet@Pierre
Pierre JoyePHP (Core) developer(almost) crazy guy behind PHP/WindowsPortability Fanatic
php.net?(da passierthehnichts, oderdoch?)
Voting processProject leaders can voteClear and open processes and voteshttps://wiki.php.net/rfc/votingEnd of the trolls (almost)
RFC“PHP releases have always been done spontaneously, in a somehow chaotic way. Individual(s) decided when a release will happen and what could or could fit in. Release managers role are unclear and the way to nominate them is not clearly defined either.The goals of this RFC aim to solve these issues while giving to us, our users and 3rd parties (distributions, contributors, etc.) more visibility and the ability to actually have a roadmap, or plan developments.”Felipe Pena, Etienne Kneuss, StanislavMalyshev, Gustavo André dos Santos Lopes, David Soria Parra, Christian Stocker, Rob Richards, Pierre Joye, ZeevSuraski, Ilia Alshanetskyhttps://wiki.php.net/rfc/releaseprocess
RFCRelease cycleBC policySecurity release policy
Release cycle
Release cycle2011201220132014
Backward CompatibilityBC Break not allowedBC Break allowed (if desired)
php?(da passierthehnichts, oderdoch?)
“All PHP users should note that the PHP 5.2 series is NOT supported anymore.”www.php.net
“If you aren’t running PHP 5.3 on Windows, you’re lucky…because you have a 40% performance boost coming.”RasmusLerdorfSeattle PHP Meetup/October 2011
5.4
Speed!
+55%raw performance improvements
23.759
15.992
Bench sourcemicrobench.phpphp’ssrcZend/micro-bench.phpor via svn:http://svn.php.net/viewvc/php/php-src/branches/PHP_5_4/Zend/micro_bench.php
Speed!(for the oldy)
APC + IgBinary
Webdevcon pierrejoye-php54-and-other
Drupal 7
I don’t want no web server(or why in the world should I use Apache, IIS or nginx  ;-)
Webdevcon pierrejoye-php54-and-other
Webdevcon pierrejoye-php54-and-other
Laziness!(or the short array syntax)
Webdevcon pierrejoye-php54-and-other
Arrrray-ify(array dereferencing, save me a line)
(reminder: References are not pointers)
Webdevcon pierrejoye-php54-and-other
Webdevcon pierrejoye-php54-and-other
Indirect method call
Webdevcon pierrejoye-php54-and-other
What we were all waiting for!(goto is already here btw)
Binary format
Webdevcon pierrejoye-php54-and-other
Traits
Traits?  ”it is just compiler assisted copy and paste”Stefan Marrhttp://marc.info/?l=php-internals&m=128993895520538&w=2
Evolution(s)
Day 1
Webdevcon pierrejoye-php54-and-other
Day 2
Webdevcon pierrejoye-php54-and-other
Day 3
Webdevcon pierrejoye-php54-and-other
Webdevcon pierrejoye-php54-and-other
Multiple traits(and correct implementation)
Webdevcon pierrejoye-php54-and-other
Webdevcon pierrejoye-php54-and-other
Use Traits! 
MySQLndPluginsSession wrapper OO supporthttps://wiki.php.net/rfc/session-ooUpload progress for session datahttps://wiki.php.net/rfc/session_upload_progressJsonSerializable interfaceDtrace support
PHP needs you!
Test PHP 5.4beta/RC releasesUsing your appsRun the tests suiteReport bugsAsk features
resourcesScript used in this talk https://github.com/pierrejoye/webdevcon20115.4 https://wiki.php.net/todo/php545.4 migration guide (work in progress) http://de3.php.net/manual/en/migration54.phpBuilt-in webserver RFC&dochttps://wiki.php.net/rfc/builtinwebserverhttp://php.net/manual/en/features.commandline.webserver.php
ResourcesOther RFCs:https://wiki.php.net/rfcTraits documentationhttp://www.php.net/traits

More Related Content

KEY
An introduction to Phing the PHP build system (PHPDay, May 2012)
KEY
An introduction to Phing the PHP build system
PPT
PHPUnit Automated Unit Testing Framework
ODP
FileSender, BoF session at TNC2011, May 2011, Prague
PDF
Clojure presentation
KEY
PPTX
Interoperable PHP
An introduction to Phing the PHP build system (PHPDay, May 2012)
An introduction to Phing the PHP build system
PHPUnit Automated Unit Testing Framework
FileSender, BoF session at TNC2011, May 2011, Prague
Clojure presentation
Interoperable PHP

Similar to Webdevcon pierrejoye-php54-and-other (20)

PDF
The why and how of moving to php 8
KEY
Fall 2011 PHP Class - Session 1
PDF
PHP 5.4 - Begin your love affair with traits
PDF
What To Expect From PHP7
PDF
Keynote: O PHP, Where Art Thou?
PDF
The why and how of moving to php 7
PDF
PHP Doesn't Suck
PPT
Php unit i
PDF
PPTX
Devcon hh-2012
PPT
Introduction to PHP - SDPHP
PPT
PHP: Hypertext Preprocessor Introduction
PDF
Manual oficial de php5
PDF
2013 - Dustin whittle - Escalando PHP en la vida real
PPTX
PHP ITCS 323
PPTX
Php Symfony and software-life-cycle
PPT
Php manish
PPT
How PHP Works ?
The why and how of moving to php 8
Fall 2011 PHP Class - Session 1
PHP 5.4 - Begin your love affair with traits
What To Expect From PHP7
Keynote: O PHP, Where Art Thou?
The why and how of moving to php 7
PHP Doesn't Suck
Php unit i
Devcon hh-2012
Introduction to PHP - SDPHP
PHP: Hypertext Preprocessor Introduction
Manual oficial de php5
2013 - Dustin whittle - Escalando PHP en la vida real
PHP ITCS 323
Php Symfony and software-life-cycle
Php manish
How PHP Works ?
Ad

More from Pierre Joye (17)

PPTX
Php 7.x 8.0 and hhvm and
PPTX
Extending php (7), the basics
PPTX
Php7 hhvm and co
PPTX
Php 7 hhvm and co
PPTX
Php core. get rid of bugs and contribute
PPTX
Webdevcon Keynote hh-2012-09-18
PPTX
Short Intro talk to IPC/Berlin 2012
PPTX
Intro ipcberlin2012
PPTX
Php symfony and software lifecycle
PPTX
Mongodb - drupal dev days
PPTX
Webplatform And Php
PPTX
Keynote, PHP World Kongress Munich
PPTX
Php On Windows
PPTX
Php On Windows Internals
PPTX
Test Fest 2009
PPT
PHP Worl Kongress Munich
PPT
Developing PHP internals on Windows
Php 7.x 8.0 and hhvm and
Extending php (7), the basics
Php7 hhvm and co
Php 7 hhvm and co
Php core. get rid of bugs and contribute
Webdevcon Keynote hh-2012-09-18
Short Intro talk to IPC/Berlin 2012
Intro ipcberlin2012
Php symfony and software lifecycle
Mongodb - drupal dev days
Webplatform And Php
Keynote, PHP World Kongress Munich
Php On Windows
Php On Windows Internals
Test Fest 2009
PHP Worl Kongress Munich
Developing PHP internals on Windows
Ad

Recently uploaded (20)

PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
KodekX | Application Modernization Development
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
Electronic commerce courselecture one. Pdf
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Modernizing your data center with Dell and AMD
PPTX
Big Data Technologies - Introduction.pptx
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
Approach and Philosophy of On baking technology
PDF
cuic standard and advanced reporting.pdf
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Advanced methodologies resolving dimensionality complications for autism neur...
Digital-Transformation-Roadmap-for-Companies.pptx
20250228 LYD VKU AI Blended-Learning.pptx
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
KodekX | Application Modernization Development
The Rise and Fall of 3GPP – Time for a Sabbatical?
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Electronic commerce courselecture one. Pdf
Dropbox Q2 2025 Financial Results & Investor Presentation
Chapter 3 Spatial Domain Image Processing.pdf
Spectral efficient network and resource selection model in 5G networks
Mobile App Security Testing_ A Comprehensive Guide.pdf
Modernizing your data center with Dell and AMD
Big Data Technologies - Introduction.pptx
Understanding_Digital_Forensics_Presentation.pptx
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Approach and Philosophy of On baking technology
cuic standard and advanced reporting.pdf
Per capita expenditure prediction using model stacking based on satellite ima...
Agricultural_Statistics_at_a_Glance_2022_0.pdf

Webdevcon pierrejoye-php54-and-other

Editor's Notes

  • #6: Projects likedrupal, symfony, doctrine, etc. sinddabei
  • #12: Version?Php5? 5.2? 5.3?
  • #13: EswirdlangsamZeit auf 5.3 zumigrieren!
  • #14: Und das isteine der gruende
  • #38: 18
  • #51: Duplication: 75.01Extends: 86.66 Traits: 87.92
  • #52: Conflict resolution