Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Intro to PHP 7
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Nedeljko Damnjanovic
October 22, 2015
Programming
0
120
Intro to PHP 7
Nedeljko Damnjanovic
October 22, 2015
Tweet
Share
More Decks by Nedeljko Damnjanovic
See All by Nedeljko Damnjanovic
Introduction to Agile methodology
ndamnjanovic
0
120
Scrum - product increment
ndamnjanovic
0
78
Agile Practices, Emergency Procedures
ndamnjanovic
0
76
The Geek Gathering Conference - recap
ndamnjanovic
0
32
33rd Degree - recap
ndamnjanovic
0
33
RequireJS - overview
ndamnjanovic
1
46
JS Tools for modern webapp
ndamnjanovic
0
43
Other Decks in Programming
See All in Programming
AI駆動開発の本音 〜Claude Code並列開発で見えたエンジニアの新しい役割〜
hisuzuya
4
520
AHC061解説
shun_pi
0
380
AI時代のシステム設計:ドメインモデルで変更しやすさを守る設計戦略
masuda220
PRO
5
1k
RubyとGoでゼロから作る証券システム: 高信頼性が求められるシステムのコードの外側にある設計と運用のリアル
free_world21
0
300
The Ralph Wiggum Loop: First Principles of Autonomous Development
sembayui
0
3.7k
ふつうの Rubyist、ちいさなデバイス、大きな一年
bash0c7
0
990
API Platformを活用したPHPによる本格的なWeb API開発 / api-platform-book-intro
ttskch
1
140
エラーログのマスキングの仕組みづくりに役立ったASTの話
kumoichi
0
230
コーディングルールの鮮度を保ちたい / keep-fresh-go-internal-conventions
handlename
0
200
生成 AI 時代のスナップショットテストってやつを見せてあげますよ(α版)
ojun9
0
250
encoding/json/v2のUnmarshalはこう変わった:内部実装で見る設計改善
kurakura0916
0
420
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
640
Featured
See All Featured
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
380
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
360
30k
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
110
How to build an LLM SEO readiness audit: a practical framework
nmsamuel
1
680
The innovator’s Mindset - Leading Through an Era of Exponential Change - McGill University 2025
jdejongh
PRO
1
130
Abbi's Birthday
coloredviolet
2
5.4k
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
11
860
RailsConf 2023
tenderlove
30
1.4k
30 Presentation Tips
portentint
PRO
1
250
Designing for humans not robots
tammielis
254
26k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
122
21k
Data-driven link building: lessons from a $708K investment (BrightonSEO talk)
szymonslowik
1
980
Transcript
PHP 7
2015. • 2004. PHP 5.0 • PHP 6 • Important
year for the PHP community • End of November
What’s there to know? • Impact on current codebase •
Is it safe to update • What’s really changed
Performance • Reason to upgrade • Two times faster •
Fast as HHVM
None
Backward compatibility • Deprecated methods are removed (ASP tags
(<% %>, <%=), split, mysql extension) • Uniform Variable Syntax force normal expression evaluation order
None
None
Engine exceptions • Facilitate handling errors • Fatal and recoverable
fatal errors -> exceptions • We should catch those exceptions and handle
None
New features • New operators • spaceship • null
coalesce • scalar type hint • return type hint
Spaceship Combined comparision operator <=>
Null coalesce operator • Shortcut for conditional that checks if
variable is set
Scalar type hints • Integers, floats, strings and booleans as
type hints • non restrictive (float to int) • it’s possible to enable strict mode
Return type hints • Non restrictive • available strict mode
Many more • Anonymous classes • Closure call method •
Group ‘use’ declarations
None