SlideShare ist ein Scribd-Unternehmen logo
1 von 33
Downloaden Sie, um offline zu lesen
PHP 7
Above and beyond
rafaelfqf@gmail.com
100%+
Performance gain on most real-world applications
What is coming in
PHP 7 that may break
your existing code
What is coming in
PHP 7 that will impact
how you write PHP
Get PHP7 up and
running
php7dev
https://github.com/rlerdorf/php7dev
3v4l
https://3v4l.org
Backward Compatibility Breaking RFCs
Continue output buffering despite aborted
connection
Replacing current json extension with jsond
Make defining multiple default cases in a switch
a syntax error
Remove alternative PHP tags
Abstract syntax tree
Reclassify E_STRICT notices
Reserve More Types in PHP7
Uniform Variable Syntax
ZPP Failure on Overflow
Constructor behavior of internal classes
Fix "foreach" behavior
Removal of dead or not yet PHP7 ported SAPIs
and extensions
Remove PHP 4 Constructors
Fix handling of custom session handler return
values
Backward Compatibility Breaking
Continue output buffering despite aborted
connection
Replacing current json extension with jsond
Make defining multiple default cases in a
switch a syntax error
Remove alternative PHP tags
Abstract syntax tree
Reclassify E_STRICT notices
Reserve More Types in PHP7
Uniform Variable Syntax
ZPP Failure on Overflow
Constructor behavior of internal classes
Fix "foreach" behavior
Removal of dead or not yet PHP7 ported
SAPIs and extensions
Remove PHP 4 Constructors
Fix handling of custom session handler return
values
Make defining multiple default cases in a switch a
syntax error
https://3v4l.org/PYHog
Remove alternative PHP tags
<% opening tag
<%= opening tag with echo
%> closing tag
(<scripts+languages*=s*(php|"php"|'php')s*>)i opening tag
(</script>)i closing tag
Remove alternative PHP tags
<?= is not being removed
Reserve More Types in PHP 7
int
float
bool
string
true, false
null
resource
object
mixed
numeric
If your code uses any of these new reserved
words as variable names or class names,
change them now.
Removal of dead or not yet PHP7 ported SAPIs and
extensions
aolserver
apache
apache_hooks
caudium
continuity
isapi
milter
phttpd
pi3web
roxen
thttpd
tux
webjames
apache2filter
nsapi
mysql
ereg
imap
mcrypt
interbase
mssql
oci8
pdo_dblib
pdo_oci
sybase_ct
Removal of dead or not yet PHP7 ported SAPIs and
extensions
aolserver
apache
apache_hooks
caudium
continuity
isapi
milter
phttpd
pi3web
roxen
thttpd
tux
webjames
apache2filter
nsapi
mysql
ereg
imap
mcrypt
interbase
mssql
oci8
pdo_dblib
pdo_oci
sybase_ct
High Impact RFCs
Spaceship Operator
Anonymous Classes
Bind Closure on Call
Generator Return Expressions
Generator Delegation
Filtered unserialized()
Exceptions in the Engine
Easy User-Land CSPRNG
Null Coalesce Operator
Return Type Declarations
Scalar Type Declarations
Group Use Declarations
High Impact
Spaceship Operator
Anonymous Classes
Bind Closure on Call
Generator Return Expressions
Generator Delegation
Filtered unserialized()
Exceptions in the Engine
Easy User-Land CSPRNG
Null Coalesce Operator
Return Type Declarations
Scalar Type Declarations
Group Use Declarations
Combined Comparison (Spaceship) Operator
PHP’s first trinary operator
https://3v4l.org/RMPDK
https://3v4l.org/Y4isF
Combined Comparison (Spaceship) Operator
Null Coalesce Operator
https://3v4l.org/OldcW
Return Type Declarations
https://3v4l.org/VEPNr
__construct() cannot declare a return type
__destruct() cannot declare a return type
__clone() cannot declare a return type
Return Type Declarations
When a sub-type overrides a parent method
then the return type of the child must exactly
match the parent and may not be omitted.
If a mismatch is detected during compile time
then E_COMPILE_ERROR will be issued.
If a type mismatch is detected when the function
returns then E_RECOVERABLE_ERROR will
be issued.
https://3v4l.org/D5AlG
Return Type Declarations
https://3v4l.org/ip7fA
Group Use Declarations
Group Use Declarations
https://joind.in/talk/view/15208
Thanks
https://github.com/rafaelqueiroz/php7

Weitere ähnliche Inhalte

Was ist angesagt?

When e-commerce meets Symfony
When e-commerce meets SymfonyWhen e-commerce meets Symfony
When e-commerce meets SymfonyMarc Morera
 
An Introduction To Perl Critic
An Introduction To Perl CriticAn Introduction To Perl Critic
An Introduction To Perl Criticjoshua.mcadams
 
PHP 7 Crash Course - php[world] 2015
PHP 7 Crash Course - php[world] 2015PHP 7 Crash Course - php[world] 2015
PHP 7 Crash Course - php[world] 2015Colin O'Dell
 
php 7.4 for word press developers
php 7.4 for word press developersphp 7.4 for word press developers
php 7.4 for word press developersRahul Rana
 
What is the Joomla Framework and why do we need it?
What is the Joomla Framework and why do we need it?What is the Joomla Framework and why do we need it?
What is the Joomla Framework and why do we need it?Rouven Weßling
 
Software Design
Software DesignSoftware Design
Software DesignSpy Seat
 
Perl Tidy Perl Critic
Perl Tidy Perl CriticPerl Tidy Perl Critic
Perl Tidy Perl Criticolegmmiller
 
Surprise! It's PHP :) (unabridged)
Surprise! It's PHP :) (unabridged)Surprise! It's PHP :) (unabridged)
Surprise! It's PHP :) (unabridged)Sharon Levy
 
Static Analysis of PHP Code – IPC Berlin 2016
Static Analysis of PHP Code – IPC Berlin 2016Static Analysis of PHP Code – IPC Berlin 2016
Static Analysis of PHP Code – IPC Berlin 2016Rouven Weßling
 
PHP 7 performances from PHP 5
PHP 7 performances from PHP 5PHP 7 performances from PHP 5
PHP 7 performances from PHP 5julien pauli
 
Php internal architecture
Php internal architecturePhp internal architecture
Php internal architectureElizabeth Smith
 
New Features in PHP 5.3
New Features in PHP 5.3New Features in PHP 5.3
New Features in PHP 5.3Bradley Holt
 
YAPC::NA 2007 - An Introduction To Perl Critic
YAPC::NA 2007 - An Introduction To Perl CriticYAPC::NA 2007 - An Introduction To Perl Critic
YAPC::NA 2007 - An Introduction To Perl Criticjoshua.mcadams
 
Mysqlnd, an unknown powerful PHP extension
Mysqlnd, an unknown powerful PHP extensionMysqlnd, an unknown powerful PHP extension
Mysqlnd, an unknown powerful PHP extensionjulien pauli
 
Perl 7, the story of
Perl 7, the story ofPerl 7, the story of
Perl 7, the story ofAndrew Shitov
 

Was ist angesagt? (20)

When e-commerce meets Symfony
When e-commerce meets SymfonyWhen e-commerce meets Symfony
When e-commerce meets Symfony
 
An Introduction To Perl Critic
An Introduction To Perl CriticAn Introduction To Perl Critic
An Introduction To Perl Critic
 
PHP 7 Crash Course - php[world] 2015
PHP 7 Crash Course - php[world] 2015PHP 7 Crash Course - php[world] 2015
PHP 7 Crash Course - php[world] 2015
 
php
phpphp
php
 
php 7.4 for word press developers
php 7.4 for word press developersphp 7.4 for word press developers
php 7.4 for word press developers
 
What is the Joomla Framework and why do we need it?
What is the Joomla Framework and why do we need it?What is the Joomla Framework and why do we need it?
What is the Joomla Framework and why do we need it?
 
Software Design
Software DesignSoftware Design
Software Design
 
Perl Tidy Perl Critic
Perl Tidy Perl CriticPerl Tidy Perl Critic
Perl Tidy Perl Critic
 
Php introduction
Php introductionPhp introduction
Php introduction
 
Surprise! It's PHP :) (unabridged)
Surprise! It's PHP :) (unabridged)Surprise! It's PHP :) (unabridged)
Surprise! It's PHP :) (unabridged)
 
Static Analysis of PHP Code – IPC Berlin 2016
Static Analysis of PHP Code – IPC Berlin 2016Static Analysis of PHP Code – IPC Berlin 2016
Static Analysis of PHP Code – IPC Berlin 2016
 
PHP 7 performances from PHP 5
PHP 7 performances from PHP 5PHP 7 performances from PHP 5
PHP 7 performances from PHP 5
 
PHP 5.3
PHP 5.3PHP 5.3
PHP 5.3
 
Php internal architecture
Php internal architecturePhp internal architecture
Php internal architecture
 
New Features in PHP 5.3
New Features in PHP 5.3New Features in PHP 5.3
New Features in PHP 5.3
 
YAPC::NA 2007 - An Introduction To Perl Critic
YAPC::NA 2007 - An Introduction To Perl CriticYAPC::NA 2007 - An Introduction To Perl Critic
YAPC::NA 2007 - An Introduction To Perl Critic
 
Pp
PpPp
Pp
 
Php performance
Php performancePhp performance
Php performance
 
Mysqlnd, an unknown powerful PHP extension
Mysqlnd, an unknown powerful PHP extensionMysqlnd, an unknown powerful PHP extension
Mysqlnd, an unknown powerful PHP extension
 
Perl 7, the story of
Perl 7, the story ofPerl 7, the story of
Perl 7, the story of
 

Andere mochten auch

86 jan-roger linna - 6953024 - method of controlling combustion in a homoge...
86   jan-roger linna - 6953024 - method of controlling combustion in a homoge...86   jan-roger linna - 6953024 - method of controlling combustion in a homoge...
86 jan-roger linna - 6953024 - method of controlling combustion in a homoge...Mello_Patent_Registry
 
Publizitate agentzia berria egitear dago
Publizitate agentzia berria egitear dagoPublizitate agentzia berria egitear dago
Publizitate agentzia berria egitear dagoAsier Lemuria
 
A Novel Approach for Cancer Detection in MRI Mammogram Using Decision Tree In...
A Novel Approach for Cancer Detection in MRI Mammogram Using Decision Tree In...A Novel Approach for Cancer Detection in MRI Mammogram Using Decision Tree In...
A Novel Approach for Cancer Detection in MRI Mammogram Using Decision Tree In...CSCJournals
 
Piddington CPD - Mediation - 9 November 2016 Final
Piddington CPD - Mediation - 9 November 2016 FinalPiddington CPD - Mediation - 9 November 2016 Final
Piddington CPD - Mediation - 9 November 2016 FinalAaron McDonald
 
Cocktails alcohol(5)
Cocktails alcohol(5)Cocktails alcohol(5)
Cocktails alcohol(5)audicastell
 
Orbitz and Spring Webflow Case Study
Orbitz and Spring Webflow Case StudyOrbitz and Spring Webflow Case Study
Orbitz and Spring Webflow Case StudyMark Meeker
 
Joomla! Testing - J!DD Germany 2016
Joomla! Testing - J!DD Germany 2016Joomla! Testing - J!DD Germany 2016
Joomla! Testing - J!DD Germany 2016Yves Hoppe
 
WordPressとS3で落ちないコーポレートサイトを立ち上げよう
WordPressとS3で落ちないコーポレートサイトを立ち上げようWordPressとS3で落ちないコーポレートサイトを立ち上げよう
WordPressとS3で落ちないコーポレートサイトを立ち上げようIchiro Tsuji
 
AWSでWordPressを使って富を得た時の話 (JAWS FESTA 東海道 2016 セッション)
AWSでWordPressを使って富を得た時の話 (JAWS FESTA 東海道 2016 セッション)AWSでWordPressを使って富を得た時の話 (JAWS FESTA 東海道 2016 セッション)
AWSでWordPressを使って富を得た時の話 (JAWS FESTA 東海道 2016 セッション)Kiminori Yokoi
 
[JAWS-UG関西IoT専門支部] IoTで関西のコミュニティをつなぐ
[JAWS-UG関西IoT専門支部] IoTで関西のコミュニティをつなぐ [JAWS-UG関西IoT専門支部] IoTで関西のコミュニティをつなぐ
[JAWS-UG関西IoT専門支部] IoTで関西のコミュニティをつなぐ Ichiro Tsuji
 
Siggraph2016 - The Devil is in the Details: idTech 666
Siggraph2016 - The Devil is in the Details: idTech 666Siggraph2016 - The Devil is in the Details: idTech 666
Siggraph2016 - The Devil is in the Details: idTech 666Tiago Sousa
 
Making JavaScript Accessible
Making JavaScript AccessibleMaking JavaScript Accessible
Making JavaScript AccessibleDennis Lembree
 
ポスト・フラットデザイン 〜フラットデザイン2.0とCSSフレームワーク〜
ポスト・フラットデザイン 〜フラットデザイン2.0とCSSフレームワーク〜ポスト・フラットデザイン 〜フラットデザイン2.0とCSSフレームワーク〜
ポスト・フラットデザイン 〜フラットデザイン2.0とCSSフレームワーク〜Akihiko Horiuchi
 
The Rendering Technology of Killzone 2
The Rendering Technology of Killzone 2The Rendering Technology of Killzone 2
The Rendering Technology of Killzone 2Guerrilla
 
3. types of entrepreneurs and their characteristics
3. types of entrepreneurs and their characteristics3. types of entrepreneurs and their characteristics
3. types of entrepreneurs and their characteristicsabcde123321
 

Andere mochten auch (20)

86 jan-roger linna - 6953024 - method of controlling combustion in a homoge...
86   jan-roger linna - 6953024 - method of controlling combustion in a homoge...86   jan-roger linna - 6953024 - method of controlling combustion in a homoge...
86 jan-roger linna - 6953024 - method of controlling combustion in a homoge...
 
Publizitate agentzia berria egitear dago
Publizitate agentzia berria egitear dagoPublizitate agentzia berria egitear dago
Publizitate agentzia berria egitear dago
 
A Novel Approach for Cancer Detection in MRI Mammogram Using Decision Tree In...
A Novel Approach for Cancer Detection in MRI Mammogram Using Decision Tree In...A Novel Approach for Cancer Detection in MRI Mammogram Using Decision Tree In...
A Novel Approach for Cancer Detection in MRI Mammogram Using Decision Tree In...
 
IJCSI-2015-12-2-10138 (1) (2)
IJCSI-2015-12-2-10138 (1) (2)IJCSI-2015-12-2-10138 (1) (2)
IJCSI-2015-12-2-10138 (1) (2)
 
Piddington CPD - Mediation - 9 November 2016 Final
Piddington CPD - Mediation - 9 November 2016 FinalPiddington CPD - Mediation - 9 November 2016 Final
Piddington CPD - Mediation - 9 November 2016 Final
 
Pas 115 presentation
Pas 115 presentationPas 115 presentation
Pas 115 presentation
 
Cocktails alcohol(5)
Cocktails alcohol(5)Cocktails alcohol(5)
Cocktails alcohol(5)
 
Digital strategy ottawa
Digital strategy  ottawaDigital strategy  ottawa
Digital strategy ottawa
 
Orbitz and Spring Webflow Case Study
Orbitz and Spring Webflow Case StudyOrbitz and Spring Webflow Case Study
Orbitz and Spring Webflow Case Study
 
Joomla! Testing - J!DD Germany 2016
Joomla! Testing - J!DD Germany 2016Joomla! Testing - J!DD Germany 2016
Joomla! Testing - J!DD Germany 2016
 
WordPressとS3で落ちないコーポレートサイトを立ち上げよう
WordPressとS3で落ちないコーポレートサイトを立ち上げようWordPressとS3で落ちないコーポレートサイトを立ち上げよう
WordPressとS3で落ちないコーポレートサイトを立ち上げよう
 
AWSでWordPressを使って富を得た時の話 (JAWS FESTA 東海道 2016 セッション)
AWSでWordPressを使って富を得た時の話 (JAWS FESTA 東海道 2016 セッション)AWSでWordPressを使って富を得た時の話 (JAWS FESTA 東海道 2016 セッション)
AWSでWordPressを使って富を得た時の話 (JAWS FESTA 東海道 2016 セッション)
 
View Monitoring Tips
View Monitoring TipsView Monitoring Tips
View Monitoring Tips
 
[JAWS-UG関西IoT専門支部] IoTで関西のコミュニティをつなぐ
[JAWS-UG関西IoT専門支部] IoTで関西のコミュニティをつなぐ [JAWS-UG関西IoT専門支部] IoTで関西のコミュニティをつなぐ
[JAWS-UG関西IoT専門支部] IoTで関西のコミュニティをつなぐ
 
Learning organization
Learning organizationLearning organization
Learning organization
 
Siggraph2016 - The Devil is in the Details: idTech 666
Siggraph2016 - The Devil is in the Details: idTech 666Siggraph2016 - The Devil is in the Details: idTech 666
Siggraph2016 - The Devil is in the Details: idTech 666
 
Making JavaScript Accessible
Making JavaScript AccessibleMaking JavaScript Accessible
Making JavaScript Accessible
 
ポスト・フラットデザイン 〜フラットデザイン2.0とCSSフレームワーク〜
ポスト・フラットデザイン 〜フラットデザイン2.0とCSSフレームワーク〜ポスト・フラットデザイン 〜フラットデザイン2.0とCSSフレームワーク〜
ポスト・フラットデザイン 〜フラットデザイン2.0とCSSフレームワーク〜
 
The Rendering Technology of Killzone 2
The Rendering Technology of Killzone 2The Rendering Technology of Killzone 2
The Rendering Technology of Killzone 2
 
3. types of entrepreneurs and their characteristics
3. types of entrepreneurs and their characteristics3. types of entrepreneurs and their characteristics
3. types of entrepreneurs and their characteristics
 

Ähnlich wie PHP 7: What's New and What's Changing - A Guide to Key Updates in PHP 7

Php 7.2 compliance workshop php benelux
Php 7.2 compliance workshop php beneluxPhp 7.2 compliance workshop php benelux
Php 7.2 compliance workshop php beneluxDamien Seguy
 
PHP 8: What's New and Changed
PHP 8: What's New and ChangedPHP 8: What's New and Changed
PHP 8: What's New and ChangedAyesh Karunaratne
 
Preparing for the next php version
Preparing for the next php versionPreparing for the next php version
Preparing for the next php versionDamien Seguy
 
Php7 HHVM and co
Php7 HHVM and coPhp7 HHVM and co
Php7 HHVM and coweltling
 
Php7 hhvm and co
Php7 hhvm and coPhp7 hhvm and co
Php7 hhvm and coPierre Joye
 
The why and how of moving to php 7
The why and how of moving to php 7The why and how of moving to php 7
The why and how of moving to php 7Wim Godden
 
PHP7 - A look at the future
PHP7 - A look at the futurePHP7 - A look at the future
PHP7 - A look at the futureRadu Murzea
 
PHP 7X New Features
PHP 7X New FeaturesPHP 7X New Features
PHP 7X New FeaturesThanh Tai
 
What To Expect From PHP7
What To Expect From PHP7What To Expect From PHP7
What To Expect From PHP7Codemotion
 
PHP 7 - A look at the future
PHP 7 - A look at the futurePHP 7 - A look at the future
PHP 7 - A look at the futureRadu Murzea
 
Php 5.6 vs Php 7 performance comparison
Php 5.6 vs Php 7 performance comparisonPhp 5.6 vs Php 7 performance comparison
Php 5.6 vs Php 7 performance comparisonTu Pham
 
Php5 vs php7
Php5 vs php7Php5 vs php7
Php5 vs php7gentlex2
 
Introduction to PHP - Basics of PHP
Introduction to PHP - Basics of PHPIntroduction to PHP - Basics of PHP
Introduction to PHP - Basics of PHPwahidullah mudaser
 
Spl in the wild - zendcon2012
Spl in the wild - zendcon2012Spl in the wild - zendcon2012
Spl in the wild - zendcon2012Elizabeth Smith
 
Writing and using php streams and sockets tek11
Writing and using php streams and sockets   tek11Writing and using php streams and sockets   tek11
Writing and using php streams and sockets tek11Elizabeth Smith
 

Ähnlich wie PHP 7: What's New and What's Changing - A Guide to Key Updates in PHP 7 (20)

Php 7.2 compliance workshop php benelux
Php 7.2 compliance workshop php beneluxPhp 7.2 compliance workshop php benelux
Php 7.2 compliance workshop php benelux
 
Guidelines php 8 gig
Guidelines php 8 gigGuidelines php 8 gig
Guidelines php 8 gig
 
PHP 8: What's New and Changed
PHP 8: What's New and ChangedPHP 8: What's New and Changed
PHP 8: What's New and Changed
 
Current state-of-php
Current state-of-phpCurrent state-of-php
Current state-of-php
 
Preparing for the next php version
Preparing for the next php versionPreparing for the next php version
Preparing for the next php version
 
Php7 HHVM and co
Php7 HHVM and coPhp7 HHVM and co
Php7 HHVM and co
 
CakePHP 3.0: Embracing the future
CakePHP 3.0: Embracing the futureCakePHP 3.0: Embracing the future
CakePHP 3.0: Embracing the future
 
Php7 hhvm and co
Php7 hhvm and coPhp7 hhvm and co
Php7 hhvm and co
 
The why and how of moving to php 7
The why and how of moving to php 7The why and how of moving to php 7
The why and how of moving to php 7
 
PHP7 - A look at the future
PHP7 - A look at the futurePHP7 - A look at the future
PHP7 - A look at the future
 
PHP 7X New Features
PHP 7X New FeaturesPHP 7X New Features
PHP 7X New Features
 
What To Expect From PHP7
What To Expect From PHP7What To Expect From PHP7
What To Expect From PHP7
 
PHP 7 - A look at the future
PHP 7 - A look at the futurePHP 7 - A look at the future
PHP 7 - A look at the future
 
Php 5.6 vs Php 7 performance comparison
Php 5.6 vs Php 7 performance comparisonPhp 5.6 vs Php 7 performance comparison
Php 5.6 vs Php 7 performance comparison
 
Php5 vs php7
Php5 vs php7Php5 vs php7
Php5 vs php7
 
Php7
Php7Php7
Php7
 
Sa
SaSa
Sa
 
Introduction to PHP - Basics of PHP
Introduction to PHP - Basics of PHPIntroduction to PHP - Basics of PHP
Introduction to PHP - Basics of PHP
 
Spl in the wild - zendcon2012
Spl in the wild - zendcon2012Spl in the wild - zendcon2012
Spl in the wild - zendcon2012
 
Writing and using php streams and sockets tek11
Writing and using php streams and sockets   tek11Writing and using php streams and sockets   tek11
Writing and using php streams and sockets tek11
 

Kürzlich hochgeladen

The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfRankYa
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostZilliz
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 

Kürzlich hochgeladen (20)

The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdf
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 

PHP 7: What's New and What's Changing - A Guide to Key Updates in PHP 7

  • 2.
  • 3.
  • 4.
  • 6.
  • 7.
  • 8. 100%+ Performance gain on most real-world applications
  • 9. What is coming in PHP 7 that may break your existing code
  • 10. What is coming in PHP 7 that will impact how you write PHP
  • 11. Get PHP7 up and running
  • 14. Backward Compatibility Breaking RFCs Continue output buffering despite aborted connection Replacing current json extension with jsond Make defining multiple default cases in a switch a syntax error Remove alternative PHP tags Abstract syntax tree Reclassify E_STRICT notices Reserve More Types in PHP7 Uniform Variable Syntax ZPP Failure on Overflow Constructor behavior of internal classes Fix "foreach" behavior Removal of dead or not yet PHP7 ported SAPIs and extensions Remove PHP 4 Constructors Fix handling of custom session handler return values
  • 15. Backward Compatibility Breaking Continue output buffering despite aborted connection Replacing current json extension with jsond Make defining multiple default cases in a switch a syntax error Remove alternative PHP tags Abstract syntax tree Reclassify E_STRICT notices Reserve More Types in PHP7 Uniform Variable Syntax ZPP Failure on Overflow Constructor behavior of internal classes Fix "foreach" behavior Removal of dead or not yet PHP7 ported SAPIs and extensions Remove PHP 4 Constructors Fix handling of custom session handler return values
  • 16. Make defining multiple default cases in a switch a syntax error https://3v4l.org/PYHog
  • 17. Remove alternative PHP tags <% opening tag <%= opening tag with echo %> closing tag (<scripts+languages*=s*(php|"php"|'php')s*>)i opening tag (</script>)i closing tag
  • 18. Remove alternative PHP tags <?= is not being removed
  • 19. Reserve More Types in PHP 7 int float bool string true, false null resource object mixed numeric If your code uses any of these new reserved words as variable names or class names, change them now.
  • 20. Removal of dead or not yet PHP7 ported SAPIs and extensions aolserver apache apache_hooks caudium continuity isapi milter phttpd pi3web roxen thttpd tux webjames apache2filter nsapi mysql ereg imap mcrypt interbase mssql oci8 pdo_dblib pdo_oci sybase_ct
  • 21. Removal of dead or not yet PHP7 ported SAPIs and extensions aolserver apache apache_hooks caudium continuity isapi milter phttpd pi3web roxen thttpd tux webjames apache2filter nsapi mysql ereg imap mcrypt interbase mssql oci8 pdo_dblib pdo_oci sybase_ct
  • 22. High Impact RFCs Spaceship Operator Anonymous Classes Bind Closure on Call Generator Return Expressions Generator Delegation Filtered unserialized() Exceptions in the Engine Easy User-Land CSPRNG Null Coalesce Operator Return Type Declarations Scalar Type Declarations Group Use Declarations
  • 23. High Impact Spaceship Operator Anonymous Classes Bind Closure on Call Generator Return Expressions Generator Delegation Filtered unserialized() Exceptions in the Engine Easy User-Land CSPRNG Null Coalesce Operator Return Type Declarations Scalar Type Declarations Group Use Declarations
  • 24. Combined Comparison (Spaceship) Operator PHP’s first trinary operator https://3v4l.org/RMPDK https://3v4l.org/Y4isF
  • 27. Return Type Declarations https://3v4l.org/VEPNr __construct() cannot declare a return type __destruct() cannot declare a return type __clone() cannot declare a return type
  • 28. Return Type Declarations When a sub-type overrides a parent method then the return type of the child must exactly match the parent and may not be omitted. If a mismatch is detected during compile time then E_COMPILE_ERROR will be issued. If a type mismatch is detected when the function returns then E_RECOVERABLE_ERROR will be issued. https://3v4l.org/D5AlG