1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

php-master-changes 2018-10-11

Posted at

2018-10-11

今日は shadowed properties のプロパティ列挙での扱い修正、不要な分岐/コードの除去、ArrayObject 周りの修正、ドキュメントの更新があった! master だけが動いた日だった!

nikic: Fix foreach/get_object_vars for shadowed properties

  • https://github.com/php/php-src/commit/4d5d77904e9e4dc52236ec5416d1ddfef9b3911c
  • 親クラスのスコープからオブジェクトへの get_object_vars() や foreach で自身のプロパティを列挙する際、private なプロパティについて子クラスで同名の public プロパティが定義されている場合、その子クラスの public プロパティも見えてしまっていた問題の修正
  • 実際見るとわかりやすい
  • このケースは get_object_vars() / foreach どちらも親クラスの private プロパティしか見なくなる
  • shadowed properties ってよく見るので、適切な訳語が欲しい……

nikic: Remember redundant check in filter.c

nikic: Remove some redundant uses of HASH_OF

nikic: Remove leftover code dealing with curl wrappers

petk: Modernize the AC_PRESERVE_HELP_ORDER macro call

nikic: Remove HASH_OF uses in ext/filter

nikic: Drop unnecessary HASH_OF uses in ext/oci8

nikic: Remove unnecessary HASH_OF uses in mbstring

nikic: Use ARRAY_OR_OBJECT arg in http_build_query

nikic: Remove redundant HASH_OF in mail.c

nikic: Remove unnecessary get_hash_table return value checks

nikic: More straightforward count() on ArrayObject with object

sgolemon: Update release process information to include the improved bumpRelease script

nikic: Restore array_key_exists() compatibility for ArrayObject

1
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
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?