2018-09-19
dstogov: Class constants and default property values can't be IS_REFERENCE anymore.
- https://github.com/php/php-src/commit/b634ded197f0b79c3c6aa804181b37aeaa15fc58
- クラス定数とプロパティのデフォルト値は IS_REFERENCE ではないので、参照であればデリファレンスするようになっていたコードを削除
crhg: Fix bug #75533: array_reduce is slow when $carry is large array
- https://github.com/php/php-src/commit/ab6c45f5249d077463c1876d7cf09a11f04240fa
- array_reduce() のコールバック第一引数へ大きな配列が入る際に遅い、という問題の修正
- crhg の人が出してた奴
- 当初は zval_ptr_dtor() の位置を移動する PR だったが、マージの際に zval_ptr_dtor(&result) を潰して、ZVAL_COPY(&args[0], &result) のかわりに ZVAL_COPY_VALUE(&args[0], &result) を使うようになってる
- ZVAL_COPY() と ZVAL_COPY_VALUE() の違いは、後者はコピーの際に参照カウントを足さないというもの
- 参照カウント減らしといてコールバック内の操作でのコピーを避ける、かな?後でもう少し見る
petk: Remove unused methods-on-non-objects-nested.inc
- https://github.com/php/php-src/commit/6f1a04120b82df144c560b82bf448cfd1180edd0
- 使われていないファイル Zend/tests/methods-on-non-objects-nested.inc を削除
nikic: Fixed bug #76901
- https://github.com/php/php-src/commit/294fb83ee84b76479a62e4ed37d5523c1208ad7c
- method_exists() を SPL のイテレータへ使うとメモリ破壊を起こすバグの修正
dstogov: Improve ZEND_VM_SMART_BRANCH()
- https://github.com/php/php-src/commit/b137441f0e86594c94bc43476ac6577f3510fe52
- ZEND_VM_SMART_BRANCH() の最適化
dstogov: Remove zend_hash_exists()
- https://github.com/php/php-src/commit/ef00e7e547c9fd7a5fdcff919889274477e82751
- 不要な zend_hash_exists() を削除
nikic: Fix intermittent failures in mysqli_stmt_bind_result_format.phpt
- https://github.com/php/php-src/commit/c614dd677c99e14ac6afb25d7bfe02cfa8cf1981
- ext/mysqli のテストを修正
- mt_rand() で動くテストとかやめてくれよう……などという愚痴がコミットコメントに入ってる
nikic: Fix getColumnMeta() test
- https://github.com/php/php-src/commit/842bec5b3c539396d6ff9e207ba55f626b42524e
- ext/pdo_mysql のテストを修正
- 最近の MySQL が無効値に対して厳格めな動作をするようになってるのを反映してるもよう
dstogov: Remove zend_hash_exists()
- https://github.com/php/php-src/commit/0df57480b6fb574580697da26df1ac5802bc367c
- 不要な zend_hash_exists() を削除
dstogov: Micro-optimization
dstogov: Use zend_hash_find() instead of zend_hash_exists()
- https://github.com/php/php-src/commit/6beaa9fa5b9764b411a178395ba26b237debf9fd
- 当初 zend_hash_exists() を使っていた箇所を zend_hash_find() を使うよう修正
dstogov: Turn zend_hash_exists() into inline function
- https://github.com/php/php-src/commit/27b0fecd2e0192290d6530ea1ee2f5cd23e43682
- zend_hash_exists() をインライン化
dstogov: Drop unused variable
dstogov: Improved hash copying
- https://github.com/php/php-src/commit/f5e18686016044030e51dc4d40c39f7cef826886
- ハッシュテーブルのコピー処理を最適化/単純化