Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Intro to PHP 7
Search
Nedeljko Damnjanovic
October 22, 2015
Programming
130
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Intro to PHP 7
Nedeljko Damnjanovic
October 22, 2015
More Decks by Nedeljko Damnjanovic
See All by Nedeljko Damnjanovic
Introduction to Agile methodology
ndamnjanovic
0
130
Scrum - product increment
ndamnjanovic
0
86
Agile Practices, Emergency Procedures
ndamnjanovic
0
83
The Geek Gathering Conference - recap
ndamnjanovic
0
35
33rd Degree - recap
ndamnjanovic
0
39
RequireJS - overview
ndamnjanovic
1
53
JS Tools for modern webapp
ndamnjanovic
0
48
Other Decks in Programming
See All in Programming
信頼性の目標を誰も求めてない
shubox
0
500
DroidKaigi 2026 「個人開発という実験場: Android エンジニアが手にする4つの自由」
slashnephy
0
230
市販E-Readerを乗っ取れ 〜Embedded Swiftで電子ペーパーガジェットを制御する〜
trickart
0
170
What We Talk About When We Talk About XP
m_seki
2
570
週末にAI-DLCを本気で回したら$1,600溶けた
hbashimizu
0
130
PHPプロジェクトの結合バランスを可視化する #php_night
kajitack
0
240
AHC070解法紹介
eijirou
0
110
テストを司るデーモンに会いに行く 〜隔離した仮想マシンでテストを通すまで〜
h1d3mun3
1
190
[DroidKaigi 2026] Bring your own phones to Gradle Managed Devices
f2lk
0
120
20260828_品質と開発生産性を両立させる、AI時代のE2Eテストの考え方
magicpod
0
200
AIは賢い。でも実行環境は? CLIおじさんがAI時代に伝えたいこと ~ CLIおじさんがAI時代に伝えたいこと ~
curekoshimizu
1
240
数年滞っていたダークモード対応をおよそ2週間で完了させる
chigichan24
0
700
Featured
See All Featured
The Invisible Side of Design
smashingmag
301
52k
HDC tutorial
michielstock
2
860
Winning Ecommerce Organic Search in an AI Era - #searchnstuff2025
aleyda
1
2.1k
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
2
270
We Are The Robots
honzajavorek
0
370
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
590
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
The Cost Of JavaScript in 2023
addyosmani
55
10k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
Visualization
eitanlees
152
17k
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
230
How to optimise 3,500 product descriptions for ecommerce in one day using ChatGPT
katarinadahlin
PRO
2
3.8k
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