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
おさらい!PHP8で廃止される機能
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
sorch
June 30, 2020
Programming
670
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
おさらい!PHP8で廃止される機能
レガシーシステムに息を潜んでいるかも?3機能をみていきます。
sorch
June 30, 2020
More Decks by sorch
See All by sorch
他言語と比較して今こそ理解しよう! 目指せ、列挙型マスター!
soachr
0
290
アカウント発行システムをDDDでリファクタリングしたら 幸せになりそうな予感がした
soachr
1
310
元Javaエンジニアが怖いと思うPHPの仕様
soachr
0
290
Other Decks in Programming
See All in Programming
Laravelで学ぶ Webアプリケーションチューニング入門/web_application_tuning_101
hanhan1978
4
1.7k
Google Apps Script で Ruby を動かす
kawahara
0
140
AI時代、エンジニアはどう育つのか -未経験エンジニアの成長を間近で見て考えたこと-
thasu0123
0
220
What's New in Android 2026
veronikapj
0
250
メールのエイリアス機能を履き違えない
isshinfunada
0
230
【やさしく解説 設計編・中級 #6】良いアーキテクチャとは ~ 一本の登り道の、行き先 ~
panda728
PRO
0
210
ドリフトを絶対に許さない(?)CDK運用 / CDK Ops with Zero Tolerance for Drifts (?)
akihisaikeda
1
180
【やさしく解説 設計編・中級 #1】一つの車に、運転手は一人 ~ある倉庫システムの事例から~
panda728
PRO
0
210
PostgreSQL 18で考えるUUID主キー
kazuhiro1982
0
460
その節約、円になってますか?
isamumumu
1
700
数百円から始めるRuby電子工作
tarosay
0
140
S3 を使うアプリケーションをローカル完結で動かすことに全力を注いでみた / Running S3 Apps Offline
contour_gara
0
390
Featured
See All Featured
The Power of CSS Pseudo Elements
geoffreycrofte
82
6.5k
Unsuck your backbone
ammeep
672
58k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
22k
WENDY [Excerpt]
tessaabrams
11
39k
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
540
Site-Speed That Sticks
csswizardry
13
1.4k
How Fast Is Fast Enough? [PerfNow 2025]
tammyeverts
3
730
Agile Leadership in an Agile Organization
kimpetersen
PRO
0
200
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
170
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
890
The State of eCommerce SEO: How to Win in Today's Products SERPs - #SEOweek
aleyda
2
11k
The Spectacular Lies of Maps
axbom
PRO
1
890
Transcript
おさらい!PHP8で廃止される機能 そーく
@soachr(そーく)
PHP8で廃止される機能 3つを厳選
mb_strrpos() with encoding as 3rd argument 注意: encoding パラメータは、 PHP
5.2.0 以降は三番目のパラメータで はなく四番目のパラメータに変わりました。 過去との互換性を保つため に encoding を三番目の引数で指定することもできますが、これは推奨 されません。 将来は削除される予定です。 https://www.php.net/manual/ja/function.mb-strrpos.php
implode() parameter order mix 注意: implode()は、歴史的な理由により、引数をどちら の順番でも受けつけること が可能です。しかし、 explode() との統一性の観点からは、
ドキュメントに記 述された引数の順番を使用しないことは推奨されません。 https://www.php.net/manual/ja/function.implode.ph p ・今後は以下の引数順のみ OKになります implode ( string $glue , array $pieces ) : string implode ( array $pieces ) : string
$errcontext argument of error handler エラーハンドラのコールバック関数のシグニチャに指定できる$errcontextが廃止されま す。 この変数にはエラーが起きたときのローカル変数の値をすべて保持しています。 handler (
int $errno , string $errstr [, string $errfile [, int $errline [, array $errcontext ]]] ) : bool ・PHP7系でWarningログが出力されていないので、いきなり機能がつかえなくなるようです。
おわりに • は生きている!淘汰される機能を適切にお見送りしましょう。
ご清聴ありがとうございました #PHPTechCafe
https://qiita.com/soachr/items/b0b6a9644 15a020a167b にまとめた版