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
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
作るコストが小さくなった時代 幸せに働くために改めて考えたいこと 〜エンジニアとして価値を出し続けるために注視している二分野〜
yuppeeng
0
190
自動化したのに回らないテスト運用の壁ーAI時代の品質責任と生産性
mfunaki
0
130
その節約、円になってますか?
isamumumu
1
700
為什麼你並不需要ViewModel / No, you don't need a ViewModel
lovee
1
480
霧の中の代数的エフェクト
funnyycat
1
490
AI Engineeringは、AIプロダクトだけのものか? 〜AIがソフトウェアを作る時代の新しい当たり前〜 / No AI in your product. AI Engineering in your development.
rkaga
4
380
Laravel Boostに学ぶ、AIにPHPを書かせる技術 〜OSSの実装から蒸留するエージェント制御の王道〜
kentaroutakeda
3
670
2年かけて Deno に DOMMatrix を実装した話 / How I implemented DOMMatrix in Deno over two years
petamoriken
0
210
AI時代、エンジニアはどう育つのか -未経験エンジニアの成長を間近で見て考えたこと-
thasu0123
0
220
<title><a id="</title>君はこのHTMLをパースできるか"></a></title> #雑LT_study
pizzacat83
0
140
VibeCodingからAgenticWorkflowへ
starfish719
0
330
GDG Korea Android: 2026 I/O Extended ~ What's new in Android development tools
pluu
0
220
Featured
See All Featured
Test your architecture with Archunit
thirion
1
2.3k
Accessibility Awareness
sabderemane
1
170
Rebuilding a faster, lazier Slack
samanthasiow
85
9.6k
How Fast Is Fast Enough? [PerfNow 2025]
tammyeverts
3
730
The Illustrated Children's Guide to Kubernetes
chrisshort
51
53k
Balancing Empowerment & Direction
lara
6
1.2k
Raft: Consensus for Rubyists
vanstee
141
7.6k
4 Signs Your Business is Dying
shpigford
187
22k
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
890
Joys of Absence: A Defence of Solitary Play
codingconduct
1
430
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
2.9k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
22k
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 にまとめた版