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
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
110
Scrum - product increment
ndamnjanovic
0
70
Agile Practices, Emergency Procedures
ndamnjanovic
0
72
The Geek Gathering Conference - recap
ndamnjanovic
0
30
33rd Degree - recap
ndamnjanovic
0
29
RequireJS - overview
ndamnjanovic
1
41
JS Tools for modern webapp
ndamnjanovic
0
40
Other Decks in Programming
See All in Programming
NPOでのDevinの活用
codeforeveryone
0
810
GitHub Copilot and GitHub Codespaces Hands-on
ymd65536
2
150
AIと”コードの評価関数”を共有する / Share the "code evaluation function" with AI
euglena1215
1
150
すべてのコンテキストを、 ユーザー価値に変える
applism118
3
1.2k
チームで開発し事業を加速するための"良い"設計の考え方 @ サポーターズCoLab 2025-07-08
agatan
1
350
AIともっと楽するE2Eテスト
myohei
2
760
今ならAmazon ECSのサービス間通信をどう選ぶか / Selection of ECS Interservice Communication 2025
tkikuc
21
3.9k
Code as Context 〜 1にコードで 2にリンタ 34がなくて 5にルール? 〜
yodakeisuke
0
120
PipeCDのプラグイン化で目指すところ
warashi
1
270
MDN Web Docs に日本語翻訳でコントリビュートしたくなる
ohmori_yusuke
1
120
地方に住むエンジニアの残酷な現実とキャリア論
ichimichi
5
1.5k
来たるべき 8.0 に備えて React 19 新機能と React Router 固有機能の取捨選択とすり合わせを考える
oukayuka
2
920
Featured
See All Featured
Keith and Marios Guide to Fast Websites
keithpitt
411
22k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
248
1.3M
Thoughts on Productivity
jonyablonski
69
4.7k
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
Being A Developer After 40
akosma
90
590k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
48
5.5k
Build The Right Thing And Hit Your Dates
maggiecrowley
36
2.8k
How STYLIGHT went responsive
nonsquared
100
5.6k
Making the Leap to Tech Lead
cromwellryan
134
9.4k
4 Signs Your Business is Dying
shpigford
184
22k
Building a Modern Day E-commerce SEO Strategy
aleyda
42
7.4k
The Straight Up "How To Draw Better" Workshop
denniskardys
234
140k
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