Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Speaker Deck
PRO
Sign in
Sign up for free
ハイ__ᐛ___パァ_テキストプリプロフェッ__ᐛ___サァ_.pdf
bmf_san
March 23, 2022
Technology
0
87
ハイ__ᐛ___パァ_テキストプリプロフェッ__ᐛ___サァ_.pdf
bmf_san
March 23, 2022
Tweet
Share
More Decks by bmf_san
See All by bmf_san
Makuakeの認証基盤とRe-Architectureチーム
bmf_san
0
650
天下一HTTPRouter武闘会.pdf
bmf_san
7
3.7k
ゆっくりHackerRank
bmf_san
0
46
net/httpでつくるHTTPルーター自作入門
bmf_san
0
200
GoでRouter自作実装寄りな話
bmf_san
0
120
Golang_chromedp_slack_botでslackの絵文字自動生成ボットをつくってみた.pdf
bmf_san
0
64
GolangでURLルーターをつくった
bmf_san
1
220
Dive to clean architecture with golang
bmf_san
2
1.1k
PHPでURLルーティングを自作する
bmf_san
1
1.9k
Other Decks in Technology
See All in Technology
OVN-Kubernetes-Introduction-ja-2023-01-27.pdf
orimanabu
1
460
💰年度末予算消化祭💰 Large Memory Instance で 画像分類してみた
__allllllllez__
0
120
Stripe / Okta Customer Identity Cloud(旧Auth0) の採用に至った理由 〜モリサワの SaaS 戦略〜
tomuro
0
140
創業1年目のスタートアップでAWSコストを抑えるために取り組んでいること / How to Keep AWS Costs Down at a Startup
yuj1osm
3
2.2k
もし本番ネットワークをまるごと仮想環境に”コピー”できたらうれしいですか? / janog51
corestate55
0
400
Deep dive in Reserved Instance ~脳死推奨量購入からの脱却~
kzkmaeda
0
560
AI Services 概要 / AI Services overview
oracle4engineer
PRO
0
180
re:Invent発表のサービスを取り入れて加速する弥生のSecurity&Governance / accelerating YAYOI's Security and Governance with services announced at reinvent
yayoi_dd
0
190
UEでPLATEAU触ってみた
41h0_shiho
0
250
cdk deployに必要な権限ってなんだ?
kinyok
0
220
私見「UNIXの考え方」/20230124-kameda-unix-phylosophy
opelab
1
180
ユーザーテストガイドライン VERSION 2.0
kouzoukaikaku
0
1.7k
Featured
See All Featured
Raft: Consensus for Rubyists
vanstee
130
5.7k
WebSockets: Embracing the real-time Web
robhawkes
58
6k
Art Directing for the Web. Five minutes with CSS Template Areas
malarkey
197
10k
Done Done
chrislema
178
15k
Intergalactic Javascript Robots from Outer Space
tanoku
261
26k
The Cult of Friendly URLs
andyhume
69
5.1k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
31
20k
10 Git Anti Patterns You Should be Aware of
lemiorhan
643
54k
How To Stay Up To Date on Web Technology
chriscoyier
779
250k
Testing 201, or: Great Expectations
jmmastey
25
5.7k
The Language of Interfaces
destraynor
149
21k
Designing Experiences People Love
moore
130
22k
Transcript
ハイ( ᐛ👐) パァ⤴テキストプリプロフェッ( ᐛ👐) サァ⤴ の話 @bmf_san @Makuake LT Party
2022/03/23
awesome-goに⾃作router がリストアップされた IUUQTHJUIVCDPNBWFMJOPBXFTPNFHPQVMM
今⽇話すこと • PHPの他愛のない話
PHPのバージョン 何使ってますか( ᐛ👐) カァ?
( ᐛ👐)「7.3」
( ᐛ👐)「パァ…」
PHP EOL ͋Γ͕ͱ͏ɺͯ͢ͷͷ1)1ʜ
EOLとは • End of life • “A release that is
no longer supported. Users of this release should upgrade as soon as possible, as they may be exposed to unpatched security vulnerabilities.” • サポートされない。セキュリティのリスクにさらされる可 能性あり。早めにアップデートする必要がある。 • cf. https://www.php.net/supported-versions.php
FuelPHP ʢ͓ͦΒ͘1)1αϙʔτʣ͕SFMFBTF͞ΕΔͱ ·ͰڳΛுͬͯੜ͖͍͚ͯΔ
EOLを使い続けるということ • 脆弱性へのセキュリティリスクにさらされ続ける • 脆弱性の程度にも依るが.. • アップデートのコストが増加する • アップデートするときの差分が増えるため •
エコシステムに遅れを取る • ライブラリが古いバージョンのサポートを終了する、とか • 世間体 • レガシー度合いが⾼まる(放置度合い)ほどシステムに対してポジティブなイメー ジを持つことが難しかったりするかもしれない
ところでPHPの最新っ ていくつ?
( ᐛ👐)「8.1.4」 ※2022.3.22現在
そういえば7.4から先 何も知らない…
PHP7.4からPHP8.1 までの新機能を駆け⾜で( ᐛ👐)
PHP7.3.x-PHP7.4.x
PHP7.3.x-PHP7.4.x
PHP7.3.x-PHP7.4.x
PHP7.3.x-PHP7.4.x
PHP7.3.x-PHP7.4.x
PHP7.3.x-PHP7.4.x
PHP7.4.x-PHP8.0.x
PHP7.4.x-PHP8.0.x
PHP7.4.x-PHP8.0.x
PHP7.4.x-PHP8.0.x
PHP7.4.x-PHP8.0.x
PHP8.0.x-PHP8.1.x
PHP8.0.x-PHP8.1.x
PHP8.0.x-PHP8.1.x
PHP8.0.x-PHP8.1.x
PHP8.0.x-PHP8.1.x
PHP7.4からPHP8.1までの新機能をキャッチアップ
ところでこのブログ・・
( ᐛ👐)💦💦
( ᐛ👐)💦💦
PHP・FuelPHPを アプデするなら
静的解析 • https://github.com/PHPCompatibility/PHPCompatibility • PHPの互換性チェックができる
リファクタツール • https://github.com/rectorphp/rector • コードの⾃動修正を⾏う • ex. PHP7.3→PHP8.1への書き換え • 独⾃ルールの定義が可能
• ASTの理解が必要 • FuelからLaravelへの移⾏事例 • https://techcon.gree.jp/2021/session/Session-2
⾔語・ライブラリは 計画にアプデしたいですね おわり( ᐛ👐)