今日はドキュメントの更新、一部エディタ用の設定が各ファイルに書かれていたのを削除、array_slice() の引数処理の修正、オブジェクトハンドラの API が zval でなく zend_object / zend_string をとるようにする修正、EG(trampoline) の共通フィールド再初期化処理の追加、ldap の ldap_control_paged_result() と ldap_control_paged_result_response() の非推奨化と ldap_sort() の削除があった!
2019-02-04
cmb69: [ci skip] Add missing notes regarding gc_status()
- https://github.com/php/php-src/commit/c0228f741ee825257574aabbab29ae202ba152c2
- [7.3~]
- 循環参照 GC の状態を取得するための関数 gc_status() が 7.3 から追加されていたが、NEWS / UPGRADING から抜けていたので追記
petk: Remove local variables
- https://github.com/php/php-src/commit/92ac598aabd336593a47ed3959f1031674b763e6
- [7.4~]
- Vim や Emacs 等の一部エディタ用の設定が各ファイルに書かれていたのを削除
nikic: Make array_slice $length param a nullable integer
- https://github.com/php/php-src/commit/0476d558272c18778f95c0368e18108771a63d99
- array_slice() の $length パラメータを通常のパラメータパーシングの枠組みで Nullable の int として扱うよう修正
dstogov: Refactor zend_object_handlers API to pass zend_object* and zend_string* insted of zval(s).
- https://github.com/php/php-src/commit/91ef4124e56a8ec52078bdcb5547ea5dbf654566
- オブジェクトハンドラ の API が zval をとる形だったのを、zend_object と zend_string をとるようリファクタ
- zval から中身を取り出すようなコードがごっそり抜けて型が明示されて扱うデータ量が減って良いことずくめ?
- PR:3780 から入った
dstogov: Reuse cache_slot
- https://github.com/php/php-src/commit/b7f05885e88305a0973bfc7e39139da22ebc6329
- 同じ計算続けざまに二度やっててイミフだったので cache_slot を使い回すよう修正
dstogov: More accurate get_properties() usage.
- https://github.com/php/php-src/commit/1a304d357ce8f72e031e627e8e5a1a7d2b0a5dca
- get_properties() の扱いを修正
- PR:3780 でツッコミ入った箇所
dstogov: ext/com_dotnet support for new object handlers API
- https://github.com/php/php-src/commit/db0079023421b8048f090ee04adb992e09132553
- ext/com_dotnet で、オブジェクトハンドラの API 修正に対応
dstogov: Added note anout object habdlers API change
- https://github.com/php/php-src/commit/6c81c4b6138dda1e5325db36f1edee471be68263
- オブジェクトハンドラの API 修正について UPGRADING.INTERNALS へ追記
dstogov: Reset common fields of EG(trampoline)
- https://github.com/php/php-src/commit/223d535d05c01a71613d671dc54b053b81f978d0
- [7.4~]
- EG(trampoline) の共通フィールドを再初期化処理を追加
- __call() や __callStatic() の実装で使われるあたり、トランポリンてなんじゃらほいについては以前 Julien Pauli さんが解説を書いてる
Côme Chilliet: Mark ldap_control_paged_result and ldap_control_paged_result_response as deprecated
- https://github.com/php/php-src/commit/d93ce1795979e31255717fd770a2f0e901c06081
- [7.4~]
- ext/ldap で、ldap_control_paged_result() と ldap_control_paged_result_response() を非推奨化
- ldap_search() 使ってねということらしい
Côme Chilliet: Removed ldap_sort and LDAP_DEPRECATED build flag
- https://github.com/php/php-src/commit/f0ddc93f46b31d117ae1c18dbce2bf39f1b91b94
- ext/ldap で、7.0 で非推奨化していた ldap_sort() を削除
staabm: fixed typo in UPGRADING.INTERNALS
- https://github.com/php/php-src/commit/9d936669e8fa2387cbee5096b5ca46a11c8d7665
- UPGRADING.INTERNALS で、typo を修正
cmb69: Fix type confusion
- https://github.com/php/php-src/commit/a1608b40bf6c23fcf0312f1d70a1a0a5bda1d9a1
- ext/com_dotnet で、オブジェクトハンドラの API 修正で間違っていた箇所を修正