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.

今日は SQLite3Stmt::getSQL() の追加、trait 内のマジックメソッドが無視される場合がある問題の修正があった!

2018-12-16

Bohwaz: Implement SQLite3Stmt::getSQL method, returning the original statement SQL, eventually expanded

cmb69: Fix #77291: magic methods inherited from a trait may be ignored

  • https://github.com/php/php-src/commit/0061db5503497458a85c40fb6bf1e2da80e7a036
  • [7.3~]
  • trait 内のマジックメソッドが無視される場合がある問題の修正
  • use するクラスのクラス名が当該マジックメソッドと同じ文字数の場合に起きる
    • __isset なら 7 文字、__get なら 5 文字のクラス名で起きる
  • ハハハご冗談を、と思ったらマジ
  • クラス名と同名で PHP 4 形式のコンストラクタになる奴の判定部分で、最適化のコミットに問題があったくさい
  • 文字列比較の発生を避けようとする気持ちは残した形に修正
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?