この日は一部標準関数の警告のエラーへの昇格、__serialize() / __unserialize() 利用時、深いネストをアンシリアライズしようとした際にデータが壊れる問題の修正、コンパイラ警告の修正、gen_stub.php の修正、php -a
の対話モードで PHP 7.3 形式の heredoc が使えない問題の修正、テストの修正、spl の GC 問題の修正、不要な strncat() の利用箇所の修正、noalias 違反の修正があった!
2019-08-23
Girgias: Promote warnings to errors in array_column()
- https://github.com/php/php-src/commit/7dcbcd4ca5bf954f56e28a233215359050041893
- array_column() の警告を例外投げるエラーへ昇格
Girgias: Promote warnings to errors in array_pad()
- https://github.com/php/php-src/commit/c1fcf2d616d2c54d13be6daa6dc31f23160de636
- array_pad() の警告を例外投げるエラーへ昇格
Girgias: Promote warnings to errors in strtr()
- https://github.com/php/php-src/commit/c0554fdec5a73f34472fdcf082179ae4895c903d
- strtr() の警告を例外投げるエラーへ昇格
Girgias: Promote warnings to errors in str_split()
- https://github.com/php/php-src/commit/698491d98a8d34e1d531a36f5dba30fc424b826f
- str_split() の警告を例外投げるエラーへ昇格
Girgias: Promote warnings to errors in dirname()
- https://github.com/php/php-src/commit/fe44e1637a683de9414e155f034bab993dd8aee3
- dirname() の警告を例外投げるエラーへ昇格
Girgias: Promote warnings to errors in wordwrap()
- https://github.com/php/php-src/commit/754d9f3da49c720d2945e6b2c95f652799681bf9
- wordwrap() の警告を例外投げるエラーへ昇格
Girgias: Promote warnings to errors in str_word_count()
- https://github.com/php/php-src/commit/fdff6cfd50521d654d8b10597bd7ae3c2c1eea84
- str_word_count() の警告を例外投げるエラーへ昇格
Girgias: Promote warnings to errors in chunk_split()
- https://github.com/php/php-src/commit/f51421c62924f8b20595c70d7a1072fe567684e5
- chunk_split() の警告を例外投げるエラーへ昇格
cmb69: Fix #78438: Corruption when __unserializing deeply nested structures
- https://github.com/php/php-src/commit/ca265eb54510ff9513abf37a05e40de0a8a50789
- [7.4~]
- PHP 7.4 からの __serialize() / __unserialize() 利用時、深いネストをアンシリアライズしようとした際にデータが壊れる問題の修正
cmb69: Suppress deprecation warning on IDNA2003 ICU methods for clang
- https://github.com/php/php-src/commit/ff7029b65b43578781abd8c767efa4a90b296351
- [7.2~]
- ext/intl で、clang のコンパイラ警告の修正
TysonAndre: Fix escapes for namespaced classes in gen_stub.php
- https://github.com/php/php-src/commit/0c09089cafeb8a540986fa0a9dfe6c408508e946
- gen_stub.php で、名前空間指定のクラスのエスケープ処理を修正
cmb69: Fix #77812: Interactive mode does not support PHP 7.3-style heredoc
- https://github.com/php/php-src/commit/03c7749dc8f40df8f41afffcdef4595ad43afe7f
- [7.3~]
- ext/readline で、
php -a
の対話モードで PHP 7.3 形式の heredoc が使えない問題の修正 - readline 側にもこのへんの対応コードあるのか、というのになるほど感
cmb69: Fix bug77812-*.phpt
- https://github.com/php/php-src/commit/9f14eb114b4edc62581b941c1eba898caab52759
- テストの PHP 8 で出るようになった未定義定数エラーの修正
nikic: Fixed bug #78436
- https://github.com/php/php-src/commit/13e92223c0c102b33b775ff1e4f27bcca72f0eb9
- [7.4~]
- ext/spl で、参照カウント操作が足りていなかった問題の修正
nikic: Support variable element size in spl heap implementation
- https://github.com/php/php-src/commit/9173c21a35e42cbe98fac1e28bde300d1e27af61
- [7.4~]
- ext/spl で、heap の実装で可変要素サイズのサポート
- これも #78436 の流れ
nikic: Replace strncat in filter implementation
- https://github.com/php/php-src/commit/724a4662b8c8b9a9167e7bf2de5dabbd6533056d
- ストリームフィルタの実装での不要な strncat() の利用箇所を修正
nikic: Avoid strncat use in proc_open
- https://github.com/php/php-src/commit/6534ff13cd1e0b181f079e675c92dba15b604a5f
- proc_open() の実装での不要な strncat() の利用箇所を修正
nikic: Fix noalias violation in select call
- https://github.com/php/php-src/commit/7910f128e296ef66a660935d652fd568941665fc
- sapi/cli で、select() 呼び出しでの noalias 違反の修正