summaryrefslogtreecommitdiff
path: root/UPGRADING
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2019-02-12 19:14:32 -0800
committerAnatol Belski <ab@php.net>2019-02-12 19:14:32 -0800
commit34122ede2116777b02473a7d4430a15edcc58063 (patch)
tree6b5a3c8d0bc63e7cf2d89ce00f6878004d57bae7 /UPGRADING
parent4f4cf9874d863f69782383e6c34d12eaf43fd2bc (diff)
downloadphp-git-34122ede2116777b02473a7d4430a15edcc58063.tar.gz
Update NEWS and UPGRADING [ci skip]
Diffstat (limited to 'UPGRADING')
-rw-r--r--UPGRADING16
1 files changed, 16 insertions, 0 deletions
diff --git a/UPGRADING b/UPGRADING
index 714ccd2d99..b79e68f3c0 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
========================================