LoginSignup
1
0

More than 3 years have passed since last update.

php-master-changes 2019-07-23

Posted at

今日はストリームの読み書きでエラーを通知するようにする修正、pdo_oci の不要コードの削除、PDO で、"?" をエスケープできるようにする修正、ドキュメントの更新、テスト中に残っていた E_STRICT を削除する修正があった!

2019-07-23

nikic: Report errors from stream read and write operations

  • https://github.com/php/php-src/commit/d59aac58b3e7da7ad01a194fe9840d89725ea229
  • [7.4~]
  • ストリームの読み書きでエラーを通知するよう修正
  • php_stream_read() and php_stream_write() が ssize_t を返すようになり、負値は失敗扱いで、fread() とか fwrite() が false を返す
  • EWOULDBLOCK と EAGAIN はノンブロッキングストリームではエラー扱いではなく、読み書きサイズ 0 の成功扱い
  • EINTR はなんか扱い決まってなくてふわっとしてる
  • ユーザになんかこの変更でまずい影響出たら挙動は調整しそう、一旦入れてるという感じ
  • #73535 の対応で、ストリーム API いじるなら今じゃねえの、みたいな感じのもよう
  • #4433 あたりから話の流れたどれるけど気合要りそう

nikic: Also report errors from Zend stream reader operation

nikic: Add upgrading entries

petk: Remove HAVE_OCILOBISTEMPORARY and HAVE_OCICOLLASSIGN

mbeccati: Fix FR #71885 (Allow escaping question mark placeholders)

petk: Update NEWS

derickr: Update NEWS for PHP 7.4.0beta1

derickr: Update NEWS for 7.4.0beta2

Girgias: Cleanup of remaining E_STRICT in tests

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