LoginSignup
2
0

More than 5 years have passed since last update.

php-master-changes 2018-12-27

Posted at

今日は出力バッファ周りの最適化、ext/zlib の pkg-config 移行、ext/pcre のバグ修正、ext/sockets の Mac でのバグ修正、ドキュメントの更新、array_key_exists() 最適化用の専用オペコード ZEND_ARRAY_KEY_EXISTS の実装、ext/opcache の static メソッド呼び出し時の可視性チェック修正、ext/spl のバグ修正があった!

2018-12-27

dstogov: Reduce agressive inlining

nikic: Migrate ext/zlib to use pkg-config

nikic: Fixed bug #77338

nikic: Remove preg_options param from pcre_get_compiled_regex()

mmeyer724: Initialize s_un (sockaddr_un) to zero before using it. Fixes #76839.

weltling: Update NEWS [ci skip]

weltling: Update NEWS [ci skip]

Majkl578: Implement ZEND_ARRAY_KEY_EXISTS opcode to speed up array_key_exists()

nikic: Add SCCP support for ZEND_ARRAY_KEY_EXISTS

dstogov: Fixed ext/spl/tests/bug61347.phpt failure introduced by ZEND_ARRAY_KEY_EXISTS opcode

nikic: Add performance improvement section to UPGRADING

dstogov: Tune ARRAY_KEY_EXISTS opcode handler for speed and code size

dstogov: Respect static method visibility

Metabolix: Fix #77359: spl_autoload causes segfault

  • https://github.com/php/php-src/commit/89bf3df67d0f0ba3090b273d1b1b9fba9514a62d
  • [7.3~]
  • ext/spl で、spl_autoload() でクラス名を全小文字にする際、元から全小文字だった場合に use-after-free になって SEGV を引き起こす問題の修正
  • 元から全小文字だと参照カウントを増やすだけでアロケーションしないけれど、解放処理は参照カウント無視、みたいな
  • 参照カウントをちゃんとチェックするよう zend_string_free() を zend_string_release() に修正

Metabolix: Fix #77360: class_uses causes segfault

2
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
0