Upgrade to PRO for Only $50/Year—Limited-Time Offer! 🔥
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
おさらい!PHP8で廃止される機能
Search
sorch
June 30, 2020
Programming
1
640
おさらい!PHP8で廃止される機能
レガシーシステムに息を潜んでいるかも?3機能をみていきます。
sorch
June 30, 2020
Tweet
Share
More Decks by sorch
See All by sorch
他言語と比較して今こそ理解しよう! 目指せ、列挙型マスター!
soachr
0
260
アカウント発行システムをDDDでリファクタリングしたら 幸せになりそうな予感がした
soachr
1
300
元Javaエンジニアが怖いと思うPHPの仕様
soachr
0
270
Other Decks in Programming
See All in Programming
俺流レスポンシブコーディング 2025
tak_dcxi
13
7.2k
Microservices Platforms: When Team Topologies Meets Microservices Patterns
cer
PRO
1
860
DSPy Meetup Tokyo #1 - はじめてのDSPy
masahiro_nishimi
1
140
AIエージェントを活かすPM術 AI駆動開発の現場から
gyuta
0
200
無秩序からの脱却 / Emergence from chaos
nrslib
2
11k
バックエンドエンジニアによる Amebaブログ K8s 基盤への CronJobの導入・運用経験
sunabig
0
130
『実践MLOps』から学ぶ DevOps for ML
nsakki55
2
530
分散DBって何者なんだ... Spannerから学ぶRDBとの違い
iwashi623
0
160
Combinatorial Interview Problems with Backtracking Solutions - From Imperative Procedural Programming to Declarative Functional Programming - Part 1
philipschwarz
PRO
0
120
All(?) About Point Sets
hole
0
260
S3 VectorsとStrands Agentsを利用したAgentic RAGシステムの構築
tosuri13
4
250
ソフトウェア設計の課題・原則・実践技法
masuda220
PRO
24
21k
Featured
See All Featured
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
9
1k
A better future with KSS
kneath
240
18k
Into the Great Unknown - MozCon
thekraken
40
2.2k
A designer walks into a library…
pauljervisheath
210
24k
Imperfection Machines: The Place of Print at Facebook
scottboms
269
13k
Building a Scalable Design System with Sketch
lauravandoore
463
34k
Docker and Python
trallard
46
3.7k
The Power of CSS Pseudo Elements
geoffreycrofte
80
6.1k
How to Ace a Technical Interview
jacobian
280
24k
Intergalactic Javascript Robots from Outer Space
tanoku
273
27k
Bootstrapping a Software Product
garrettdimon
PRO
307
110k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
960
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 にまとめた版