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
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とペアプロして処理時間を97%削減した話 #pyconshizu
kashewnuts
1
250
GC言語のWasm化とComponent Modelサポートの実践と課題 - Scalaの場合
tanishiking
0
120
安いハードウェアでVulkan
fadis
0
150
maplibre-gl-layers - 地図に移動体たくさん表示したい
kekyo
PRO
0
280
Agent Skills Workshop - AIへの頼み方を仕組み化する
gotalab555
15
8.9k
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
640
The Ralph Wiggum Loop: First Principles of Autonomous Development
sembayui
0
3.7k
「やめとこ」がなくなった — 1月にZennを始めて22本書いた AI共創開発のリアル
atani14
0
390
CDIの誤解しがちな仕様とその対処TIPS
futokiyo
0
220
クライアントワークでSREをするということ。あるいは事業会社におけるSREと同じこと・違うこと
nnaka2992
1
340
Swift ConcurrencyでよりSwiftyに
yuukiw00w
0
270
DevinとClaude Code、SREの現場で使い倒してみた件
karia
1
1.1k
Featured
See All Featured
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
AI Search: Where Are We & What Can We Do About It?
aleyda
0
7.1k
Practical Orchestrator
shlominoach
191
11k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
49
9.9k
First, design no harm
axbom
PRO
2
1.1k
What's in a price? How to price your products and services
michaelherold
247
13k
Visualization
eitanlees
150
17k
Tell your own story through comics
letsgokoyo
1
850
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
85
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
0
210
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
1
320
New Earth Scene 8
popppiees
1
1.7k
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