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
120
Scrum - product increment
ndamnjanovic
0
77
Agile Practices, Emergency Procedures
ndamnjanovic
0
76
The Geek Gathering Conference - recap
ndamnjanovic
0
32
33rd Degree - recap
ndamnjanovic
0
32
RequireJS - overview
ndamnjanovic
1
45
JS Tools for modern webapp
ndamnjanovic
0
43
Other Decks in Programming
See All in Programming
Oxlint JS plugins
kazupon
1
890
副作用をどこに置くか問題:オブジェクト指向で整理する設計判断ツリー
koxya
1
610
AIによる開発の民主化を支える コンテキスト管理のこれまでとこれから
mulyu
3
240
QAフローを最適化し、品質水準を満たしながらリリースまでの期間を最短化する #RSGT2026
shibayu36
2
4.4k
AIフル活用時代だからこそ学んでおきたい働き方の心得
shinoyu
0
130
AI時代のキャリアプラン「技術の引力」からの脱出と「問い」へのいざない / tech-gravity
minodriven
21
7.1k
AIエージェントのキホンから学ぶ「エージェンティックコーディング」実践入門
masahiro_nishimi
5
430
CSC307 Lecture 03
javiergs
PRO
1
490
フロントエンド開発の勘所 -複数事業を経験して見えた判断軸の違い-
heimusu
7
2.8k
CSC307 Lecture 01
javiergs
PRO
0
690
コマンドとリード間の連携に対する脅威分析フレームワーク
pandayumi
1
450
Honoを使ったリモートMCPサーバでAIツールとの連携を加速させる!
tosuri13
1
180
Featured
See All Featured
Fireside Chat
paigeccino
41
3.8k
Docker and Python
trallard
47
3.7k
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
240
Building a Modern Day E-commerce SEO Strategy
aleyda
45
8.6k
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
1
5.2k
A designer walks into a library…
pauljervisheath
210
24k
The SEO identity crisis: Don't let AI make you average
varn
0
180
Intergalactic Javascript Robots from Outer Space
tanoku
273
27k
We Have a Design System, Now What?
morganepeng
54
8k
Rebuilding a faster, lazier Slack
samanthasiow
85
9.4k
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
380
Navigating Team Friction
lara
192
16k
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