]> granicus.if.org Git - php/commitdiff
Add UPGRADING note for pty support
authorNikita Popov <nikita.ppv@gmail.com>
Sun, 31 May 2020 15:05:42 +0000 (17:05 +0200)
committerNikita Popov <nikita.ppv@gmail.com>
Sun, 31 May 2020 15:14:41 +0000 (17:14 +0200)
[ci skip]

UPGRADING

index 07aceddd9120b21ad613ee96b554776170b4d2c9..cff2e5a7f47ff48b3f9561cef2a7c4c8b37dc2a9 100644 (file)
--- a/UPGRADING
+++ b/UPGRADING
@@ -553,6 +553,11 @@ PHP 8.0 UPGRADE NOTES
         printf("%.*H", (int) ini_get("precision"), $float);
         printf("%.*H", (int) ini_get("serialize_precision"), $float);
 
+  . proc_open() now supports pseudo-terminal (PTY) descriptors. The following
+    attaches stdin, stdout and stderr to the same PTY:
+
+        $proc = proc_open($command, [['pty'], ['pty'], ['pty']], $pipes);
+
 - Zip:
   . Extension updated to version 1.19.0
   . New ZipArchive::lastId property to get index value of last added entry.
@@ -760,6 +765,9 @@ PHP 8.0 UPGRADE NOTES
 14. Performance Improvements
 ========================================
 
+- A Just-In-Time (JIT) compiler has been added to the opcache extension.
 - array_slice() on an array without gaps will no longer scan the whole array to
   find the start offset. This may significantly reduce the runtime of the
   function with large offsets and small lengths.
+- strtolower() now uses a SIMD implementation when using the "C" LC_CTYPE
+  locale (which is the default).