LoginSignup
2
0

More than 3 years have passed since last update.

php-master-changes 2019-05-07

Last updated at Posted at 2019-05-08

今日は括弧なしの三項演算子ネストの非推奨化、メソッドのシグネチャ互換性違反時に Warning でなく Fatal とする修正、AArch64 での一部コードの最適化、libffi の検出に PKG_CHECK_MODULES を使うようにする修正、Travis のビルド設定に --with-ffi を追加する修正、ドキュメントの整理更新、不要コードの削除、改行コードの修正、コンパイラの警告潰しの修正があった!

2019-05-07

petk: [ci skip] Move OpenLDAP license to redistributable info file

petk: [ci skip] Rename libbcmath license file to LICENSE

petk: [ci skip] Add password registry RFC to changelog

petk: Remove empty section

petk: Convert CRLF line endings to LF

nikic: Remove outdated info from README.ZEND_MM

sebpop: [AArch64] use rev64 to reverse strings

nikic: Always generate fatal error for LSP failures

nikic: Deprecate left-associative ternary

  • https://github.com/php/php-src/commit/09ea55cb4e733f4e5221dfff5b66d6feb9695613
  • [7.4~]
  • 左結合の(括弧なしの)三項演算子ネストの非推奨化
  • PHP 8 では括弧なしの三項演算子ネストはエラーとなり、常に括弧を使う必要が出る
  • PHP 9 以降等、ある日に他言語にあわせて右結合に変えるかもしれない
  • 驚くことに RFC の受理されたもの
    • 従来 internals では後方互換性について保守的な人の影響力が比較的大きかったのだけど、nikic の人の輝かしい実績と説得力によって結構な無茶でも「お前が言うなら」みたいな声が広がってきてる印象(ラムダ短縮記法も受理されたし)
  • bwoebi の人が出してる文字列結合の方とあわせて、個人的には「そこまでせんでも」と思うんだけどどうなんでしょう

hughmcmaster: Use PKG_CHECK_MODULES to detect the ffi library

sebpop: speed up add and sub operators with overflow detection

sebpop: speed up increment and decrement operators with overflow detection

nikic: Avoid some maybe uninitialized warnings in ffi

nikic: Add --with-ffi on Travis

sebpop: [AArch64] Use NEON to initialize zend_hash

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