com php-src: Update NEWS and UPGRADING [ci skip]: NEWS UPGRADING
| From: | Anatol Belski | Date: | Wed, 13 Feb 2019 03:14:32 +0000 |
| Subject: | com php-src: Update NEWS and UPGRADING [ci skip]: NEWS UPGRADING | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-104614@lists.php.net to get a copy of this message | ||
Commit: 34122ede2116777b02473a7d4430a15edcc58063
Author: Anatol Belski <ab@php.net> Tue, 12 Feb 2019 19:14:32 -0800
Parents: 4f4cf9874d863f69782383e6c34d12eaf43fd2bc
Branches: PHP-7.4 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=34122ede2116777b02473a7d4430a15edcc58063
Log:
Update NEWS and UPGRADING [ci skip]
Changed paths:
M NEWS
M UPGRADING
Diff:
diff --git a/NEWS b/NEWS
index 65997b0..2902141 100644
--- a/NEWS
+++ b/NEWS
@@ -85,6 +85,7 @@ PHP NEWS
stream_socket_client). (Ville Hukkamäki)
. Implemented FR #38301 (field enclosure behavior in fputcsv). (cmb)
. Implemented FR #51496 (fgetcsv should take empty string as an escape). (cmb)
+ . Implemented FR #77377 (No way to handle CTRL+C in Windows). (Anatol)
- Reflection:
. Fixed bug #76737 (Unserialized reflection objects are broken, they
diff --git a/UPGRADING b/UPGRADING
index 714ccd2..b79e68f 100644
--- a/UPGRADING
+++ b/UPGRADING
@@ -173,6 +173,8 @@ PHP 7.4 UPGRADE NOTES
which disables the propriertary PHP escaping mechanism. The behavior of
str_getcsv() has been adjusted accordingly (formerly, an empty string was
identical to using the default).
+ . proc_open() on Windows can be passed a "create_process_group" option. It
+ is required, if the child process is supposed to handle CTRL events.
========================================
6. New Functions
@@ -189,6 +191,13 @@ PHP 7.4 UPGRADE NOTES
passed as parameter, query parameters will be replaced in the return value
by their currently bound value, if libsqlite ≥ 3.14 is used.
+- Standard
+ . bool sapi_windows_set_ctrl_handler(callable handler, [, bool add = true]) -
+ set or remove a handler function upon receiving a CTRL event. The handler
+ function is expected have a signature "function handler(int $event)".
+ . bool sapi_windows_generate_ctrl_event(int type, int pid) - send a CTRL event
+ to another process.
+
========================================
7. New Classes and Interfaces
========================================
@@ -269,6 +278,10 @@ PHP 7.4 UPGRADE NOTES
. SO_LISTENQLEN
. SO_USER_COOKIE
+- Standard:
+ . PHP_WINDOWS_EVENT_CTRL_C
+ . PHP_WINDOWS_EVENT_CTRL_BREAK
+
- Tidy:
. TIDY_TAG_ARTICLE
. TIDY_TAG_ASIDE
@@ -316,6 +329,9 @@ PHP 7.4 UPGRADE NOTES
systems. On 32-bit system, these values might overflow the 32-bit integer in
PHP, so they're a fake.
+- CTRL+C and CTRL+BREAK on console can be caught by setting a handler function
+ with sapi_windows_set_ctrl_handler().
+
========================================
13. Migration to pkg-config
========================================