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
5分で分かるPHP7化する方法 〜アプリケーション編〜
Search
hypermkt
February 23, 2017
Programming
2.5k
3
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
5分で分かるPHP7化する方法 〜アプリケーション編〜
5分で分かるPHP7化する方法
〜アプリケーション編〜
バーチー / GMO PEPABO inc.
2017.02.22 PHP BLT #6
hypermkt
February 23, 2017
More Decks by hypermkt
See All by hypermkt
プロポーザルを書くときに 私が考えていること/what-i-think-about-when-writing-a-proposal
hypermkt
0
730
履歴 on Rails: Bitemporal Data Modelで実現する履歴管理/history-on-rails-with-bitemporal-data-model
hypermkt
1
5.1k
Sidekiqで実現する 長時間非同期処理の中断と再開 / Pausing and Resuming Long-Running Asynchronous Jobs with Sidekiq
hypermkt
8
7k
脆弱性から学ぶ Webセキュリティ Part2/study-web-security-from-vulnerability2
hypermkt
5
3.6k
脆弱性から学ぶ Webセキュリティ/study-web-security-from-vulnerability1
hypermkt
5
2.7k
モバイルアプリ向けAPI 開発を通じて学んだこと / learned-from-developing-mobile-app-api
hypermkt
3
5k
Passportのパスワードグラントで独自の認証を実装する方法 / how-to-implement-original-authentication-for-passport-password-grant
hypermkt
1
870
Webpackで作る Vueコンポーネント開発環境 / Creating the Vue component development with Webpack.
hypermkt
3
4.4k
あの問題解きました! / solved the code
hypermkt
0
380
Other Decks in Programming
See All in Programming
iOSDC2026登壇資料.pdf
riofujimon
0
170
巨大モノリシックアプリ モダン化大作戦
ktcryomm
1
1.1k
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
500
20260914 AIエージェント時代のPlatform Engineering LLM基盤とプロダクトの責務境界線
kanfab1
7
2.1k
App Storeの外へ──日本のiOSサイドローディング入門 for iOSDC Japan 2026
yuukiw00w
0
230
難しいけど、読めた。- OSSの入口に立った話。
sts11142
0
110
Verilogで学ぶCPU自作入門.pdf
uyuki234
1
370
Family mrubyの進捗
kishima
1
130
Go × SIMDで高速化するベクトル検索 ~ルーフラインモデルでSIMDが効く境界を探れ! ~
po3rin
1
2.5k
個人開発基盤をまるごとCloudflareに引っ越して爆速で総合的体験を向上させた話
tinykitten
0
200
Vue Fes Japan 2026 タイムテーブル徹底解説
448jp
1
460
一人だけ、Kiroが静止する日
hideg
0
120
Featured
See All Featured
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
600
KATA
mclloyd
PRO
35
15k
[RailsConf 2023] Rails as a piece of cake
palkan
59
7k
Learning to Love Humans: Emotional Interface Design
aarron
275
41k
WCS-LA-2024
lcolladotor
0
830
Into the Great Unknown - MozCon
thekraken
41
2.7k
How to Align SEO within the Product Triangle To Get Buy-In & Support - #RIMC
aleyda
2
1.8k
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
420
Practical Orchestrator
shlominoach
192
12k
Bash Introduction
62gerente
615
220k
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
510
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
10k
Transcript
ʙΞϓϦέʔγϣϯฤʙ όʔνʔ(.01&1"#0JOD 1)1#-5 Ͱ͔Δ1)1Խ͢Δํ๏
ࣗݾհ
ιϑτΣΞΤϯδχΞ <b1)1FS` b-BSBWFM` b7VFKT`> όʔνʔ!IZQFSNLU IUUQCMPHIZQFSNLUKQ
ϗʔϜϖʔδ࡞αʔϏεʮάʔϖʯ IUUQTHPPQFKQ
࠷ۙͷϏοάχϡʔε
1)1͔Β1)1ʹରԠ͠·ͨ͠ʂ
None
ࠓ͢͜ͱ w1)1Խʹ͍ͭͯ४උɺ࡞ۀฤ͔ΒཁΛ؆୯ʹ͝ հ
άʔϖͷঢ়گ
άʔϖͷঢ়گ wαʔϏε։͔࢝Βͷྺ࢙͋ΔαʔϏε w1&"3ΛΈ߹ΘͤͨಠࣗϑϨʔϜϫʔΫ wࢸΔॴʹࢄΒΔίϐϖؔɾɾɾ wΧόϨοδͷ͍Ϣχοτςετɾɾɾ
ΰʔϧ w1)1ͷαΠτΛΠϯϑϥɺ։ൃͷ໊̎ͰҎ ʹ1)1YʹΞοϓάϨʔυ͢Δ
1)1Խ
४උฤ
ࣗಈ ݕcςετcΤϥʔϩά௨ QIQDDʹΑΔޓੑͷࣗಈݕ ςετۦಈ։ൃ ϦΞϧλΠϜΤϥʔϩά௨
QIQDDʹΑΔޓੑͷࣗಈݕ w1)1ޓੑνΣοΧʔ w$*Ͱ࣮ߦ͠ɺࢦఠ͞ΕͨՕॴΛย͔ͬΒमਖ਼͢ Δ wIUUQTHJUIVCDPNTTUBMMFQIQDD
ςετۦಈ։ൃ w$*্Ͱ৽چ྆όʔδϣϯͰ1)16OJUΛ࣮ߦ͢Δ͜ͱ Ͱɺόάͷૣظൃݟ w&&ςετॏࢹɻՄೳͳݶΓΧόϨοδΛ ࢦ͢ɻ wॏͳΔେͳίʔυमਖ਼҆৺ͯ͠Ͱ͖Δ
ϦΞϧλΠϜΤϥʔϩά௨ w'MVFOUE /PSJLSBʹΑΔ1)1Τϥʔϩάͷ4MBDL௨ wόάɺোͷૣظൃݟ wΞοϓάϨʔυͷ࡞ۀ࿙Ε͙͢ʹݟ͔ͭΔ
࡞ۀฤ
1)1͔Β1)1Խͷࢁ͜Εʹਚ͖Δ w1)1Y͔Β1)1Yͷޙํޓੑͷͳ͍มߋͷ Өڹ͕େ͖͍ɻදతͳ̎ɻ w.Z42-ؔͷআ wFSFHܥؔͷআ IUUQQIQOFUNBOVBMKBNJHSBUJPOJODPNQBUJCMFQIQ
.Z42-ؔͷআରԠ
.Z42-ؔͷআରԠ w.Z42-ؔΛϥοϓͨ͠ಠࣗ%#ΫϥεΛར༻͍ͯ͠ ΔͷͰɺͦΕΛ1%0ʹஔ͖͑Δ wՕॴͰར༻ɾɾɾɺਏ͍
FSFHܥؔͷআରԠ
FSFH@SFQMBDFͷରԠྫ $replaced = ereg_replace('hoge', 'fuga', 'hoge hoge'); ↓ $replaced =
preg_replace('/hoge/', 'fuga', 'hoge hoge');
FSFHܥؔͷར༻ঢ়گ w1)1$4'JYFSͰमਖ਼ͭͭ͠ɺΓͳ͍ՕॴBHTFE Ͱஔ wՕॴͰར༻ɾɾɾɺਏ͍
EFQSFDBUFEରԠ
EFQSFDBUFEରԠ wكʹૺ۰͢Δ wEFQSFDBUFEͱɺকདྷతʹαϙʔτ͞Εͳ͍ؔ ༷ͷܯࠂ wಈ࡞্શ͘ແ͍ͷͰ༏ઌΊ
͜ΕΒ1)1ԽͷҰ෦Ͱ͢ʂ ͕͢͞ʹͰશ෦ແཧͰͨ͠ʂ
·ͱΊ
·ͱΊ w1)1Խ४උΛ͑Ε͘͠ͳ͍ʂαʔϏεن ɾঢ়ଶʹԠ͕͔͔ͯ࣌ؒ͡Δ͚ͩ wΞοϓάϨʔυۀʹࠜؾͱؾ߹͕͍Δ