1PHP NEWS 2||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| 316 Dec 2021, PHP 7.4.27 4 5- Core: 6 . Fixed bug #81626 (Error on use static:: in __сallStatic() wrapped to 7 Closure::fromCallable()). (Nikita) 8 9- FPM: 10 . Fixed bug #81513 (Future possibility for heap overflow in FPM zlog). 11 (Jakub Zelenka) 12 13- GD: 14 . Fixed bug #71316 (libpng warning from imagecreatefromstring). (cmb) 15 16- OpenSSL: 17 . Fixed bug #75725 (./configure: detecting RAND_egd). (Dilyan Palauzov) 18 19- PCRE: 20 . Fixed bug #74604 (Out of bounds in php_pcre_replace_impl). (cmb, Dmitry) 21 22- Standard: 23 . Fixed bug #81618 (dns_get_record fails on FreeBSD for missing type). 24 (fsbruva) 25 . Fixed bug #81659 (stream_get_contents() may unnecessarily overallocate). 26 (cmb) 27 2818 Nov 2021, PHP 7.4.26 29 30- Core: 31 . Fixed bug #81518 (Header injection via default_mimetype / default_charset). 32 (cmb) 33 34- Date: 35 . Fixed bug #81500 (Interval serialization regression since 7.3.14 / 7.4.2). 36 (cmb) 37 38- DBA: 39 . Fixed bug #81588 (TokyoCabinet driver leaks memory). (girgias) 40 41- MBString: 42 . Fixed bug #76167 (mbstring may use pointer from some previous request). 43 (cmb, cataphract) 44 45- MySQLi: 46 . Fixed bug #81494 (Stopped unbuffered query does not throw error). (Nikita) 47 48- PCRE: 49 . Fixed bug #81424 (PCRE2 10.35 JIT performance regression). (cmb) 50 51- Streams: 52 . Fixed bug #54340 (Memory corruption with user_filter). (Nikita) 53 54- XML: 55 . Fixed bug #79971 (special character is breaking the path in xml function). 56 (CVE-2021-21707) (cmb) 57 5821 Oct 2021, PHP 7.4.25 59 60- DOM: 61 . Fixed bug #81433 (DOMElement::setIdAttribute() called twice may remove ID). 62 (Viktor Volkov) 63 64- FFI: 65 . Fixed bug #79576 ("TYPE *" shows unhelpful message when type is not 66 defined). (Dmitry) 67 68- Fileinfo: 69 . Fixed bug #78987 (High memory usage during encoding detection). (Anatol) 70 71- Filter: 72 . Fixed bug #61700 (FILTER_FLAG_IPV6/FILTER_FLAG_NO_PRIV|RES_RANGE failing). 73 (cmb, Nikita) 74 75- FPM: 76 . Fixed bug #81026 (PHP-FPM oob R/W in root process leading to privilege 77 escalation) (CVE-2021-21703). (Jakub Zelenka) 78 79- SPL: 80 . Fixed bug #80663 (Recursive SplFixedArray::setSize() may cause double-free). 81 (cmb, Nikita, Tyson Andre) 82 83- Streams: 84 . Fixed bug #81475 (stream_isatty emits warning with attached stream wrapper). 85 (cmb) 86 87- XML: 88 . Fixed bug #70962 (XML_OPTION_SKIP_WHITE strips embedded whitespace). 89 (Aliaksandr Bystry, cmb) 90 91- Zip: 92 . Fixed bug #81490 (ZipArchive::extractTo() may leak memory). (cmb, Remi) 93 . Fixed bug #77978 (Dirname ending in colon unzips to wrong dir). (cmb) 94 9523 Sep 2021, PHP 7.4.24 96 97- Core: 98 . Fixed bug #81302 (Stream position after stream filter removed). (cmb) 99 . Fixed bug #81346 (Non-seekable streams don't update position after write). 100 (cmb) 101 . Fixed bug #73122 (Integer Overflow when concatenating strings). (cmb) 102 103-GD: 104 . Fixed bug #53580 (During resize gdImageCopyResampled cause colors change). 105 (cmb) 106 107- Opcache: 108 . Fixed bug #81353 (segfault with preloading and statically bound closure). 109 (Nikita) 110 111- Shmop: 112 . Fixed bug #81407 (shmop_open won't attach and causes php to crash). (cmb) 113 114- Standard: 115 . Fixed bug #71542 (disk_total_space does not work with relative paths). (cmb) 116 . Fixed bug #81400 (Unterminated string in dns_get_record() results). (cmb) 117 118- SysVMsg: 119 . Fixed bug #78819 (Heap Overflow in msg_send). (cmb) 120 121- XML: 122 . Fixed bug #81351 (xml_parse may fail, but has no error code). (cmb, Nikita) 123 124- Zip: 125 . Fixed bug #81420 (ZipArchive::extractTo extracts outside of destination). 126 (CVE-2021-21706) (cmb) 127 12826 Aug 2021, PHP 7.4.23 129 130- Core: 131 . Fixed bug #72595 (php_output_handler_append illegal write access). (cmb) 132 . Fixed bug #66719 (Weird behaviour when using get_called_class() with 133 call_user_func()). (Nikita) 134 . Fixed bug #81305 (Built-in Webserver Drops Requests With "Upgrade" Header). 135 (cmb) 136 137- BCMath: 138 . Fixed bug #78238 (BCMath returns "-0"). (cmb) 139 140- CGI: 141 . Fixed bug #80849 (HTTP Status header truncation). (cmb) 142 143- GD: 144 . Fixed bug #51498 (imagefilledellipse does not work for large circles). (cmb) 145 146- MySQLi: 147 . Fixed bug #74544 (Integer overflow in mysqli_real_escape_string()). (cmb, 148 johannes) 149 150- OpenSSL: 151 . Fixed bug #81327 (Error build openssl extension on php 7.4.22). (cmb) 152 153- PDO_ODBC: 154 . Fixed bug #81252 (PDO_ODBC doesn't account for SQL_NO_TOTAL). (cmb) 155 156- Shmop: 157 . Fixed bug #81283 (shmop can't read beyond 2147483647 bytes). (cmb, Nikita) 158 159- Standard: 160 . Fixed bug #72146 (Integer overflow on substr_replace). (cmb) 161 . Fixed bug #81265 (getimagesize returns 0 for 256px ICO images). 162 (George Dietrich) 163 . Fixed bug #74960 (Heap buffer overflow via str_repeat). (cmb, Dmitry) 164 165- Streams: 166 . Fixed bug #81294 (Segfault when removing a filter). (cmb) 167 16829 Jul 2021, PHP 7.4.22 169 170- Core: 171 . Fixed bug #81145 (copy() and stream_copy_to_stream() fail for +4GB files). 172 (cmb, Nikita) 173 . Fixed bug #81163 (incorrect handling of indirect vars in __sleep). 174 (krakjoe) 175 . Fixed bug #80728 (PHP built-in web server resets timeout when it can kill 176 the process). (Calvin Buckley) 177 . Fixed bug #73630 (Built-in Weberver - overwrite $_SERVER['request_uri']). 178 (cmb) 179 . Fixed bug #80173 (Using return value of zend_assign_to_variable() is not 180 safe). (Nikita) 181 . Fixed bug #73226 (--r[fcez] always return zero exit code). (cmb) 182 183- Intl: 184 . Fixed bug #72809 (Locale::lookup() wrong result with canonicalize option). 185 (cmb) 186 . Fixed bug #68471 (IntlDateFormatter fails for "GMT+00:00" timezone). (cmb) 187 . Fixed bug #74264 (grapheme_strrpos() broken for negative offsets). (cmb) 188 189- OpenSSL: 190 . Fixed bug #52093 (openssl_csr_sign truncates $serial). (cmb) 191 192- PCRE: 193 . Fixed bug #81101 (PCRE2 10.37 shows unexpected result). (Anatol) 194 . Fixed bug #81243 (Too much memory is allocated for preg_replace()). (cmb) 195 196- Standard: 197 . Fixed bug #81223 (flock() only locks first byte of file). (cmb) 198 19901 Jul 2021, PHP 7.4.21 200 201- Core: 202 . Fixed bug #76359 (open_basedir bypass through adding ".."). (cmb) 203 . Fixed bug #81068 (Double free in realpath_cache_clean()). (Dimitry Andric) 204 . Fixed bug #81070 (Integer underflow in memory limit comparison). 205 (Peter van Dommelen) 206 . Fixed bug #81090 (Typed property performance degradation with .= operator). 207 (Nikita) 208 . Fixed bug #81122: SSRF bypass in FILTER_VALIDATE_URL. (CVE-2021-21705) (cmb) 209 210- Bzip2: 211 . Fixed bug #81092 (fflush before stream_filter_remove corrupts stream). 212 (cmb) 213 214- OpenSSL: 215 . Fixed bug #76694 (native Windows cert verification uses CN as sever name). 216 (cmb) 217 218- PDO_Firebird: 219 . Fixed bug #76448: Stack buffer overflow in firebird_info_cb. 220 (CVE-2021-21704) (cmb) 221 . Fixed bug #76449: SIGSEGV in firebird_handle_doer. (CVE-2021-21704) (cmb) 222 . Fixed bug #76450: SIGSEGV in firebird_stmt_execute. (CVE-2021-21704) (cmb) 223 . Fixed bug #76452: Crash while parsing blob data in firebird_fetch_blob. 224 (CVE-2021-21704) (cmb) 225 226- Standard: 227 . Fixed bug #81048 (phpinfo(INFO_VARIABLES) "Array to string conversion"). 228 (cmb) 229 23003 Jun 2021, PHP 7.4.20 231 232- Core: 233 . Fixed bug #80929 (Method name corruption related to repeated calls to 234 call_user_func_array). (twosee) 235 . Fixed bug #80960 (opendir() warning wrong info when failed on Windows). 236 (cmb) 237 . Fixed bug #67792 (HTTP Authorization schemes are treated as case-sensitive). 238 (cmb) 239 . Fixed bug #80972 (Memory exhaustion on invalid string offset). (girgias) 240 241- FPM: 242 . Fixed bug #65800 (Events port mechanism). (psumbera) 243 244- FTP: 245 . Fixed bug #80901 (Info leak in ftp extension). (cmb) 246 . Fixed bug #79100 (Wrong FTP error messages). (cmb) 247 248- GD: 249 . Fixed bug #81032 (GD install is affected by external libgd installation). 250 (Flavio Heleno, cmb) 251 252- MBString: 253 . Fixed bug #81011 (mb_convert_encoding removes references from arrays). (cmb) 254 255- ODBC: 256 . Fixed bug #80460 (ODBC doesn't account for SQL_NO_TOTAL indicator). (cmb) 257 258- PDO_MySQL: 259 . Fixed bug #81037 (PDO discards error message text from prepared 260 statement). (Kamil Tekiela) 261 262- PDO_ODBC: 263 . Fixed bug #44643 (bound parameters ignore explicit type definitions). (cmb) 264 265- pgsql: 266 . Fixed php_pgsql_fd_cast() wrt. php_stream_can_cast(). (cmb) 267 268- SPL: 269 . Fixed bug #80933 (SplFileObject::DROP_NEW_LINE is broken for NUL and CR). 270 (cmb, Nikita) 271 272- Opcache: 273 . Fixed bug #80900 (switch statement behavior inside function). (twosee) 274 . Fixed bug #81015 (Opcache optimization assumes wrong part of ternary 275 operator in if-condition). (Nikita) 276 277- XMLReader: 278 . Fixed bug #73246 (XMLReader: encoding length not checked). (cmb) 279 280- Zip: 281 . Fixed bug #80863 (ZipArchive::extractTo() ignores references). (cmb) 282 28306 May 2021, PHP 7.4.19 284 285- PDO_pgsql: 286 . Reverted bug fix for #80892 (PDO::PARAM_INT is treated the same as 287 PDO::PARAM_STR). (Matteo) 288 289 29029 Apr 2021, PHP 7.4.18 291 292- Core: 293 . Fixed bug #80781 (Error handler that throws ErrorException infinite loop). 294 (Nikita) 295 . Fixed bug #75776 (Flushing streams with compression filter is broken). (cmb) 296 297- Dba: 298 . Fixed bug #80817 (dba_popen() may cause segfault during RSHUTDOWN). (cmb) 299 300- DOM: 301 . Fixed bug #66783 (UAF when appending DOMDocument to element). (cmb) 302 303- FPM: 304 . Fixed bug #80024 (Duplication of info about inherited socket after pool 305 removing). (Jakub Zelenka) 306 307- FTP: 308 . Fixed bug #80880 (SSL_read on shutdown, ftp/proc_open). (cmb, Jakub 309 Zelenka) 310 311- Imap: 312 . Fixed bug #80710 (imap_mail_compose() header injection). (cmb, Stas) 313 314- Intl: 315 . Fixed bug #80763 (msgfmt_format() does not accept DateTime references). 316 (cmb) 317 318- LibXML: 319 . Fixed bug #51903 (simplexml_load_file() doesn't use HTTP headers). (cmb) 320 . Fixed bug #73533 (Invalid memory access in php_libxml_xmlCheckUTF8). (cmb) 321 322- MySQLnd: 323 . Fixed bug #80713 (SegFault when disabling ATTR_EMULATE_PREPARES and 324 MySQL 8.0). (Nikita) 325 . Fixed bug #80837 (Calling stmt_store_result after fetch doesn't throw an 326 error). (Kamil Tekiela) 327 328- Opcache: 329 . Fixed bug #80805 (create simple class and get error in opcache.so). (Nikita) 330 . Fixed bug #80950 (Variables become null in if statements). (Nikita) 331 332- Pcntl: 333 . Fixed bug #79812 (Potential integer overflow in pcntl_exec()). (cmb) 334 335- PCRE: 336 . Fixed bug #80866 (preg_split ignores limit flag when pattern with \K has 337 0-width fullstring match). (Kamil Tekiela) 338 339- PDO_ODBC: 340 . Fixed bug #80783 (PDO ODBC truncates BLOB records at every 256th byte). 341 (cmb) 342 343- PDO_pgsql: 344 . Fixed bug #80892 (PDO::PARAM_INT is treated the same as PDO::PARAM_STR). 345 (Matteo) 346 347- phpdbg: 348 . Fixed bug #80757 (Exit code is 0 when could not open file). (Felipe) 349 350- Session: 351 . Fixed bug #80774 (session_name() problem with backslash). (cmb) 352 . Fixed bug #80889 (Cannot set save handler when save_handler is invalid). 353 (cmb) 354 355- SOAP: 356 . Fixed bug #69668 (SOAP special XML characters in namespace URIs not 357 encoded). (cmb) 358 359- Standard: 360 . Fixed bug #78719 (http wrapper silently ignores long Location headers). 361 (cmb) 362 . Fixed bug #80771 (phpinfo(INFO_CREDITS) displays nothing in CLI). (cmb) 363 . Fixed bug #80838 (HTTP wrapper waits for HTTP 1 response after HTTP 101). 364 (manuelm) 365 . Fixed bug #80915 (Taking a reference to $_SERVER hides its values from 366 phpinfo()). (Rowan Tommins) 367 36804 Mar 2021, php 7.4.16 369 370- Core: 371 . Fixed #80706 (mail(): Headers after Bcc headers may be ignored). (cmb) 372 373- MySQLnd: 374 . Fixed bug #78680 (mysqlnd's mysql_clear_password does not transmit 375 null-terminated password). (Daniel Black) 376 377- MySQLi: 378 . Fixed bug #74779 (x() and y() truncating floats to integers). (cmb) 379 380- OPcache: 381 . Fixed bug #80682 (opcache doesn't honour pcre.jit option). (Remi) 382 383- OpenSSL: 384 . Fixed bug #80747 (Providing RSA key size < 512 generates key that crash 385 PHP). (Nikita) 386 387- Phar: 388 . Fixed bug #75850 (Unclear error message wrt. __halt_compiler() w/o 389 semicolon) (cmb) 390 . Fixed bug #70091 (Phar does not mark UTF-8 filenames in ZIP archives). (cmb) 391 . Fixed bug #53467 (Phar cannot compress large archives). (cmb, lserni) 392 393- SPL: 394 . Fixed bug#80719 (Iterating after failed ArrayObject::setIteratorClass() 395 causes Segmentation fault). (Nikita) 396 397- Standard: 398 . Fixed bug #80654 (file_get_contents() maxlen fails above (2**31)-1 bytes). 399 (cmb) 400 401- Zip: 402 . Fixed bug #80648 (Fix for bug 79296 should be based on runtime version). 403 (cmb, Remi) 404 40504 Feb 2021, PHP 7.4.15 406 407- Core: 408 . Fixed bug #80523 (bogus parse error on >4GB source code). (Nikita) 409 . Fixed bug #80384 (filter buffers entire read until file closed). (Adam 410 Seitz, cmb) 411 412- Curl: 413 . Fixed bug #80595 (Resetting POSTFIELDS to empty array breaks request). (cmb) 414 415- Date: 416 . Fixed bug #80376 (last day of the month causes runway cpu usage. (Derick) 417 418- MySQLi: 419 . Fixed bug #67983 (mysqlnd with MYSQLI_OPT_INT_AND_FLOAT_NATIVE fails to 420 interpret bit columns). (Nikita) 421 . Fixed bug #64638 (Fetching resultsets from stored procedure with cursor 422 fails). (Nikita) 423 . Fixed bug #72862 (segfault using prepared statements on stored procedures 424 that use a cursor). (Nikita) 425 . Fixed bug #77935 (Crash in mysqlnd_fetch_stmt_row_cursor when calling an SP 426 with a cursor). (Nikita) 427 428- Phar: 429 . Fixed bug #77565 (Incorrect locator detection in ZIP-based phars). (cmb) 430 . Fixed bug #69279 (Compressed ZIP Phar extractTo() creates garbage files). 431 (cmb) 432 43307 Jan 2021, PHP 7.4.14 434 435- Core: 436 . Fixed bug #74558 (Can't rebind closure returned by Closure::fromCallable()). 437 (cmb) 438 . Fixed bug #80345 (PHPIZE configuration has outdated PHP_RELEASE_VERSION). 439 (cmb) 440 . Fixed bug #72964 (White space not unfolded for CC/Bcc headers). (cmb) 441 . Fixed bug #80362 (Running dtrace scripts can cause php to crash). 442 (al at coralnet dot name) 443 . Fixed bug #80393 (Build of PHP extension fails due to configuration gap 444 with libtool). (kir dot morozov at gmail dot com) 445 . Fixed bug #80402 (configure filtering out -lpthread). (Nikita) 446 . Fixed bug #77069 (stream filter loses final block of data). (cmb) 447 448- Fileinfo: 449 . Fixed bug #77961 (finfo_open crafted magic parsing SIGABRT). (cmb) 450 451- FPM: 452 . Fixed bug #69625 (FPM returns 200 status on request without 453 SCRIPT_FILENAME env). (Jakub Zelenka) 454 455- Intl: 456 . Fixed bug #80425 (MessageFormatAdapter::getArgTypeList redefined). (Nikita) 457 458- OpenSSL: 459 . Fixed bug #80368 (OpenSSL extension fails to build against LibreSSL due to 460 lack of OCB support). (Nikita) 461 462- Phar: 463 . Fixed bug #73809 (Phar Zip parse crash - mmap fail). (cmb) 464 . Fixed bug #75102 (`PharData` says invalid checksum for valid tar). (cmb) 465 . Fixed bug #77322 (PharData::addEmptyDir('/') Possible integer overflow). 466 (cmb) 467 468- PDO MySQL: 469 . Fixed bug #80458 (PDOStatement::fetchAll() throws for upsert queries). 470 (Kamil Tekiela) 471 . Fixed bug #63185 (nextRowset() ignores MySQL errors with native prepared 472 statements). (Nikita) 473 . Fixed bug #78152 (PDO::exec() - Bad error handling with multiple commands). 474 (Nikita) 475 . Fixed bug #70066 (Unexpected "Cannot execute queries while other unbuffered 476 queries"). (Nikita) 477 . Fixed bug #71145 (Multiple statements in init command triggers unbuffered 478 query error). (Nikita) 479 . Fixed bug #76815 (PDOStatement cannot be GCed/closeCursor-ed when a 480 PROCEDURE resultset SIGNAL). (Nikita) 481 482- Standard: 483 . Fixed bug #77423 (FILTER_VALIDATE_URL accepts URLs with invalid userinfo). 484 (CVE-2020-7071) (cmb) 485 . Fixed bug #80366 (Return Value of zend_fstat() not Checked). (sagpant, cmb) 486 . Fixed bug #80411 (References to null-serialized object break serialize()). 487 (Nikita) 488 489- Tidy: 490 . Fixed bug #77594 (ob_tidyhandler is never reset). (cmb) 491 492- Zlib: 493 . Fixed #48725 (Support for flushing in zlib stream). (cmb) 494 49526 Nov 2020, PHP 7.4.13 496 497- Core: 498 . Fixed bug #80280 (ADD_EXTENSION_DEP() fails for ext/standard and ext/date). 499 (cmb) 500 . Fixed bug #80258 (Windows Deduplication Enabled, randon permission errors). 501 (cmb) 502 503- COM: 504 . Fixed bug #62474 (com_event_sink crashes on certain arguments). (cmb) 505 506- DOM: 507 . Fixed bug #80268 (loadHTML() truncates at NUL bytes). (cmb) 508 509- FFI: 510 . Fixed bug #79177 (FFI doesn't handle well PHP exceptions within callback). 511 (cmb, Dmitry, Nikita) 512 513- IMAP: 514 . Fixed bug #64076 (imap_sort() does not return FALSE on failure). (cmb) 515 . Fixed bug #76618 (segfault on imap_reopen). (girgias) 516 . Fixed bug #80239 (imap_rfc822_write_address() leaks memory). (cmb) 517 . Fixed minor regression caused by fixing bug #80220. (cmb) 518 . Fixed bug #80242 (imap_mail_compose() segfaults for multipart with rfc822). 519 (cmb) 520 521- MySQLi: 522 . Fixed bug #79375 (mysqli_store_result does not report error from lock wait 523 timeout). (Kamil Tekiela, Nikita) 524 . Fixed bug #76525 (mysqli::commit does not throw if MYSQLI_REPORT_ERROR 525 enabled and mysqlnd used). (Kamil Tekiela) 526 . Fixed bug #72413 (mysqlnd segfault (fetch_row second parameter 527 typemismatch)). (Kamil Tekiela) 528 529- ODBC: 530 . Fixed bug #44618 (Fetching may rely on uninitialized data). (cmb) 531 532- Opcache: 533 . Fixed bug #79643 (PHP with Opcache crashes when a file with specific name 534 is included). (twosee) 535 . Fixed run-time binding of preloaded dynamically declared function. (Dmitry) 536 537- OpenSSL: 538 . Fixed bug #79983 (openssl_encrypt / openssl_decrypt fail with OCB mode). 539 (Nikita) 540 541- PDO MySQL: 542 . Fixed bug #66528 (No PDOException or errorCode if database becomes 543 unavailable before PDO::commit). (Nikita) 544 . Fixed bug #65825 (PDOStatement::fetch() does not throw exception on broken 545 server connection). (Nikita) 546 547- SNMP: 548 . Fixed bug #70461 (disable md5 code when it is not supported in net-snmp). 549 (Alexander Bergmann, cmb) 550 551- Standard: 552 . Fixed bug #80266 (parse_url silently drops port number 0). (cmb, Nikita) 553 55429 Oct 2020, PHP 7.4.12 555 556- Core: 557 . Fixed bug #80061 (Copying large files may have suboptimal performance). 558 (cmb) 559 . Fixed bug #79423 (copy command is limited to size of file it can copy). 560 (cmb) 561 . Fixed bug #80126 (Covariant return types failing compilation). (Nikita) 562 . Fixed bug #80186 (Segfault when iterating over FFI object). (Nikita) 563 564- Calendar: 565 . Fixed bug #80185 (jdtounix() fails after 2037). (cmb) 566 567- IMAP: 568 . Fixed bug #80213 (imap_mail_compose() segfaults on certain $bodies). (cmb) 569 . Fixed bug #80215 (imap_mail_compose() may modify by-val parameters). (cmb) 570 . Fixed bug #80220 (imap_mail_compose() may leak memory). (cmb) 571 . Fixed bug #80223 (imap_mail_compose() leaks envelope on malformed bodies). 572 (cmb) 573 . Fixed bug #80216 (imap_mail_compose() does not validate types/encodings). 574 (cmb) 575 . Fixed bug #80226 (imap_sort() leaks sortpgm memory). (cmb) 576 577- MySQLnd: 578 . Fixed bug #80115 (mysqlnd.debug doesn't recognize absolute paths with 579 slashes). (cmb) 580 . Fixed bug #80107 (mysqli_query() fails for ~16 MB long query when 581 compression is enabled). (Nikita) 582 583- ODBC: 584 . Fixed bug #78470 (odbc_specialcolumns() no longer accepts $nullable). (cmb) 585 . Fixed bug #80147 (BINARY strings may not be properly zero-terminated). 586 (cmb) 587 . Fixed bug #80150 (Failure to fetch error message). (cmb) 588 . Fixed bug #80152 (odbc_execute() moves internal pointer of $params). (cmb) 589 . Fixed bug #46050 (odbc_next_result corrupts prepared resource). (cmb) 590 591- OPcache: 592 . Fixed bug #80083 (Optimizer pass 6 removes variables used for ibm_db2 data 593 binding). (Nikita) 594 . Fixed bug #80194 (Assertion failure during block assembly of unreachable 595 free with leading nop). (Nikita) 596 597- PCRE: 598 . Updated to PCRE 10.35. (cmb) 599 . Fixed bug #80118 (Erroneous whitespace match with JIT only). (cmb) 600 601- PDO_ODBC: 602 . Fixed bug #67465 (NULL Pointer dereference in odbc_handle_preparer). (cmb) 603 604- Standard: 605 . Fixed bug #80114 (parse_url does not accept URLs with port 0). (cmb, twosee) 606 . Fixed bug #76943 (Inconsistent stream_wrapper_restore() errors). (cmb) 607 . Fixed bug #76735 (Incorrect message in fopen on invalid mode). (cmb) 608 609- Tidy: 610 . Fixed bug #77040 (tidyNode::isHtml() is completely broken). (cmb) 611 61201 Oct 2020, PHP 7.4.11 613 614- Core: 615 . Fixed bug #79979 (passing value to by-ref param via CUFA crashes). (cmb, 616 Nikita) 617 . Fixed bug #80037 (Typed property must not be accessed before initialization 618 when __get() declared). (Nikita) 619 . Fixed bug #80048 (Bug #69100 has not been fixed for Windows). (cmb) 620 . Fixed bug #80049 (Memleak when coercing integers to string via variadic 621 argument). (Nikita) 622 . Fixed bug #79699 (PHP parses encoded cookie names so malicious `__Host-` 623 cookies can be sent). (CVE-2020-7070) (Stas) 624 625- Calendar: 626 . Fixed bug #80007 (Potential type confusion in unixtojd() parameter parsing). 627 (Andy Postnikov) 628 629- COM: 630 . Fixed bug #64130 (COM obj parameters passed by reference are not updated). 631 (cmb) 632 633- OPcache: 634 . Fixed bug #80002 (calc free space for new interned string is wrong). 635 (t-matsuno) 636 . Fixed bug #80046 (FREE for SWITCH_STRING optimized away). (Nikita) 637 . Fixed bug #79825 (opcache.file_cache causes SIGSEGV when custom opcode 638 handlers changed). (SammyK) 639 640- OpenSSL: 641 . Fixed bug #79601 (Wrong ciphertext/tag in AES-CCM encryption for a 12 642 bytes IV). (CVE-2020-7069) (Jakub Zelenka) 643 644- PDO: 645 . Fixed bug #80027 (Terrible performance using $query->fetch on queries with 646 many bind parameters). (Matteo) 647 648- SOAP: 649 . Fixed bug #47021 (SoapClient stumbles over WSDL delivered with 650 "Transfer-Encoding: chunked"). (Matteo) 651 652- Standard: 653 . Fixed bug #79986 (str_ireplace bug with diacritics characters). (cmb) 654 . Fixed bug #80077 (getmxrr test bug). (Rainer Jung) 655 . Fixed bug #72941 (Modifying bucket->data by-ref has no effect any longer). 656 (cmb) 657 . Fixed bug #80067 (Omitting the port in bindto setting errors). (cmb) 658 65903 Sep 2020, PHP 7.4.10 660 661- Core: 662 . Fixed bug #79884 (PHP_CONFIG_FILE_PATH is meaningless). (cmb) 663 . Fixed bug #77932 (File extensions are case-sensitive). (cmb) 664 . Fixed bug #79806 (realpath() erroneously resolves link to link). (cmb) 665 . Fixed bug #79895 (PHP_CHECK_GCC_ARG does not allow flags with equal sign). 666 (Santiago M. Mola) 667 . Fixed bug #79919 (Stack use-after-scope in define()). (cmb) 668 . Fixed bug #79934 (CRLF-only line in heredoc causes parsing error). 669 (Pieter van den Ham) 670 . Fixed bug #79947 (Memory leak on invalid offset type in compound 671 assignment). (Nikita) 672 673- COM: 674 . Fixed bug #48585 (com_load_typelib holds reference, fails on second call). 675 (cmb) 676 677- Exif: 678 . Fixed bug #75785 (Many errors from exif_read_data). 679 (Níckolas Daniel da Silva) 680 681- Gettext: 682 . Fixed bug #70574 (Tests fail due to relying on Linux fallback behavior for 683 gettext()). (Florian Engelhardt) 684 685- LDAP: 686 . Fixed memory leaks. (ptomulik) 687 688- OPcache: 689 . Fixed bug #73060 (php failed with error after temp folder cleaned up). 690 (cmb) 691 . Fixed bug #79917 (File cache segfault with a static variable in inherited 692 method). (Nikita) 693 694- PDO: 695 . Fixed bug #64705 (errorInfo property of PDOException is null when 696 PDO::__construct() fails). (Ahmed Abdou) 697 698- Session: 699 . Fixed bug #79724 (Return type does not match in ext/session/mod_mm.c). 700 (Nikita) 701 702- Standard: 703 . Fixed bug #79930 (array_merge_recursive() crashes when called with array 704 with single reference). (Nikita) 705 . Fixed bug #79944 (getmxrr always returns true on Alpine linux). (Nikita) 706 . Fixed bug #79951 (Memory leak in str_replace of empty string). (Nikita) 707 708- XML: 709 . Fixed bug #79922 (Crash after multiple calls to xml_parser_free()). (cmb) 710 71106 Aug 2020, PHP 7.4.9 712 713- Apache: 714 . Fixed bug #79030 (Upgrade apache2handler's php_apache_sapi_get_request_time 715 to return usec). (Herbert256) 716 717- COM: 718 . Fixed bug #63208 (BSTR to PHP string conversion not binary safe). (cmb) 719 . Fixed bug #63527 (DCOM does not work with Username, Password parameter). 720 (cmb) 721 722- Core: 723 . Fixed bug #79877 (getimagesize function silently truncates after a null 724 byte) (cmb) 725 . Fixed bug #79740 (serialize() and unserialize() methods can not be called 726 statically). (Nikita) 727 . Fixed bug #79783 (Segfault in php_str_replace_common). (Nikita) 728 . Fixed bug #79778 (Assertion failure if dumping closure with unresolved 729 static variable). (Nikita) 730 . Fixed bug #79779 (Assertion failure when assigning property of string 731 offset by reference). (Nikita) 732 . Fixed bug #79792 (HT iterators not removed if empty array is destroyed). 733 (Nikita) 734 . Fixed bug #78598 (Changing array during undef index RW error segfaults). 735 (Nikita) 736 . Fixed bug #79784 (Use after free if changing array during undef var during 737 array write fetch). (Nikita) 738 . Fixed bug #79793 (Use after free if string used in undefined index warning 739 is changed). (Nikita) 740 . Fixed bug #79862 (Public non-static property in child should take priority 741 over private static). (Nikita) 742 743- Fileinfo: 744 . Fixed bug #79756 (finfo_file crash (FILEINFO_MIME)). (cmb) 745 746- FTP: 747 . Fixed bug #55857 (ftp_size on large files). (cmb) 748 749- Mbstring: 750 . Fixed bug #79787 (mb_strimwidth does not trim string). (XXiang) 751 752- OpenSSL: 753 . Fixed bug #79881 (Memory leak in openssl_pkey_get_public()). (Nikita) 754 755- Phar: 756 . Fixed bug #79797 (Use of freed hash key in the phar_parse_zipfile 757 function). (CVE-2020-7068) (cmb) 758 759- Reflection: 760 . Fixed bug #79487 (::getStaticProperties() ignores property modifications). 761 (cmb, Nikita) 762 . Fixed bug #69804 (::getStaticPropertyValue() throws on protected props). 763 (cmb, Nikita) 764 . Fixed bug #79820 (Use after free when type duplicated into 765 ReflectionProperty gets resolved). (Christopher Broadbent) 766 767- Standard: 768 . Fixed bug #70362 (Can't copy() large 'data://' with open_basedir). (cmb) 769 . Fixed bug #78008 (dns_check_record() always return true on Alpine). 770 (Andy Postnikov) 771 . Fixed bug #79839 (array_walk() does not respect property types). (Nikita) 772 77309 Jul 2020, PHP 7.4.8 774 775- Core: 776 . Fixed bug #79595 (zend_init_fpu() alters FPU precision). (cmb, Nikita) 777 . Fixed bug #79650 (php-win.exe 100% cpu lockup). (cmb) 778 . Fixed bug #79668 (get_defined_functions(true) may miss functions). (cmb, 779 Nikita) 780 . Fixed bug #79683 (Fake reflection scope affects __toString()). (Nikita) 781 . Fixed possibly unsupported timercmp() usage. (cmb) 782 783- Exif: 784 . Fixed bug #79687 (Sony picture - PHP Warning - Make, Model, MakerNotes). 785 (cmb) 786 787- Fileinfo: 788 . Fixed bug #79681 (mime_content_type/finfo returning incorrect mimetype). 789 (cmb) 790 791- Filter: 792 . Fixed bug #73527 (Invalid memory access in php_filter_strip). (cmb) 793 794- GD: 795 . Fixed bug #79676 (imagescale adds black border with IMG_BICUBIC). (cmb) 796 797- OpenSSL: 798 . Fixed bug #62890 (default_socket_timeout=-1 causes connection to timeout). 799 (cmb) 800 801- PDO SQLite: 802 . Fixed bug #79664 (PDOStatement::getColumnMeta fails on empty result set). 803 (cmb) 804 805- phpdbg: 806 . Fixed bug #73926 (phpdbg will not accept input on restart execution). (cmb) 807 . Fixed bug #73927 (phpdbg fails with windows error prompt at "watch array"). 808 (cmb) 809 . Fixed several mostly Windows related phpdbg bugs. (cmb) 810 811- SPL: 812 . Fixed bug #79710 (Reproducible segfault in error_handler during GC 813 involved an SplFileObject). (Nikita) 814 815- Standard: 816 . Fixed bug #74267 (segfault with streams and invalid data). (cmb) 817 . Fixed bug #79579 (ZTS build of PHP 7.3.17 doesn't handle ERANGE for 818 posix_getgrgid and others). (Böszörményi Zoltán) 819 82011 Jun 2020, PHP 7.4.7 821 822- Core: 823 . Fixed bug #79599 (coredump in set_error_handler). (Laruence) 824 . Fixed bug #79566 (Private SHM is not private on Windows). (cmb) 825 . Fixed bug #79489 (.user.ini does not inherit). (cmb) 826 . Fixed bug #79600 (Regression in 7.4.6 when yielding an array based 827 generator). (Nikita) 828 . Fixed bug #79657 ("yield from" hangs when invalid value encountered). 829 (Nikita) 830 831- FFI: 832 . Fixed bug #79571 (FFI: var_dumping unions may segfault). (cmb) 833 834- GD: 835 . Fixed bug #79615 (Wrong GIF header written in GD GIFEncode). (sageptr, cmb) 836 837- MySQLnd: 838 . Fixed bug #79596 (MySQL FLOAT truncates to int some locales). (cmb) 839 840- Opcache: 841 . Fixed bug #79588 (Boolean opcache settings ignore on/off values). (cmb) 842 . Fixed bug #79548 (Preloading segfault with inherited method using static 843 variable). (Nikita) 844 . Fixed bug #79603 (RTD collision with opcache). (Nikita) 845 846- Standard: 847 . Fixed bug #79561 (dns_get_record() fails with DNS_ALL). (cmb) 848 84914 May 2020, PHP 7.4.6 850 851- Core: 852 . Fixed bug #79536 (zend_clear_exception prevent exception's destructor to be 853 called). (Laruence) 854 . Fixed bug #78434 (Generator yields no items after valid() call). (Nikita) 855 . Fixed bug #79477 (casting object into array creates references). (Nikita) 856 . Fixed bug #79514 (Memory leaks while including unexistent file). (cmb, 857 Nikita) 858 859- DOM: 860 . Fixed bug #78221 (DOMNode::normalize() doesn't remove empty text nodes). 861 (cmb) 862 863- EXIF: 864 . Fixed bug #79336 (ext/exif/tests/bug79046.phpt fails on Big endian arch). 865 (Nikita) 866 867- FCGI: 868 . Fixed bug #79491 (Search for .user.ini extends up to root dir). (cmb) 869 870- MBString: 871 . Fixed bug #79441 (Segfault in mb_chr() if internal encoding is unsupported). 872 (Girgias) 873 874- OpenSSL: 875 . Fixed bug #79497 (stream_socket_client() throws an unknown error sometimes 876 with <1s timeout). (Joe Cai) 877 878- PCRE: 879 . Upgraded to PCRE2 10.34. (cmb) 880 881- Phar: 882 . Fixed bug #79503 (Memory leak on duplicate metadata). (cmb) 883 884- SimpleXML: 885 . Fixed bug #79528 (Different object of the same xml between 7.4.5 and 886 7.4.4). (cmb) 887 888- SPL: 889 . Fixed bug #69264 (__debugInfo() ignored while extending SPL classes). (cmb) 890 . Fixed bug #67369 (ArrayObject serialization drops the iterator class). 891 (Alex Dowad) 892 893- Standard: 894 . Fixed bug #79468 (SIGSEGV when closing stream handle with a stream filter 895 appended). (dinosaur) 896 . Fixed bug #79447 (Serializing uninitialized typed properties with __sleep 897 should not throw). (nicolas-grekas) 898 89916 Apr 2020, PHP 7.4.5 900 901- Core: 902 . Fixed bug #79364 (When copy empty array, next key is unspecified). (cmb) 903 . Fixed bug #78210 (Invalid pointer address). (cmb, Nikita) 904 905- CURL: 906 . Fixed bug #79199 (curl_copy_handle() memory leak). (cmb) 907 908- Date: 909 . Fixed bug #79396 (DateTime hour incorrect during DST jump forward). (Nate 910 Brunette) 911 . Fixed bug #74940 (DateTimeZone loose comparison always true). (cmb) 912 913- FPM: 914 . Implement request #77062 (Allow numeric [UG]ID in FPM listen.{owner,group}) 915 (Andre Nathan) 916 917- Iconv: 918 . Fixed bug #79200 (Some iconv functions cut Windows-1258). (cmb) 919 920- OPcache: 921 . Fixed bug #79412 (Opcache chokes and uses 100% CPU on specific script). 922 (Dmitry) 923 924- Session: 925 . Fixed bug #79413 (session_create_id() fails for active sessions). (cmb) 926 927- Shmop: 928 . Fixed bug #79427 (Integer Overflow in shmop_open()). (cmb) 929 930- SimpleXML: 931 . Fixed bug #61597 (SXE properties may lack attributes and content). (cmb) 932 933- SOAP: 934 . Fixed bug #79357 (SOAP request segfaults when any request parameter is 935 missing). (Nikita) 936 937- Spl: 938 . Fixed bug #75673 (SplStack::unserialize() behavior). (cmb) 939 . Fixed bug #79393 (Null coalescing operator failing with SplFixedArray). 940 (cmb) 941 942- Standard: 943 . Fixed bug #79330 (shell_exec() silently truncates after a null byte). (stas) 944 . Fixed bug #79465 (OOB Read in urldecode()). (CVE-2020-7067) (stas) 945 . Fixed bug #79410 (system() swallows last chunk if it is exactly 4095 bytes 946 without newline). (Christian Schneider) 947 948- Zip: 949 . Fixed Bug #79296 (ZipArchive::open fails on empty file). (Remi) 950 . Fixed bug #79424 (php_zip_glob uses gl_pathc after call to globfree). 951 (Max Rees) 952 95319 Mar 2020, PHP 7.4.4 954 955- Core: 956 . Fixed bug #79244 (php crashes during parsing INI file). (Laruence) 957 . Fixed bug #63206 (restore_error_handler does not restore previous errors 958 mask). (Mark Plomer) 959 960- COM: 961 . Fixed bug #66322 (COMPersistHelper::SaveToFile can save to wrong location). 962 (cmb) 963 . Fixed bug #79242 (COM error constants don't match com_exception codes on 964 x86). (cmb) 965 . Fixed bug #79247 (Garbage collecting variant objects segfaults). (cmb) 966 . Fixed bug #79248 (Traversing empty VT_ARRAY throws com_exception). (cmb) 967 . Fixed bug #79299 (com_print_typeinfo prints duplicate variables). (Litiano 968 Moura) 969 . Fixed bug #79332 (php_istreams are never freed). (cmb) 970 . Fixed bug #79333 (com_print_typeinfo() leaks memory). (cmb) 971 972- CURL: 973 . Fixed bug #79019 (Copied cURL handles upload empty file). (cmb) 974 . Fixed bug #79013 (Content-Length missing when posting a curlFile with 975 curl). (cmb) 976 977- DOM: 978 . Fixed bug #77569: (Write Access Violation in DomImplementation). (Nikita, 979 cmb) 980 . Fixed bug #79271 (DOMDocumentType::$childNodes is NULL). (cmb) 981 982- Enchant: 983 . Fixed bug #79311 (enchant_dict_suggest() fails on big endian architecture). 984 (cmb) 985 986- EXIF: 987 . Fixed bug #79282 (Use-of-uninitialized-value in exif). (CVE-2020-7064) 988 (Nikita) 989 990- Fileinfo: 991 . Fixed bug #79283 (Segfault in libmagic patch contains a buffer 992 overflow). (cmb) 993 994- FPM: 995 . Fixed bug #77653 (operator displayed instead of the real error message). 996 (Jakub Zelenka) 997 . Fixed bug #79014 (PHP-FPM & Primary script unknown). (Jakub Zelenka) 998 999- MBstring: 1000 . Fixed bug #79371 (mb_strtolower (UTF-32LE): stack-buffer-overflow at 1001 php_unicode_tolower_full). (CVE-2020-7065) (cmb) 1002 1003- MySQLi: 1004 . Fixed bug #64032 (mysqli reports different client_version). (cmb) 1005 1006- MySQLnd: 1007 . Implemented FR #79275 (Support auth_plugin_caching_sha2_password on 1008 Windows). (cmb) 1009 1010- Opcache: 1011 . Fixed bug #79252 (preloading causes php-fpm to segfault during exit). 1012 (Nikita) 1013 1014- PCRE: 1015 . Fixed bug #79188 (Memory corruption in preg_replace/preg_replace_callback 1016 and unicode). (Nikita) 1017 . Fixed bug #79241 (Segmentation fault on preg_match()). (Nikita) 1018 . Fixed bug #79257 (Duplicate named groups (?J) prefer last alternative even 1019 if not matched). (Nikita) 1020 1021- PDO_ODBC: 1022 . Fixed bug #79038 (PDOStatement::nextRowset() leaks column values). (cmb) 1023 1024- Reflection: 1025 . Fixed bug #79062 (Property with heredoc default value returns false for 1026 getDocComment). (Nikita) 1027 1028- SQLite3: 1029 . Fixed bug #79294 (::columnType() may fail after SQLite3Stmt::reset()). (cmb) 1030 1031- Standard: 1032 . Fixed bug #79329 (get_headers() silently truncates after a null byte). 1033 (CVE-2020-7066) (cmb) 1034 . Fixed bug #79254 (getenv() w/o arguments not showing changes). (cmb) 1035 . Fixed bug #79265 (Improper injection of Host header when using fopen for 1036 http requests). (Miguel Xavier Penha Neto) 1037 1038- Zip: 1039 . Fixed bug #79315 (ZipArchive::addFile doesn't honor start/length 1040 parameters). (Remi) 1041 104220 Feb 2020, PHP 7.4.3 1043 1044- Core: 1045 . Fixed bug #79146 (cscript can fail to run on some systems). (clarodeus) 1046 . Fixed bug #79155 (Property nullability lost when using multiple property 1047 definition). (Nikita) 1048 . Fixed bug #78323 (Code 0 is returned on invalid options). (Ivan Mikheykin) 1049 . Fixed bug #78989 (Delayed variance check involving trait segfaults). 1050 (Nikita) 1051 . Fixed bug #79174 (cookie values with spaces fail to round-trip). (cmb) 1052 . Fixed bug #76047 (Use-after-free when accessing already destructed 1053 backtrace arguments). (Nikita) 1054 1055- CURL: 1056 . Fixed bug #79078 (Hypothetical use-after-free in curl_multi_add_handle()). 1057 (cmb) 1058 1059- FFI: 1060 . Fixed bug #79096 (FFI Struct Segfault). (cmb) 1061 1062- IMAP: 1063 . Fixed bug #79112 (IMAP extension can't find OpenSSL libraries at configure 1064 time). (Nikita) 1065 1066- Intl: 1067 . Fixed bug #79212 (NumberFormatter::format() may detect wrong type). (cmb) 1068 1069- Libxml: 1070 . Fixed bug #79191 (Error in SoapClient ctor disables DOMDocument::save()). 1071 (Nikita, cmb) 1072 1073- MBString: 1074 . Fixed bug #79149 (SEGV in mb_convert_encoding with non-string encodings). 1075 (cmb) 1076 1077- MySQLi: 1078 . Fixed bug #78666 (Properties may emit a warning on var_dump()). (kocsismate) 1079 1080- MySQLnd: 1081 . Fixed bug #79084 (mysqlnd may fetch wrong column indexes with MYSQLI_BOTH). 1082 (cmb) 1083 . Fixed bug #79011 (MySQL caching_sha2_password Access denied for password 1084 with more than 20 chars). (Nikita) 1085 1086- Opcache: 1087 . Fixed bug #79114 (Eval class during preload causes class to be only half 1088 available). (Laruence) 1089 . Fixed bug #79128 (Preloading segfaults if preload_user is used). (Nikita) 1090 . Fixed bug #79193 (Incorrect type inference for self::$field =& $field). 1091 (Nikita) 1092 1093- OpenSSL: 1094 . Fixed bug #79145 (openssl memory leak). (cmb, Nikita) 1095 1096- Phar: 1097 . Fixed bug #79082 (Files added to tar with Phar::buildFromIterator have 1098 all-access permissions). (CVE-2020-7063) (stas) 1099 . Fixed bug #79171 (heap-buffer-overflow in phar_extract_file). 1100 (CVE-2020-7061) (cmb) 1101 . Fixed bug #76584 (PharFileInfo::decompress not working). (cmb) 1102 1103- Reflection: 1104 . Fixed bug #79115 (ReflectionClass::isCloneable call reflected class 1105 __destruct). (Nikita) 1106 1107- Session: 1108 . Fixed bug #79221 (Null Pointer Dereference in PHP Session Upload Progress). 1109 (CVE-2020-7062) (stas) 1110 1111- Standard: 1112 . Fixed bug #78902 (Memory leak when using stream_filter_append). (liudaixiao) 1113 . Fixed bug #78969 (PASSWORD_DEFAULT should match PASSWORD_BCRYPT instead of being null). (kocsismate) 1114 1115- Testing: 1116 . Fixed bug #78090 (bug45161.phpt takes forever to finish). (cmb) 1117 1118- XSL: 1119 . Fixed bug #70078 (XSL callbacks with nodes as parameter leak memory). (cmb) 1120 1121- Zip: 1122 . Add ZipArchive::CM_LZMA2 and ZipArchive::CM_XZ constants (since libzip 1.6.0). (Remi) 1123 . Add ZipArchive::RDONLY (since libzip 1.0.0). (Remi) 1124 . Add ZipArchive::ER_* missing constants. (Remi) 1125 . Add ZipArchive::LIBZIP_VERSION constant. (Remi) 1126 . Fixed bug #73119 (Wrong return for ZipArchive::addEmptyDir Method). (Remi) 1127 112823 Jan 2020, PHP 7.4.2 1129 1130- Core: 1131 . Preloading support on Windows has been disabled. (Nikita) 1132 . Fixed bug #79022 (class_exists returns True for classes that are not ready 1133 to be used). (Laruence) 1134 . Fixed bug #78929 (plus signs in cookie values are converted to spaces). 1135 (Alexey Kachalin) 1136 . Fixed bug #78973 (Destructor during CV freeing causes segfault if opline 1137 never saved). (Nikita) 1138 . Fixed bug #78776 (Abstract method implementation from trait does not check 1139 "static"). (Nikita) 1140 . Fixed bug #78999 (Cycle leak when using function result as temporary). 1141 (Dmitry) 1142 . Fixed bug #79008 (General performance regression with PHP 7.4 on Windows). 1143 (cmb) 1144 . Fixed bug #79002 (Serializing uninitialized typed properties with __sleep 1145 makes unserialize throw). (Nikita) 1146 1147- CURL: 1148 . Fixed bug #79033 (Curl timeout error with specific url and post). (cmb) 1149 . Fixed bug #79063 (curl openssl does not respect PKG_CONFIG_PATH). (Nikita) 1150 1151- Date: 1152 . Fixed bug #79015 (undefined-behavior in php_date.c). (cmb) 1153 1154- DBA: 1155 . Fixed bug #78808 ([LMDB] MDB_MAP_FULL: Environment mapsize limit reached). 1156 (cmb) 1157 1158- Exif: 1159 . Fixed bug #79046 (NaN to int cast undefined behavior in exif). (Nikita) 1160 1161- Fileinfo: 1162 . Fixed bug #74170 (locale information change after mime_content_type). 1163 (Sergei Turchanov) 1164 1165- GD: 1166 . Fixed bug #79067 (gdTransformAffineCopy() may use unitialized values). (cmb) 1167 . Fixed bug #79068 (gdTransformAffineCopy() changes interpolation method). 1168 (cmb) 1169 1170- Libxml: 1171 . Fixed bug #79029 (Use After Free's in XMLReader / XMLWriter). (Laruence) 1172 1173- OPcache: 1174 . Fixed bug #78961 (erroneous optimization of re-assigned $GLOBALS). (Dmitry) 1175 . Fixed bug #78950 (Preloading trait method with static variables). (Nikita) 1176 . Fixed bug #78903 (Conflict in RTD key for closures results in crash). 1177 (Nikita) 1178 . Fixed bug #78986 (Opcache segfaults when inheriting ctor from immutable 1179 into mutable class). (Nikita) 1180 . Fixed bug #79040 (Warning Opcode handlers are unusable due to ASLR). (cmb) 1181 . Fixed bug #79055 (Typed property become unknown with OPcache file cache). 1182 (Nikita) 1183 1184- Pcntl: 1185 . Fixed bug #78402 (Converting null to string in error message is bad DX). 1186 (SATŌ Kentarō) 1187 1188- PDO_PgSQL: 1189 . Fixed bug #78983 (pdo_pgsql config.w32 cannot find libpq-fe.h). (SATŌ 1190 Kentarō) 1191 . Fixed bug #78980 (pgsqlGetNotify() overlooks dead connection). (SATŌ 1192 Kentarō) 1193 . Fixed bug #78982 (pdo_pgsql returns dead persistent connection). (SATŌ 1194 Kentarō) 1195 1196- Session: 1197 . Fixed bug #79031 (Session unserialization problem). (Nikita) 1198 1199- Shmop: 1200 . Fixed bug #78538 (shmop memory leak). (cmb) 1201 1202- Sqlite3: 1203 . Fixed bug #79056 (sqlite does not respect PKG_CONFIG_PATH during 1204 compilation). (Nikita) 1205 1206- Spl: 1207 . Fixed bug #78976 (SplFileObject::fputcsv returns -1 on failure). (cmb) 1208 1209- Standard: 1210 . Fixed bug #79000 (Non-blocking socket stream reports EAGAIN as error). 1211 (Nikita) 1212 . Fixed bug #54298 (Using empty additional_headers adding extraneous CRLF). 1213 (cmb) 1214 121518 Dec 2019, PHP 7.4.1 1216 1217- Core: 1218 . Fixed bug #78810 (RW fetches do not throw "uninitialized property" 1219 exception). (Nikita) 1220 . Fixed bug #78868 (Calling __autoload() with incorrect EG(fake_scope) value). 1221 (Antony Dovgal, Dmitry) 1222 . Fixed bug #78296 (is_file fails to detect file). (cmb) 1223 . Fixed bug #78883 (fgets(STDIN) fails on Windows). (cmb) 1224 . Fixed bug #78898 (call_user_func(['parent', ...]) fails while other 1225 succeed). (Nikita) 1226 . Fixed bug #78904 (Uninitialized property triggers __get()). (Nikita) 1227 . Fixed bug #78926 (Segmentation fault on Symfony cache:clear). (Nikita) 1228 1229- GD: 1230 . Fixed bug #78849 (GD build broken with -D SIGNED_COMPARE_SLOW). (cmb) 1231 . Fixed bug #78923 (Artifacts when convoluting image with transparency). 1232 (wilson chen) 1233 1234- FPM: 1235 . Fixed bug #76601 (Partially working php-fpm ater incomplete reload). 1236 (Maksim Nikulin) 1237 . Fixed bug #78889 (php-fpm service fails to start). (Jakub Zelenka) 1238 . Fixed bug #78916 (php-fpm 7.4.0 don't send mail via mail()). 1239 (Jakub Zelenka) 1240 1241- Intl: 1242 . Implemented FR #78912 (INTL Support for accounting format). (cmb) 1243 1244- Mysqlnd: 1245 . Fixed bug #78823 (ZLIB_LIBS not added to EXTRA_LIBS). (Arjen de Korte) 1246 1247- OPcache: 1248 . Fixed $x = (bool)$x; with opcache (should emit undeclared variable notice). 1249 (Tyson Andre) 1250 . Fixed bug #78935 (Preloading removes classes that have dependencies). 1251 (Nikita, Dmitry) 1252 1253- PCRE: 1254 . Fixed bug #78853 (preg_match() may return integer > 1). (cmb) 1255 1256- Reflection: 1257 . Fixed bug #78895 (Reflection detects abstract non-static class as abstract 1258 static. IS_IMPLICIT_ABSTRACT is not longer used). (Dmitry) 1259 1260- Standard: 1261 . Fixed bug #77638 (var_export'ing certain class instances segfaults). (cmb) 1262 . Fixed bug #78840 (imploding $GLOBALS crashes). (cmb) 1263 . Fixed bug #78833 (Integer overflow in pack causes out-of-bound access). 1264 (cmb) 1265 . Fixed bug #78814 (strip_tags allows / in tag name => whitelist bypass). 1266 (cmb) 1267 126828 Nov 2019, PHP 7.4.0 1269 1270- Core: 1271 . Implemented RFC: Deprecate curly brace syntax for accessing array elements 1272 and string offsets. 1273 https://wiki.php.net/rfc/deprecate_curly_braces_array_access (Andrey Gromov) 1274 . Implemented RFC: Deprecations for PHP 7.4. 1275 https://wiki.php.net/rfc/deprecations_php_7_4 (Kalle, Nikita) 1276 . Fixed bug #52752 (Crash when lexing). (Nikita) 1277 . Fixed bug #60677 (CGI doesn't properly validate shebang line contains #!). 1278 (Nikita) 1279 . Fixed bug #71030 (Self-assignment in list() may have inconsistent behavior). 1280 (Nikita) 1281 . Fixed bug #72530 (Use After Free in GC with Certain Destructors). (Nikita) 1282 . Fixed bug #75921 (Inconsistent: No warning in some cases when stdObj is 1283 created on the fly). (David Walker) 1284 . Implemented FR #76148 (Add array_key_exists() to the list of specially 1285 compiled functions). (Majkl578) 1286 . Fixed bug #76430 (__METHOD__ inconsistent outside of method). 1287 (Ryan McCullagh, Nikita) 1288 . Fixed bug #76451 (Aliases during inheritance type checks affected by 1289 opcache). (Nikita) 1290 . Implemented FR #77230 (Support custom CFLAGS and LDFLAGS from environment). 1291 (cmb) 1292 . Fixed bug #77345 (Stack Overflow caused by circular reference in garbage 1293 collection). (Alexandru Patranescu, Nikita, Dmitry) 1294 . Fixed bug #77812 (Interactive mode does not support PHP 7.3-style heredoc). 1295 (cmb, Nikita) 1296 . Fixed bug #77877 (call_user_func() passes $this to static methods). 1297 (Dmitry) 1298 . Fixed bug #78066 (PHP eats the first byte of a program that comes from 1299 process substitution). (Nikita) 1300 . Fixed bug #78151 (Segfault caused by indirect expressions in PHP 7.4a1). 1301 (Nikita) 1302 . Fixed bug #78154 (SEND_VAR_NO_REF does not always send reference). (Nikita) 1303 . Fixed bug #78182 (Segmentation fault during by-reference property 1304 assignment). (Nikita) 1305 . Fixed bug #78212 (Segfault in built-in webserver). (cmb) 1306 . Fixed bug #78220 (Can't access OneDrive folder). (cmb, ab) 1307 . Fixed bug #78226 (Unexpected __set behavior with typed properties). (Nikita) 1308 . Fixed bug #78239 (Deprecation notice during string conversion converted to 1309 exception hangs). (Nikita) 1310 . Fixed bug #78335 (Static properties/variables containing cycles report as 1311 leak). (Nikita) 1312 . Fixed bug #78340 (Include of stream wrapper not reading whole file). 1313 (Nikita) 1314 . Fixed bug #78344 (Segmentation fault on zend_check_protected). (Nikita) 1315 . Fixed bug #78356 (Array returned from ArrayAccess is incorrectly unpacked 1316 as argument). (Nikita) 1317 . Fixed bug #78379 (Cast to object confuses GC, causes crash). (Dmitry) 1318 . Fixed bug #78386 (fstat mode has unexpected value on PHP 7.4). (cmb) 1319 . Fixed bug #78396 (Second file_put_contents in Shutdown hangs script). 1320 (Nikita) 1321 . Fixed bug #78406 (Broken file includes with user-defined stream filters). 1322 (Nikita) 1323 . Fixed bug #78438 (Corruption when __unserializing deeply nested structures). 1324 (cmb, Nikita) 1325 . Fixed bug #78441 (Parse error due to heredoc identifier followed by digit). 1326 (cmb) 1327 . Fixed bug #78454 (Consecutive numeric separators cause OOM error). 1328 (Theodore Brown) 1329 . Fixed bug #78460 (PEAR installation failure). (Peter Kokot, L. Declercq) 1330 . Fixed bug #78531 (Crash when using undefined variable as object). (Dmitry) 1331 . Fixed bug #78535 (auto_detect_line_endings value not parsed as bool). 1332 (bugreportuser) 1333 . Fixed bug #78604 (token_get_all() does not properly tokenize FOO<?php with 1334 short_open_tag=0). (Nikita) 1335 . Fixed bug #78614 (Does not compile with DTRACE anymore). 1336 (tz at FreeBSD dot org) 1337 . Fixed bug #78620 (Out of memory error). (cmb, Nikita) 1338 . Fixed bug #78632 (method_exists() in php74 works differently from php73 in 1339 checking priv. methods). (Nikita) 1340 . Fixed bug #78644 (SEGFAULT in ZEND_UNSET_OBJ_SPEC_VAR_CONST_HANDLER). 1341 (Nikita) 1342 . Fixed bug #78658 (Memory corruption using Closure::bindTo). (Nikita) 1343 . Fixed bug #78656 (Parse errors classified as highest log-level). (Erik 1344 Lundin) 1345 . Fixed bug #78662 (stream_write bad error detection). (Remi) 1346 . Fixed bug #78768 (redefinition of typedef zend_property_info). (Nikita) 1347 . Fixed bug #78788 (./configure generates invalid php_version.h). (max) 1348 . Fixed incorrect usage of QM_ASSIGN instruction. It must not return IS_VAR. 1349 As a side effect, this allowed passing left hand list() "by reference", 1350 instead of compile-time error. (Dmitry) 1351 1352- CLI: 1353 . The built-in CLI server now reports the request method in log files. 1354 (Simon Welsh) 1355 1356- COM: 1357 . Deprecated registering of case-insensitive constants from typelibs. (cmb) 1358 . Fixed bug #78650 (new COM Crash). (cmb) 1359 . Fixed bug #78694 (Appending to a variant array causes segfault). (cmb) 1360 1361- CURL: 1362 . Fixed bug #76480 (Use curl_multi_wait() so that timeouts are respected). 1363 (Pierrick) 1364 . Implemented FR #77711 (CURLFile should support UNICODE filenames). (cmb) 1365 . Deprecated CURLPIPE_HTTP1. (cmb) 1366 . Deprecated $version parameter of curl_version(). (cmb) 1367 1368- Date: 1369 . Updated timelib to 2018.02. (Derick) 1370 . Fixed bug #69044 (discrepency between time and microtime). (krakjoe) 1371 . Fixed bug #70153 (\DateInterval incorrectly unserialized). (Maksim Iakunin) 1372 . Fixed bug #75232 (print_r of DateTime creating side-effect). (Nikita) 1373 . Fixed bug #78383 (Casting a DateTime to array no longer returns its 1374 properties). (Nikita) 1375 . Fixed bug #78751 (Serialising DatePeriod converts DateTimeImmutable). (cmb) 1376 1377- Exif: 1378 . Fixed bug #78333 (Exif crash (bus error) due to wrong alignment and 1379 invalid cast). (Nikita) 1380 . Fixed bug #78256 (heap-buffer-overflow on exif_process_user_comment). 1381 (CVE-2019-11042) (Stas) 1382 . Fixed bug #78222 (heap-buffer-overflow on exif_scan_thumbnail). 1383 (CVE-2019-11041) (Stas) 1384 1385- Fileinfo: 1386 . Fixed bug #78075 (finfo_file treats JSON file as text/plain). (Anatol) 1387 . Fixed bug #78183 (finfo_file shows wrong mime-type for .tga file). 1388 (Anatol) 1389 1390- Filter: 1391 . The filter extension no longer has the --with-pcre-dir on Unix builds, 1392 allowing the extension to be once more compiled as shared using 1393 ./configure. (Kalle) 1394 1395- FFI: 1396 . Added FFI extension. (Dmitry) 1397 . Fixed bug #78488 (OOB in ZEND_FUNCTION(ffi_trampoline)). (Dmitry) 1398 . Fixed bug #78543 (is_callable() on FFI\CData throws Exception). (cmb) 1399 . Fixed bug #78716 (Function name mangling is wrong for some parameter 1400 types). (cmb) 1401 . Fixed bug #78762 (Failing FFI::cast() may leak memory). (cmb) 1402 . Fixed bug #78761 (Zend memory heap corruption with preload and casting). 1403 (cmb) 1404 . Implement FR #78270 (Support __vectorcall convention with FFI). (cmb) 1405 . Added missing FFI::isNull(). (Philip Hofstetter) 1406 1407- FPM: 1408 . Implemented FR #72510 (systemd service should be hardened). (Craig Andrews) 1409 . Fixed bug #74083 (master PHP-fpm is stopped on multiple reloads). 1410 (Maksim Nikulin) 1411 . Fixed bug #78334 (fpm log prefix message includes wrong stdout/stderr 1412 notation). (Tsuyoshi Sadakata) 1413 . Fixed bug #78599 (env_path_info underflow in fpm_main.c can lead to RCE). 1414 (CVE-2019-11043) (Jakub Zelenka) 1415 1416- GD: 1417 . Implemented the scatter filter (IMG_FILTER_SCATTER). (Kalle) 1418 . The bundled libgd behaves now like system libgd wrt. IMG_CROP_DEFAULT never 1419 falling back to IMG_CROP_SIDES. 1420 . The default $mode parameter of imagecropauto() has been changed to 1421 IMG_CROP_DEFAULT; passing -1 is now deprecated. 1422 . Added support for aspect ratio preserving scaling to a fixed height for 1423 imagescale(). (Andreas Treichel) 1424 . Added TGA read support. (cmb) 1425 . Fixed bug #73291 (imagecropauto() $threshold differs from external libgd). 1426 (cmb) 1427 . Fixed bug #76324 (cannot detect recent versions of freetype with 1428 pkg-config). (Eli Schwartz) 1429 . Fixed bug #78314 (missing freetype support/functions with external gd). 1430 (Remi) 1431 1432- GMP: 1433 . Fixed bug #78574 (broken shared build). (Remi) 1434 1435- Hash: 1436 . The hash extension is now an integral part of PHP and cannot be disabled 1437 as per RFC: https://wiki.php.net/rfc/permanent_hash_ext. (Kalle) 1438 . Implemented FR #71890 (crc32c checksum algorithm). (Andrew Brampton) 1439 1440- Iconv: 1441 . Fixed bug #78342 (Bus error in configure test for iconv //IGNORE). (Rainer 1442 Jung) 1443 . Fixed bug #78642 (Wrong libiconv version displayed). (gedas at martynas, 1444 cmb). 1445 1446- Libxml: 1447 . Fixed bug #78279 (libxml_disable_entity_loader settings is shared between 1448 requests (cgi-fcgi)). (Nikita) 1449 1450- InterBase: 1451 . Unbundled the InterBase extension and moved it to PECL. (Kalle) 1452 1453- Intl: 1454 . Raised requirements to ICU ≥ 50.1. (cmb) 1455 . Changed ResourceBundle to implement Countable. (LeSuisse) 1456 . Changed default of $variant parameter of idn_to_ascii() and idn_to_utf8(). 1457 (cmb) 1458 1459- LDAP: 1460 . Deprecated ldap_control_paged_result_response and ldap_control_paged_result 1461 1462- LiteSpeed: 1463 . Updated to LiteSpeed SAPI V7.5 (Fixed clean shutdown). (George Wang) 1464 . Updated to LiteSpeed SAPI V7.4.3 (increased response header count limit from 1465 100 to 1000, added crash handler to cleanly shutdown PHP request, added 1466 CloudLinux mod_lsapi mode). (George Wang) 1467 . Fixed bug #76058 (After "POST data can't be buffered", using php://input 1468 makes huge tmp files). (George Wang) 1469 1470- MBString: 1471 . Fixed bug #77907 (mb-functions do not respect default_encoding). (Nikita) 1472 . Fixed bug #78579 (mb_decode_numericentity: args number inconsistency). 1473 (cmb) 1474 . Fixed bug #78609 (mb_check_encoding() no longer supports stringable 1475 objects). (cmb) 1476 1477- MySQLi: 1478 . Fixed bug #67348 (Reading $dbc->stat modifies $dbc->affected_rows). 1479 (Derick) 1480 . Fixed bug #76809 (SSL settings aren't respected when persistent connections 1481 are used). (fabiomsouto) 1482 . Fixed bug #78179 (MariaDB server version incorrectly detected). (cmb) 1483 . Fixed bug #78213 (Empty row pocket). (cmb) 1484 1485- MySQLnd: 1486 . Fixed connect_attr issues and added the _server_host connection attribute. 1487 (Qianqian Bu) 1488 . Fixed bug #60594 (mysqlnd exposes 160 lines of stats in phpinfo). (PeeHaa) 1489 1490- ODBC: 1491 . Fixed bug #78473 (odbc_close() closes arbitrary resources). (cmb) 1492 1493- Opcache: 1494 . Implemented preloading RFC: https://wiki.php.net/rfc/preload. (Dmitry) 1495 . Add opcache.preload_user INI directive. (Dmitry) 1496 . Added new INI directive opcache.cache_id (Windows only). (cmb) 1497 . Fixed bug #78106 (Path resolution fails if opcache disabled during request). 1498 (Nikita) 1499 . Fixed bug #78175 (Preloading segfaults at preload time and at runtime). 1500 (Dmitry) 1501 . Fixed bug #78202 (Opcache stats for cache hits are capped at 32bit NUM). 1502 (cmb) 1503 . Fixed bug #78271 (Invalid result of if-else). (Nikita) 1504 . Fixed bug #78341 (Failure to detect smart branch in DFA pass). (Nikita) 1505 . Fixed bug #78376 (Incorrect preloading of constant static properties). 1506 (Dmitry) 1507 . Fixed bug #78429 (opcache_compile_file(__FILE__); segfaults). (cmb) 1508 . Fixed bug #78512 (Cannot make preload work). (Dmitry) 1509 . Fixed bug #78514 (Preloading segfaults with inherited typed property). 1510 (Nikita) 1511 . Fixed bug #78654 (Incorrectly computed opcache checksum on files with 1512 non-ascii characters). (mhagstrand) 1513 1514- OpenSSL: 1515 . Added TLS 1.3 support to streams including new tlsv1.3 stream. 1516 (Codarren Velvindron, Jakub Zelenka) 1517 . Added openssl_x509_verify function. (Ben Scholzen) 1518 . openssl_random_pseudo_bytes() now throws in error conditions. 1519 (Sammy Kaye Powers) 1520 . Changed the default config path (Windows only). (cmb) 1521 . Fixed bug #78231 (Segmentation fault upon stream_socket_accept of exported 1522 socket-to-stream). (Nikita) 1523 . Fixed bug #78391 (Assertion failure in openssl_random_pseudo_bytes). 1524 (Nikita) 1525 . Fixed bug #78775 (TLS issues from HTTP request affecting other encrypted 1526 connections). (Nikita) 1527 1528- Pcntl: 1529 . Fixed bug #77335 (PHP is preventing SIGALRM from specifying SA_RESTART). 1530 (Nikita) 1531 1532- PCRE: 1533 . Implemented FR #77094 (Support flags in preg_replace_callback). (Nikita) 1534 . Fixed bug #72685 (Repeated UTF-8 validation of same string in UTF-8 mode). 1535 (Nikita) 1536 . Fixed bug #73948 (Preg_match_all should return NULLs on trailing optional 1537 capture groups). 1538 . Fixed bug #78338 (Array cross-border reading in PCRE). (cmb) 1539 . Fixed bug #78349 (Bundled pcre2 library missing LICENCE file). (Peter Kokot) 1540 1541- PDO: 1542 . Implemented FR #71885 (Allow escaping question mark placeholders). 1543 https://wiki.php.net/rfc/pdo_escape_placeholders (Matteo) 1544 . Fixed bug #77849 (Disable cloning of PDO handle/connection objects). 1545 (camporter) 1546 . Implemented FR #78033 (PDO - support username & password specified in 1547 DSN). (sjon) 1548 1549- PDO_Firebird: 1550 . Implemented FR #65690 (PDO_Firebird should also support dialect 1). 1551 (Simonov Denis) 1552 . Implemented FR #77863 (PDO firebird support type Boolean in input 1553 parameters). (Simonov Denis) 1554 1555- PDO_MySQL: 1556 . Fixed bug #41997 (SP call yields additional empty result set). (cmb) 1557 . Fixed bug #78623 (Regression caused by "SP call yields additional empty 1558 result set"). (cmb) 1559 1560- PDO_OCI: 1561 . Support Oracle Database tracing attributes ACTION, MODULE, 1562 CLIENT_INFO, and CLIENT_IDENTIFIER. (Cameron Porter) 1563 . Implemented FR #76908 (PDO_OCI getColumnMeta() not implemented). 1564 (Valentin Collet, Chris Jones, Remi) 1565 1566- PDO_SQLite: 1567 . Implemented sqlite_stmt_readonly in PDO_SQLite. (BohwaZ) 1568 . Raised requirements to SQLite 3.5.0. (cmb) 1569 . Fixed bug #78192 (SegFault when reuse statement after schema has changed). 1570 (Vincent Quatrevieux) 1571 . Fixed bug #78348 (Remove -lrt from pdo_sqlite.so). (Peter Kokot) 1572 1573- Phar: 1574 . Fixed bug #77919 (Potential UAF in Phar RSHUTDOWN). (cmb) 1575 1576- phpdbg: 1577 . Fixed bug #76596 (phpdbg support for display_errors=stderr). (kabel) 1578 . Fixed bug #76801 (too many open files). (alekitto) 1579 . Fixed bug #77800 (phpdbg segfaults on listing some conditional breakpoints). 1580 (krakjoe) 1581 . Fixed bug #77805 (phpdbg build fails when readline is shared). (krakjoe) 1582 1583- Recode: 1584 . Unbundled the recode extension. (cmb) 1585 1586- Reflection: 1587 . Fixed bug #76737 (Unserialized reflection objects are broken, they 1588 shouldn't be serializable). (Nikita) 1589 . Fixed bug #78263 (\ReflectionReference::fromArrayElement() returns null 1590 while item is a reference). (Nikita) 1591 . Fixed bug #78410 (Cannot "manually" unserialize class that is final and 1592 extends an internal one). (Nikita) 1593 . Fixed bug #78697 (ReflectionClass::implementsInterface - inaccurate error 1594 message with traits). (villfa) 1595 . Fixed bug #78774 (ReflectionNamedType on Typed Properties Crash). (Nikita) 1596 1597- Session: 1598 . Fixed bug #78624 (session_gc return value for user defined session 1599 handlers). (bshaffer) 1600 1601- SimpleXML: 1602 . Implemented FR #65215 (SimpleXMLElement could register as implementing 1603 Countable). (LeSuisse) 1604 . Fixed bug #75245 (Don't set content of elements with only whitespaces). 1605 (eriklundin) 1606 1607- Sockets: 1608 . Fixed bug #67619 (Validate length on socket_write). (thiagooak) 1609 . Fixed bug #78665 (Multicasting may leak memory). (cmb) 1610 1611- sodium: 1612 . Fixed bug #77646 (sign_detached() strings not terminated). (Frank) 1613 . Fixed bug #78510 (Partially uninitialized buffer returned by 1614 sodium_crypto_generichash_init()). (Frank Denis, cmb) 1615 . Fixed bug #78516 (password_hash(): Memory cost is not in allowed range). 1616 (cmb, Nikita) 1617 1618- SPL: 1619 . Fixed bug #77518 (SeekableIterator::seek() should accept 'int' typehint as 1620 documented). (Nikita) 1621 . Fixed bug #78409 (Segfault when creating instance of ArrayIterator without 1622 constructor). (Nikita) 1623 . Fixed bug #78436 (Missing addref in SplPriorityQueue EXTR_BOTH mode). 1624 (Nikita) 1625 . Fixed bug #78456 (Segfault when serializing SplDoublyLinkedList). (Nikita) 1626 1627- SQLite3: 1628 . Unbundled libsqlite. (cmb) 1629 . Raised requirements to SQLite 3.7.4. (cmb) 1630 . Forbid (un)serialization of SQLite3, SQLite3Stmt and SQLite3Result. (cmb) 1631 . Added support for the SQLite @name notation. (cmb, BohwaZ) 1632 . Added SQLite3Stmt::getSQL() to retrieve the SQL of the statement. (Bohwaz) 1633 . Implement FR ##70950 (Make SQLite3 Online Backup API available). (BohwaZ) 1634 1635- Standard: 1636 . Implemented password hashing registry RFC: 1637 https://wiki.php.net/rfc/password_registry. (Sara) 1638 . Implemented RFC where password_hash() has argon2i(d) implementations from 1639 ext/sodium when PHP is built without libargon: 1640 https://wiki.php.net/rfc/sodium.argon.hash (Sara) 1641 . Implemented FR #38301 (field enclosure behavior in fputcsv). (cmb) 1642 . Implemented FR #51496 (fgetcsv should take empty string as an escape). (cmb) 1643 . Fixed bug #73535 (php_sockop_write() returns 0 on error, can be used to 1644 trigger Denial of Service). (Nikita) 1645 . Fixed bug #74764 (Bindto IPv6 works with file_get_contents but fails with 1646 stream_socket_client). (Ville Hukkamäki) 1647 . Fixed bug #76859 (stream_get_line skips data if used with data-generating 1648 filter). (kkopachev) 1649 . Implemented FR #77377 (No way to handle CTRL+C in Windows). (Anatol) 1650 . Fixed bug #77930 (stream_copy_to_stream should use mmap more often). 1651 (Nikita) 1652 . Implemented FR #78177 (Make proc_open accept command array). (Nikita) 1653 . Fixed bug #78208 (password_needs_rehash() with an unknown algo should always 1654 return true). (Sara) 1655 . Fixed bug #78241 (touch() does not handle dates after 2038 in PHP 64-bit). (cmb) 1656 . Fixed bug #78282 (atime and mtime mismatch). (cmb) 1657 . Fixed bug #78326 (improper memory deallocation on stream_get_contents() 1658 with fixed length buffer). (Albert Casademont) 1659 . Fixed bug #78346 (strip_tags no longer handling nested php tags). (cmb) 1660 . Fixed bug #78506 (Error in a php_user_filter::filter() is not reported). 1661 (Nikita) 1662 . Fixed bug #78549 (Stack overflow due to nested serialized input). (Nikita) 1663 . Fixed bug #78759 (array_search in $GLOBALS). (Nikita) 1664 1665- Testing: 1666 . Fixed bug #78684 (PCRE bug72463_2 test is sending emails on Linux). (cmb) 1667 1668- Tidy: 1669 . Added TIDY_TAG_* constants for HTML5 elements. (cmb) 1670 . Fixed bug #76736 (wrong reflection for tidy_get_head, tidy_get_html, 1671 tidy_get_root, and tidy_getopt) (tandre) 1672 1673- WDDX: 1674 . Deprecated and unbundled the WDDX extension. (cmb) 1675 1676- Zip: 1677 . Fixed bug #78641 (addGlob can modify given remove_path value). (cmb) 1678 167921 Nov 2019, PHP 7.3.12 1680 1681- Core: 1682 . Fixed bug #78658 (Memory corruption using Closure::bindTo). (Nikita) 1683 . Fixed bug #78656 (Parse errors classified as highest log-level). (Erik 1684 Lundin) 1685 . Fixed bug #78752 (Segfault if GC triggered while generator stack frame is 1686 being destroyed). (Nikita) 1687 . Fixed bug #78689 (Closure::fromCallable() doesn't handle 1688 [Closure, '__invoke']). (Nikita) 1689 1690- COM: 1691 . Fixed bug #78694 (Appending to a variant array causes segfault). (cmb) 1692 1693- Date: 1694 . Fixed bug #70153 (\DateInterval incorrectly unserialized). (Maksim Iakunin) 1695 . Fixed bug #78751 (Serialising DatePeriod converts DateTimeImmutable). (cmb) 1696 1697- Iconv: 1698 . Fixed bug #78642 (Wrong libiconv version displayed). (gedas at martynas, 1699 cmb). 1700 1701- OpCache: 1702 . Fixed bug #78654 (Incorrectly computed opcache checksum on files with 1703 non-ascii characters). (mhagstrand) 1704 . Fixed bug #78747 (OpCache corrupts custom extension result). (Nikita) 1705 1706- OpenSSL: 1707 . Fixed bug #78775 (TLS issues from HTTP request affecting other encrypted 1708 connections). (Nikita) 1709 1710- Reflection: 1711 . Fixed bug #78697 (ReflectionClass::ImplementsInterface - inaccurate error 1712 message with traits). (villfa) 1713 1714- Sockets: 1715 . Fixed bug #78665 (Multicasting may leak memory). (cmb) 1716 171724 Oct 2019, PHP 7.3.11 1718 1719- Core: 1720 . Fixed bug #78535 (auto_detect_line_endings value not parsed as bool). 1721 (bugreportuser) 1722 . Fixed bug #78620 (Out of memory error). (cmb, Nikita) 1723 1724- Exif : 1725 . Fixed bug #78442 ('Illegal component' on exif_read_data since PHP7) 1726 (Kalle) 1727 1728- FPM: 1729 . Fixed bug #78599 (env_path_info underflow in fpm_main.c can lead to RCE). 1730 (CVE-2019-11043) (Jakub Zelenka) 1731 . Fixed bug #78413 (request_terminate_timeout does not take effect after 1732 fastcgi_finish_request). (Sergei Turchanov) 1733 1734- MBString: 1735 . Fixed bug #78633 (Heap buffer overflow (read) in mb_eregi). (cmb) 1736 . Fixed bug #78579 (mb_decode_numericentity: args number inconsistency). 1737 (cmb) 1738 . Fixed bug #78609 (mb_check_encoding() no longer supports stringable 1739 objects). (cmb) 1740 1741- MySQLi: 1742 . Fixed bug #76809 (SSL settings aren't respected when persistent connections 1743 are used). (fabiomsouto) 1744 1745- Mysqlnd: 1746 . Fixed bug #78525 (Memory leak in pdo when reusing native prepared 1747 statements). (Nikita) 1748 1749- PCRE: 1750 . Fixed bug #78272 (calling preg_match() before pcntl_fork() will freeze 1751 child process). (Nikita) 1752 1753- PDO_MySQL: 1754 . Fixed bug #78623 (Regression caused by "SP call yields additional empty 1755 result set"). (cmb) 1756 1757- Session: 1758 . Fixed bug #78624 (session_gc return value for user defined session 1759 handlers). (bshaffer) 1760 1761- Standard: 1762 . Fixed bug #76342 (file_get_contents waits twice specified timeout). 1763 (Thomas Calvet) 1764 . Fixed bug #78612 (strtr leaks memory when integer keys are used and the 1765 subject string shorter). (Nikita) 1766 . Fixed bug #76859 (stream_get_line skips data if used with data-generating 1767 filter). (kkopachev) 1768 1769- Zip: 1770 . Fixed bug #78641 (addGlob can modify given remove_path value). (cmb) 1771 177226 Sep 2019, PHP 7.3.10 1773 1774- Core: 1775 . Fixed bug #78220 (Can't access OneDrive folder). (cmb, ab) 1776 . Fixed bug #77922 (Double release of doc comment on inherited shadow 1777 property). (Nikita) 1778 . Fixed bug #78441 (Parse error due to heredoc identifier followed by digit). 1779 (cmb) 1780 . Fixed bug #77812 (Interactive mode does not support PHP 7.3-style heredoc). 1781 (cmb, Nikita) 1782 1783- FastCGI: 1784 . Fixed bug #78469 (FastCGI on_accept hook is not called when using named 1785 pipes on Windows). (Sergei Turchanov) 1786 1787- FPM: 1788 . Fixed bug #78334 (fpm log prefix message includes wrong stdout/stderr 1789 notation). (Tsuyoshi Sadakata) 1790 1791- Intl: 1792 . Ensure IDNA2003 rules are used with idn_to_ascii() and idn_to_utf8() 1793 when requested. (Sara) 1794 1795- MBString: 1796 . Fixed bug #78559 (Heap buffer overflow in mb_eregi). (cmb) 1797 1798- MySQLnd: 1799 . Fixed connect_attr issues and added the _server_host connection attribute. 1800 (Qianqian Bu) 1801 1802- ODBC: 1803 . Fixed bug #78473 (odbc_close() closes arbitrary resources). (cmb) 1804 1805- PDO_MySQL: 1806 . Fixed bug #41997 (SP call yields additional empty result set). (cmb) 1807 1808- sodium: 1809 . Fixed bug #78510 (Partially uninitialized buffer returned by 1810 sodium_crypto_generichash_init()). (Frank Denis, cmb) 1811 181229 Aug 2019, PHP 7.3.9 1813 1814- Core: 1815 . Fixed bug #78363 (Buffer overflow in zendparse). (Nikita) 1816 . Fixed bug #78379 (Cast to object confuses GC, causes crash). (Dmitry) 1817 . Fixed bug #78412 (Generator incorrectly reports non-releasable $this as GC 1818 child). (Nikita) 1819 1820- Curl: 1821 . Fixed bug #77946 (Bad cURL resources returned by curl_multi_info_read()). 1822 (Abyr Valg) 1823 1824- Exif: 1825 . Fixed bug #78333 (Exif crash (bus error) due to wrong alignment and 1826 invalid cast). (Nikita) 1827 1828- FPM: 1829 . Fixed bug #77185 (Use-after-free in FPM master event handling). 1830 (Maksim Nikulin) 1831 1832- Iconv: 1833 . Fixed bug #78342 (Bus error in configure test for iconv //IGNORE). (Rainer 1834 Jung) 1835 1836- LiteSpeed: 1837 . Updated to LiteSpeed SAPI V7.5 (Fixed clean shutdown). (George Wang) 1838 1839- MBString: 1840 . Fixed bug #78380 (Oniguruma 6.9.3 fixes CVEs). (CVE-2019-13224) (Stas) 1841 1842- MySQLnd: 1843 . Fixed bug #78179 (MariaDB server version incorrectly detected). (cmb) 1844 . Fixed bug #78213 (Empty row pocket). (cmb) 1845 1846- Opcache: 1847 . Fixed bug #77191 (Assertion failure in dce_live_ranges() when silencing is 1848 used). (Nikita) 1849 1850- Standard: 1851 . Fixed bug #69100 (Bus error from stream_copy_to_stream (file -> SSL stream) 1852 with invalid length). (Nikita) 1853 . Fixed bug #78282 (atime and mtime mismatch). (cmb) 1854 . Fixed bug #78326 (improper memory deallocation on stream_get_contents() 1855 with fixed length buffer). (Albert Casademont) 1856 . Fixed bug #78346 (strip_tags no longer handling nested php tags). (cmb) 1857 185801 Aug 2019, PHP 7.3.8 1859 1860- Core: 1861 . Added syslog.filter=raw option. (Erik Lundin) 1862 . Fixed bug #78212 (Segfault in built-in webserver). (cmb) 1863 1864- Date: 1865 . Fixed bug #69044 (discrepency between time and microtime). (krakjoe) 1866 . Updated timelib to 2018.02. (Derick) 1867 1868- EXIF: 1869 . Fixed bug #78256 (heap-buffer-overflow on exif_process_user_comment). 1870 (CVE-2019-11042) (Stas) 1871 . Fixed bug #78222 (heap-buffer-overflow on exif_scan_thumbnail). 1872 (CVE-2019-11041) (Stas) 1873 1874- FTP: 1875 . Fixed bug #78039 (FTP with SSL memory leak). (Nikita) 1876 1877- Libxml: 1878 . Fixed bug #78279 (libxml_disable_entity_loader settings is shared between 1879 requests (cgi-fcgi)). (Nikita) 1880 1881- LiteSpeed: 1882 . Updated to LiteSpeed SAPI V7.4.3 (increased response header count limit from 1883 100 to 1000, added crash handler to cleanly shutdown PHP request, added 1884 CloudLinux mod_lsapi mode). (George Wang) 1885 . Fixed bug #76058 (After "POST data can't be buffered", using php://input 1886 makes huge tmp files). (George Wang) 1887 1888- Openssl: 1889 . Fixed bug #78231 (Segmentation fault upon stream_socket_accept of exported 1890 socket-to-stream). (Nikita) 1891 1892- Opcache: 1893 . Fixed bug #78189 (file cache strips last character of uname hash). (cmb) 1894 . Fixed bug #78202 (Opcache stats for cache hits are capped at 32bit NUM). 1895 (cmb) 1896 . Fixed bug #78271 (Invalid result of if-else). (Nikita) 1897 . Fixed bug #78291 (opcache_get_configuration doesn't list all directives). 1898 (Andrew Collington) 1899 . Fixed bug #78341 (Failure to detect smart branch in DFA pass). (Nikita) 1900 1901- PCRE: 1902 . Fixed bug #78197 (PCRE2 version check in configure fails for "##.##-xxx" 1903 version strings). (pgnet, Peter Kokot) 1904 . Fixed bug #78338 (Array cross-border reading in PCRE). (cmb) 1905 1906- PDO_Sqlite: 1907 . Fixed bug #78192 (SegFault when reuse statement after schema has changed). 1908 (Vincent Quatrevieux) 1909 1910- Phar: 1911 . Fixed bug #77919 (Potential UAF in Phar RSHUTDOWN). (cmb) 1912 1913- Phpdbg: 1914 . Fixed bug #78297 (Include unexistent file memory leak). (Nikita) 1915 1916- SQLite: 1917 . Upgraded to SQLite 3.28.0. (cmb) 1918 1919- Standard: 1920 . Fixed bug #78241 (touch() does not handle dates after 2038 in PHP 64-bit). (cmb) 1921 . Fixed bug #78269 (password_hash uses weak options for argon2). (Remi) 1922 192304 Jul 2019, PHP 7.3.7 1924 1925- Core: 1926 . Fixed bug #76980 (Interface gets skipped if autoloader throws an exception). 1927 (Nikita) 1928 1929- DOM: 1930 . Fixed bug #78025 (segfault when accessing properties of DOMDocumentType). 1931 (cmb) 1932 1933- MySQLi: 1934 . Fixed bug #77956 (When mysqli.allow_local_infile = Off, use a meaningful 1935 error message). (Sjon Hortensius) 1936 . Fixed bug #38546 (bindParam incorrect processing of bool types). 1937 (camporter) 1938 1939- MySQLnd: 1940 . Fixed bug #77955 (Random segmentation fault in mysqlnd from php-fpm). 1941 (Nikita) 1942 1943- Opcache: 1944 . Fixed bug #78015 (Incorrect evaluation of expressions involving partials 1945 arrays in SCCP). (Nikita) 1946 . Fixed bug #78106 (Path resolution fails if opcache disabled during request). 1947 (Nikita) 1948 1949- OpenSSL: 1950 . Fixed bug #78079 (openssl_encrypt_ccm.phpt fails with OpenSSL 1.1.1c). 1951 (Jakub Zelenka) 1952 1953- phpdbg: 1954 . Fixed bug #78050 (SegFault phpdbg + opcache on include file twice). 1955 (Nikita) 1956 1957- Sockets: 1958 . Fixed bug #78038 (Socket_select fails when resource array contains 1959 references). (Nikita) 1960 1961- Sodium: 1962 . Fixed bug #78114 (segfault when calling sodium_* functions from eval). (cmb) 1963 1964- Standard: 1965 . Fixed bug #77135 (Extract with EXTR_SKIP should skip $this). 1966 (Craig Duncan, Dmitry) 1967 . Fixed bug #77937 (preg_match failed). (cmb, Anatol) 1968 1969- Zip: 1970 . Fixed bug #76345 (zip.h not found). (Michael Maroszek) 1971 197230 May 2019, PHP 7.3.6 1973 1974- cURL: 1975 . Implemented FR #72189 (Add missing CURL_VERSION_* constants). (Javier 1976 Spagnoletti) 1977 1978- Date: 1979 . Fixed bug #77909 (DatePeriod::__construct() with invalid recurrence count 1980 value). (Ignace Nyamagana Butera) 1981 1982- EXIF: 1983 . Fixed bug #77988 (heap-buffer-overflow on php_jpg_get16). 1984 (CVE-2019-11040) (Stas) 1985 1986- FPM: 1987 . Fixed bug #77934 (php-fpm kill -USR2 not working). (Jakub Zelenka) 1988 . Fixed bug #77921 (static.php.net doesn't work anymore). (Peter Kokot) 1989 1990- GD: 1991 . Fixed bug #77943 (imageantialias($image, false); does not work). (cmb) 1992 . Fixed bug #77973 (Uninitialized read in gdImageCreateFromXbm). 1993 (CVE-2019-11038) (cmb) 1994 1995- Iconv: 1996 . Fixed bug #78069 (Out-of-bounds read in iconv.c:_php_iconv_mime_decode() 1997 due to integer overflow). (CVE-2019-11039). (maris dot adam) 1998 1999- JSON: 2000 . Fixed bug #77843 (Use after free with json serializer). (Nikita) 2001 2002- Opcache: 2003 . Fixed possible crashes, because of inconsistent PCRE cache and opcache 2004 SHM reset. (Alexey Kalinin, Dmitry) 2005 2006- PDO_MySQL: 2007 . Fixed bug #77944 (Wrong meta pdo_type for bigint on LLP64). (cmb) 2008 2009- Reflection: 2010 . Fixed bug #75186 (Inconsistent reflection of Closure:::__invoke()). (Nikita) 2011 2012- Session: 2013 . Fixed bug #77911 (Wrong warning for session.sid_bits_per_character). (cmb) 2014 2015- SOAP: 2016 . Fixed bug #77945 (Segmentation fault when constructing SoapClient with 2017 WSDL_CACHE_BOTH). (Nikita) 2018 2019- SPL: 2020 . Fixed bug #77024 (SplFileObject::__toString() may return array). (Craig 2021 Duncan) 2022 2023- SQLite: 2024 . Fixed bug #77967 (Bypassing open_basedir restrictions via file uris). (Stas) 2025 2026- Standard: 2027 . Fixed bug #77931 (Warning for array_map mentions wrong type). (Nikita) 2028 . Fixed bug #78003 (strip_tags output change since PHP 7.3). (cmb) 2029 203002 May 2019, PHP 7.3.5 2031 2032- Core: 2033 . Fixed bug #77903 (ArrayIterator stops iterating after offsetSet call). 2034 (Nikita) 2035 2036- CLI: 2037 . Fixed bug #77794 (Incorrect Date header format in built-in server). 2038 (kelunik) 2039 2040- EXIF 2041 . Fixed bug #77950 (Heap-buffer-overflow in _estrndup via exif_process_IFD_TAG). 2042 (CVE-2019-11036) (Stas) 2043 2044- Interbase: 2045 . Fixed bug #72175 (Impossibility of creating multiple connections to 2046 Interbase with php 7.x). (Nikita) 2047 2048- Intl: 2049 . Fixed bug #77895 (IntlDateFormatter::create fails in strict mode if $locale 2050 = null). (Nikita) 2051 2052- LDAP: 2053 . Fixed bug #77869 (Core dump when using server controls) (mcmic) 2054 2055- Mail 2056 . Fixed bug #77821 (Potential heap corruption in TSendMail()). (cmb) 2057 2058- mbstring: 2059 . Implemented FR #72777 (Implement regex stack limits for mbregex functions). 2060 (Yasuo Ohgaki, Stas) 2061 2062- MySQLi: 2063 . Fixed bug #77773 (Unbuffered queries leak memory - MySQLi / mysqlnd). 2064 (Nikita) 2065 2066- PCRE: 2067 . Fixed bug #77827 (preg_match does not ignore \r in regex flags). (requinix, 2068 cmb) 2069 2070- PDO: 2071 . Fixed bug #77849 (Disable cloning of PDO handle/connection objects). 2072 (camporter) 2073 2074- phpdbg: 2075 . Fixed bug #76801 (too many open files). (alekitto) 2076 . Fixed bug #77800 (phpdbg segfaults on listing some conditional breakpoints). 2077 (krakjoe) 2078 . Fixed bug #77805 (phpdbg build fails when readline is shared). (krakjoe) 2079 2080- Reflection: 2081 . Fixed bug #77772 (ReflectionClass::getMethods(null) doesn't work). (Nikita) 2082 . Fixed bug #77882 (Different behavior: always calls destructor). (Nikita) 2083 2084- Standard: 2085 . Fixed bug #77793 (Segmentation fault in extract() when overwriting 2086 reference with itself). (Nikita) 2087 . Fixed bug #77844 (Crash due to null pointer in parse_ini_string with 2088 INI_SCANNER_TYPED). (Nikita) 2089 . Fixed bug #77853 (Inconsistent substr_compare behaviour with empty 2090 haystack). (Nikita) 2091 209204 Apr 2019, PHP 7.3.4 2093 2094- Core: 2095 . Fixed bug #77738 (Nullptr deref in zend_compile_expr). (Laruence) 2096 . Fixed bug #77660 (Segmentation fault on break 2147483648). (Laruence) 2097 . Fixed bug #77652 (Anonymous classes can lose their interface information). 2098 (Nikita) 2099 . Fixed bug #77345 (Stack Overflow caused by circular reference in garbage 2100 collection). (Alexandru Patranescu, Nikita, Dmitry) 2101 . Fixed bug #76956 (Wrong value for 'syslog.filter' documented in php.ini). 2102 (cmb) 2103 2104- Apache2Handler: 2105 . Fixed bug #77648 (BOM in sapi/apache2handler/php_functions.c). (cmb) 2106 2107- Bcmath: 2108 . Fixed bug #77742 (bcpow() implementation related to gcc compiler 2109 optimization). (Nikita) 2110 2111- CLI Server: 2112 . Fixed bug #77722 (Incorrect IP set to $_SERVER['REMOTE_ADDR'] on the 2113 localhost). (Nikita) 2114 2115- COM: 2116 . Fixed bug #77578 (Crash when php unload). (cmb) 2117 2118- EXIF: 2119 . Fixed bug #77753 (Heap-buffer-overflow in php_ifd_get32s). (CVE-2019-11034) 2120 (Stas) 2121 . Fixed bug #77831 (Heap-buffer-overflow in exif_iif_add_value). 2122 (CVE-2019-11035) (Stas) 2123 2124- FPM: 2125 . Fixed bug #77677 (FPM fails to build on AIX due to missing WCOREDUMP). 2126 (Kevin Adler) 2127 2128- GD: 2129 . Fixed bug #77700 (Writing truecolor images as GIF ignores interlace flag). 2130 (cmb) 2131 2132- MySQLi: 2133 . Fixed bug #77597 (mysqli_fetch_field hangs scripts). (Nikita) 2134 2135- Opcache: 2136 . Fixed bug #77743 (Incorrect pi node insertion for jmpznz with identical 2137 successors). (Nikita) 2138 2139- PCRE: 2140 . Fixed bug #76127 (preg_split does not raise an error on invalid UTF-8). 2141 (Nikita) 2142 2143- Phar: 2144 . Fixed bug #77697 (Crash on Big_Endian platform). (Laruence) 2145 2146- phpdbg: 2147 . Fixed bug #77767 (phpdbg break cmd aliases listed in help do not match 2148 actual aliases). (Miriam Lauter) 2149 2150- sodium: 2151 . Fixed bug #77646 (sign_detached() strings not terminated). (Frank) 2152 2153- SQLite3: 2154 . Added sqlite3.defensive INI directive. (BohwaZ) 2155 2156- Standard: 2157 . Fixed bug #77664 (Segmentation fault when using undefined constant in 2158 custom wrapper). (Laruence) 2159 . Fixed bug #77669 (Crash in extract() when overwriting extracted array). 2160 (Nikita) 2161 . Fixed bug #76717 (var_export() does not create a parsable value for 2162 PHP_INT_MIN). (Nikita) 2163 . Fixed bug #77765 (FTP stream wrapper should set the directory as 2164 executable). (Vlad Temian) 2165 216607 Mar 2019, PHP 7.3.3 2167 2168- Core: 2169 . Fixed bug #77589 (Core dump using parse_ini_string with numeric sections). 2170 (Laruence) 2171 . Fixed bug #77329 (Buffer Overflow via overly long Error Messages). 2172 (Dmitry) 2173 . Fixed bug #77494 (Disabling class causes segfault on member access). 2174 (Dmitry) 2175 . Fixed bug #77498 (Custom extension Segmentation fault when declare static 2176 property). (Nikita) 2177 . Fixed bug #77530 (PHP crashes when parsing `(2)::class`). (Ekin) 2178 . Fixed bug #77546 (iptcembed broken function). (gdegoulet) 2179 . Fixed bug #77630 (rename() across the device may allow unwanted access 2180 during processing). (Stas) 2181 2182- COM: 2183 . Fixed bug #77621 (Already defined constants are not properly reported). 2184 (cmb) 2185 . Fixed bug #77626 (Persistence confusion in php_com_import_typelib()). (cmb) 2186 2187- EXIF: 2188 . Fixed bug #77509 (Uninitialized read in exif_process_IFD_in_TIFF). (Stas) 2189 . Fixed bug #77540 (Invalid Read on exif_process_SOFn). (Stas) 2190 . Fixed bug #77563 (Uninitialized read in exif_process_IFD_in_MAKERNOTE). (Stas) 2191 . Fixed bug #77659 (Uninitialized read in exif_process_IFD_in_MAKERNOTE). (Stas) 2192 2193- Mbstring: 2194 . Fixed bug #77514 (mb_ereg_replace() with trailing backslash adds null byte). 2195 (Nikita) 2196 2197- MySQL 2198 . Disabled LOCAL INFILE by default, can be enabled using php.ini directive 2199 mysqli.allow_local_infile for mysqli, or PDO::MYSQL_ATTR_LOCAL_INFILE 2200 attribute for pdo_mysql. (Darek Slusarczyk) 2201 2202- OpenSSL: 2203 . Fixed bug #77390 (feof might hang on TLS streams in case of fragmented TLS 2204 records). (Abyl Valg, Jakub Zelenka) 2205 2206- PDO_OCI: 2207 . Support Oracle Database tracing attributes ACTION, MODULE, 2208 CLIENT_INFO, and CLIENT_IDENTIFIER. (Cameron Porter) 2209 2210- PHAR: 2211 . Fixed bug #77396 (Null Pointer Dereference in phar_create_or_parse_filename). 2212 (bishop) 2213 . Fixed bug #77586 (phar_tar_writeheaders_int() buffer overflow). (bishop) 2214 2215- phpdbg: 2216 . Fixed bug #76596 (phpdbg support for display_errors=stderr). (kabel) 2217 2218- SPL: 2219 . Fixed bug #51068 (DirectoryIterator glob:// don't support current path 2220 relative queries). (Ahmed Abdou) 2221 . Fixed bug #77431 (openFile() silently truncates after a null byte). (cmb) 2222 2223- Standard: 2224 . Fixed bug #77552 (Unintialized php_stream_statbuf in stat functions). 2225 (John Stevenson) 2226 . Fixed bug #77612 (setcookie() sets incorrect SameSite header if all of its 2227 options filled). (Nikita) 2228 222907 Feb 2019, PHP 7.3.2 2230 2231- Core: 2232 . Fixed bug #77369 (memcpy with negative length via crafted DNS response). (Stas) 2233 . Fixed bug #77387 (Recursion detection broken when printing GLOBALS). 2234 (Laruence) 2235 . Fixed bug #77376 ("undefined function" message no longer includes 2236 namespace). (Laruence) 2237 . Fixed bug #77357 (base64_encode / base64_decode doest not work on nested 2238 VM). (Nikita) 2239 . Fixed bug #77339 (__callStatic may get incorrect arguments). (Dmitry) 2240 . Fixed bug #77317 (__DIR__, __FILE__, realpath() reveal physical path for 2241 subst virtual drive). (Anatol) 2242 . Fixed bug #77263 (Segfault when using 2 RecursiveFilterIterator). (Dmitry) 2243 . Fixed bug #77447 (PHP 7.3 built with ASAN crashes in 2244 zend_cpu_supports_avx2). (Nikita) 2245 . Fixed bug #77484 (Zend engine crashes when calling realpath in invalid 2246 working dir). (Anatol) 2247 2248- Curl: 2249 . Fixed bug #76675 (Segfault with H2 server push). (Pedro Magalhães) 2250 2251- Fileinfo: 2252 . Fixed bug #77346 (webm files incorrectly detected as 2253 application/octet-stream). (Anatol) 2254 2255- FPM: 2256 . Fixed bug #77430 (php-fpm crashes with Main process exited, code=dumped, 2257 status=11/SEGV). (Jakub Zelenka) 2258 2259- GD: 2260 . Fixed bug #73281 (imagescale(…, IMG_BILINEAR_FIXED) can cause black border). 2261 (cmb) 2262 . Fixed bug #73614 (gdImageFilledArc() doesn't properly draw pies). (cmb) 2263 . Fixed bug #77272 (imagescale() may return image resource on failure). (cmb) 2264 . Fixed bug #77391 (1bpp BMPs may fail to be loaded). (Romain Déoux, cmb) 2265 . Fixed bug #77479 (imagewbmp() segfaults with very large images). (cmb) 2266 2267- ldap: 2268 . Fixed bug #77440 (ldap_bind using ldaps or ldap_start_tls()=exception in 2269 libcrypto-1_1-x64.dll). (Anatol) 2270 2271- Mbstring: 2272 . Fixed bug #77428 (mb_ereg_replace() doesn't replace a substitution 2273 variable). (Nikita) 2274 . Fixed bug #77454 (mb_scrub() silently truncates after a null byte). 2275 (64796c6e69 at gmail dot com) 2276 2277- MySQLnd: 2278 . Fixed bug #77308 (Unbuffered queries memory leak). (Dmitry) 2279 . Fixed bug #75684 (In mysqlnd_ext_plugin.h the plugin methods family has 2280 no external visibility). (Anatol) 2281 2282- Opcache: 2283 . Fixed bug #77266 (Assertion failed in dce_live_ranges). (Laruence) 2284 . Fixed bug #77257 (value of variable assigned in a switch() construct gets 2285 lost). (Nikita) 2286 . Fixed bug #77434 (php-fpm workers are segfaulting in zend_gc_addre). 2287 (Nikita) 2288 . Fixed bug #77361 (configure fails on 64-bit AIX when opcache enabled). 2289 (Kevin Adler) 2290 . Fixed bug #77287 (Opcache literal compaction is incompatible with EXT 2291 opcodes). (Nikita) 2292 2293- PCRE: 2294 . Fixed bug #77338 (get_browser with empty string). (Nikita) 2295 2296- PDO: 2297 . Fixed bug #77273 (array_walk_recursive corrupts value types leading to PDO 2298 failure). (Nikita) 2299 2300- PDO MySQL: 2301 . Fixed bug #77289 (PDO MySQL segfaults with persistent connection). 2302 (Lauri Kenttä) 2303 2304- SOAP: 2305 . Fixed bug #77410 (Segmentation Fault when executing method with an empty 2306 parameter). (Nikita) 2307 2308- Sockets: 2309 . Fixed bug #76839 (socket_recvfrom may return an invalid 'from' address 2310 on MacOS). (Michael Meyer) 2311 2312- SPL: 2313 . Fixed bug #77298 (segfault occurs when add property to unserialized empty 2314 ArrayObject). (jhdxr) 2315 2316- Standard: 2317 . Fixed bug #77395 (segfault about array_multisort). (Laruence) 2318 . Fixed bug #77439 (parse_str segfaults when inserting item into existing 2319 array). (Nikita) 2320 232110 Jan 2019, PHP 7.3.1 2322 2323- Core: 2324 . Fixed bug #76654 (Build failure on Mac OS X on 32-bit Intel). (Ryandesign) 2325 . Fixed bug #71041 (zend_signal_startup() needs ZEND_API). 2326 (Valentin V. Bartenev) 2327 . Fixed bug #76046 (PHP generates "FE_FREE" opcode on the wrong line). 2328 (Nikita) 2329 . Fixed bug #77291 (magic methods inherited from a trait may be ignored). 2330 (cmb) 2331 2332- CURL: 2333 . Fixed bug #77264 (curl_getinfo returning microseconds, not seconds). 2334 (Pierrick) 2335 2336- COM: 2337 . Fixed bug #77177 (Serializing or unserializing COM objects crashes). (cmb) 2338 2339- Exif: 2340 . Fixed bug #77184 (Unsigned rational numbers are written out as signed 2341 rationals). (Colin Basnett) 2342 2343- GD: 2344 . Fixed bug #77195 (Incorrect error handling of imagecreatefromjpeg()). (cmb) 2345 . Fixed bug #77198 (auto cropping has insufficient precision). (cmb) 2346 . Fixed bug #77200 (imagecropauto(…, GD_CROP_SIDES) crops left but not right). 2347 (cmb) 2348 . Fixed bug #77269 (efree() on uninitialized Heap data in imagescale leads to 2349 use-after-free). (cmb) 2350 . Fixed bug #77270 (imagecolormatch Out Of Bounds Write on Heap). (cmb) 2351 2352- MBString: 2353 . Fixed bug #77367 (Negative size parameter in mb_split). (Stas) 2354 . Fixed bug #77370 (Buffer overflow on mb regex functions - fetch_token). 2355 (Stas) 2356 . Fixed bug #77371 (heap buffer overflow in mb regex functions 2357 - compile_string_node). (Stas) 2358 . Fixed bug #77381 (heap buffer overflow in multibyte match_at). (Stas) 2359 . Fixed bug #77382 (heap buffer overflow due to incorrect length in 2360 expand_case_fold_string). (Stas) 2361 . Fixed bug #77385 (buffer overflow in fetch_token). (Stas) 2362 . Fixed bug #77394 (Buffer overflow in multibyte case folding - unicode). 2363 (Stas) 2364 . Fixed bug #77418 (Heap overflow in utf32be_mbc_to_code). (Stas) 2365 2366- OCI8: 2367 . Fixed bug #76804 (oci_pconnect with OCI_CRED_EXT not working). (KoenigsKind) 2368 . Added oci_set_call_timeout() for call timeouts. 2369 . Added oci_set_db_operation() for the DBOP end-to-end-tracing attribute. 2370 2371- Opcache: 2372 . Fixed bug #77215 (CFG assertion failure on multiple finalizing switch 2373 frees in one block). (Nikita) 2374 . Fixed bug #77275 (OPcache optimization problem for ArrayAccess->offsetGet). 2375 (Nikita) 2376 2377- PCRE: 2378 . Fixed bug #77193 (Infinite loop in preg_replace_callback). (Anatol) 2379 2380- PDO: 2381 . Handle invalid index passed to PDOStatement::fetchColumn() as error. (Sergei 2382 Morozov) 2383 2384- Phar: 2385 . Fixed bug #77247 (heap buffer overflow in phar_detect_phar_fname_ext). (Stas) 2386 2387- Soap: 2388 . Fixed bug #77088 (Segfault when using SoapClient with null options). 2389 (Laruence) 2390 2391- Sockets: 2392 . Fixed bug #77136 (Unsupported IPV6_RECVPKTINFO constants on macOS). 2393 (Mizunashi Mana) 2394 2395- Sodium: 2396 . Fixed bug #77297 (SodiumException segfaults on PHP 7.3). (Nikita, Scott) 2397 2398- SPL: 2399 . Fixed bug #77359 (spl_autoload causes segfault). (Lauri Kenttä) 2400 . Fixed bug #77360 (class_uses causes segfault). (Lauri Kenttä) 2401 2402- SQLite3: 2403 . Fixed bug #77051 (Issue with re-binding on SQLite3). (BohwaZ) 2404 2405- Xmlrpc: 2406 . Fixed bug #77242 (heap out of bounds read in xmlrpc_decode()). (cmb) 2407 . Fixed bug #77380 (Global out of bounds read in xmlrpc base64 code). (Stas) 2408 240906 Dec 2018, PHP 7.3.0 2410 2411- Core: 2412 . Improved PHP GC. (Dmitry, Nikita) 2413 . Redesigned the old ext_skel program written in PHP, run: 2414 'php ext_skel.php' for all options. This means there are no dependencies, 2415 thus making it work on Windows out of the box. (Kalle) 2416 . Removed support for BeOS. (Kalle) 2417 . Add PHP_VERSION to phpinfo() <title/>. (github/MattJeevas) 2418 . Add net_get_interfaces(). (Sara, Joe, Anatol) 2419 . Added gc_status(). (Benjamin Eberlei) 2420 . Implemented flexible heredoc and nowdoc syntax, per 2421 RFC https://wiki.php.net/rfc/flexible_heredoc_nowdoc_syntaxes. 2422 (Thomas Punt) 2423 . Added support for references in list() and array destructuring, per 2424 RFC https://wiki.php.net/rfc/list_reference_assignment. 2425 (David Walker) 2426 . Improved effectiveness of ZEND_SECURE_ZERO for NetBSD and systems 2427 without native similar feature. (devnexen) 2428 . Added syslog.facility and syslog.ident INI entries for customizing syslog 2429 logging. (Philip Prindeville) 2430 . Fixed bug #75683 (Memory leak in zend_register_functions() in ZTS mode). 2431 (Dmitry) 2432 . Fixed bug #75031 (support append mode in temp/memory streams). (adsr) 2433 . Fixed bug #74860 (Uncaught exceptions not being formatted properly when 2434 error_log set to "syslog"). (Philip Prindeville) 2435 . Fixed bug #75220 (Segfault when calling is_callable on parent). 2436 (andrewnester) 2437 . Fixed bug #69954 (broken links and unused config items in distributed ini 2438 files). (petk) 2439 . Fixed bug #74922 (Composed class has fatal error with duplicate, equal const 2440 properties). (pmmaga) 2441 . Fixed bug #63911 (identical trait methods raise errors during composition). 2442 (pmmaga) 2443 . Fixed bug #75677 (Clang ignores fastcall calling convention on variadic 2444 function). (Li-Wen Hsu) 2445 . Fixed bug #54043 (Remove inconsitency of internal exceptions and user 2446 defined exceptions). (Nikita) 2447 . Fixed bug #53033 (Mathematical operations convert objects to integers). 2448 (Nikita) 2449 . Fixed bug #73108 (Internal class cast handler uses integer instead of 2450 float). (Nikita) 2451 . Fixed bug #75765 (Fatal error instead of Error exception when base class is 2452 not found). (Timur Ibragimov) 2453 . Fixed bug #76198 (Wording: "iterable" is not a scalar type). (Levi Morrison) 2454 . Fixed bug #76137 (config.guess/config.sub do not recognize RISC-V). (cmb) 2455 . Fixed bug #76427 (Segfault in zend_objects_store_put). (Laruence) 2456 . Fixed bug #76422 (ftruncate fails on files > 2GB). (Anatol) 2457 . Fixed bug #76509 (Inherited static properties can be desynchronized from 2458 their parent by ref). (Nikita) 2459 . Fixed bug #76439 (Changed behaviour in unclosed HereDoc). (Nikita, tpunt) 2460 . Fixed bug #63217 (Constant numeric strings become integers when used as 2461 ArrayAccess offset). (Rudi Theunissen, Dmitry) 2462 . Fixed bug #33502 (Some nullary functions don't check the number of 2463 arguments). (cmb) 2464 . Fixed bug #76392 (Error relocating sapi/cli/php: unsupported relocation 2465 type 37). (Peter Kokot) 2466 . The declaration and use of case-insensitive constants has been deprecated. 2467 (Nikita) 2468 . Added syslog.filter INI entry for syslog filtering. (Philip Prindeville) 2469 . Fixed bug #76667 (Segfault with divide-assign op and __get + __set). 2470 (Laruence) 2471 . Fixed bug #76030 (RE2C_FLAGS rarely honoured) (Cristian Rodríguez) 2472 . Fixed broken zend_read_static_property (Laruence) 2473 . Fixed bug #76773 (Traits used on the parent are ignored for child classes). 2474 (daverandom) 2475 . Fixed bug #76767 (‘asm’ operand has impossible constraints in zend_operators.h). 2476 (ondrej) 2477 . Fixed bug #76752 (Crash in ZEND_COALESCE_SPEC_TMP_HANDLER - assertion in 2478 _get_zval_ptr_tmp failed). (Laruence) 2479 . Fixed bug #76820 (Z_COPYABLE invalid definition). (mvdwerve, cmb) 2480 . Fixed bug #76510 (file_exists() stopped working for phar://). (cmb) 2481 . Fixed bug #76869 (Incorrect bypassing protected method accessibilty check). 2482 (Dmitry) 2483 . Fixed bug #72635 (Undefined class used by class constant in constexpr 2484 generates fatal error). (Nikita) 2485 . Fixed bug #76947 (file_put_contents() blocks the directory of the file 2486 (__DIR__)). (Anatol) 2487 . Fixed bug #76979 (define() error message does not mention resources as 2488 valid values). (Michael Moravec) 2489 . Fixed bug #76825 (Undefined symbols ___cpuid_count). (Laruence, cmb) 2490 . Fixed bug #77110 (undefined symbol zend_string_equal_val in C++ build). 2491 (Remi) 2492 2493- BCMath: 2494 . Implemented FR #67855 (No way to get current scale in use). (Chris Wright, 2495 cmb) 2496 . Fixed bug #66364 (BCMath bcmul ignores scale parameter). (cmb) 2497 . Fixed bug #75164 (split_bc_num() is pointless). (cmb) 2498 . Fixed bug #75169 (BCMath errors/warnings bypass PHP's error handling). (cmb) 2499 2500- CLI: 2501 . Fixed bug #44217 (Output after stdout/stderr closed cause immediate exit 2502 with status 0). (Robert Lu) 2503 . Fixed bug #77111 (php-win.exe corrupts unicode symbols from cli 2504 parameters). (Anatol) 2505 2506- cURL: 2507 . Expose curl constants from curl 7.50 to 7.61. (Pierrick) 2508 . Fixed bug #74125 (Fixed finding CURL on systems with multiarch support). 2509 (cebe) 2510 2511- Date: 2512 . Implemented FR #74668: Add DateTime::createFromImmutable() method. 2513 (majkl578, Rican7) 2514 . Fixed bug #75222 (DateInterval microseconds property always 0). (jhdxr) 2515 . Fixed bug #68406 (calling var_dump on a DateTimeZone object modifies it). 2516 (jhdxr) 2517 . Fixed bug #76131 (mismatch arginfo for date_create). (carusogabriel) 2518 . Updated timelib to 2018.01RC1 to address several bugs: 2519 . Fixed bug #75577 (DateTime::createFromFormat does not accept 'v' format 2520 specifier). (Derick) 2521 . Fixed bug #75642 (Wrap around behaviour for microseconds is not working). 2522 (Derick) 2523 2524- DBA: 2525 . Fixed bug #75264 (compiler warnings emitted). (petk) 2526 2527- DOM: 2528 . Fixed bug #76285 (DOMDocument::formatOutput attribute sometimes ignored). 2529 (Andrew Nester, Laruence, Anatol) 2530 2531- Fileinfo: 2532 . Fixed bug #77095 (slowness regression in 7.2/7.3 (compared to 7.1)). 2533 (Anatol) 2534 2535- Filter: 2536 . Added the 'add_slashes' sanitization mode (FILTER_SANITIZE_ADD_SLASHES). 2537 (Kalle) 2538 2539- FPM: 2540 . Added fpm_get_status function. (Till Backhaus) 2541 . Fixed bug #62596 (getallheaders() missing with PHP-FPM). (Remi) 2542 . Fixed bug #69031 (Long messages into stdout/stderr are truncated 2543 incorrectly) - added new log related FPM configuration options: 2544 log_limit, log_buffering and decorate_workers_output. (Jakub Zelenka) 2545 2546- ftp: 2547 . Fixed bug #77151 (ftp_close(): SSL_read on shutdown). (Remi) 2548 2549- GD: 2550 . Added support for WebP in imagecreatefromstring(). (Andreas Treichel, cmb) 2551 2552- GMP: 2553 . Export internal structures and accessor helpers for GMP object. (Sara) 2554 . Added gmp_binomial(n, k). (Nikita) 2555 . Added gmp_lcm(a, b). (Nikita) 2556 . Added gmp_perfect_power(a). (Nikita) 2557 . Added gmp_kronecker(a, b). (Nikita) 2558 2559- iconv: 2560 . Fixed bug #53891 (iconv_mime_encode() fails to Q-encode UTF-8 string). (cmb) 2561 . Fixed bug #77147 (Fixing 60494 ignored ICONV_MIME_DECODE_CONTINUE_ON_ERROR). 2562 (cmb) 2563 2564- IMAP: 2565 . Fixed bug #77020 (null pointer dereference in imap_mail). (cmb) 2566 . Fixed bug #77153 (imap_open allows to run arbitrary shell commands via 2567 mailbox parameter). (Stas) 2568 2569- Interbase: 2570 . Fixed bug #75453 (Incorrect reflection for ibase_[p]connect). (villfa) 2571 . Fixed bug #76443 (php+php_interbase.dll crash on module_shutdown). (Kalle) 2572 2573 2574- intl: 2575 . Fixed bug #75317 (UConverter::setDestinationEncoding changes source instead 2576 of destination). (andrewnester) 2577 . Fixed bug #76829 (Incorrect validation of domain on idn_to_utf8() 2578 function). (Anatol) 2579 2580- JSON: 2581 . Added JSON_THROW_ON_ERROR flag. (Andrea) 2582 2583- LDAP: 2584 . Added ldap_exop_refresh helper for EXOP REFRESH operation with dds overlay. 2585 (Come) 2586 . Added full support for sending and parsing ldap controls. (Come) 2587 . Fixed bug #49876 (Fix LDAP path lookup on 64-bit distros). (dzuelke) 2588 2589- libxml2: 2590 . Fixed bug #75871 (use pkg-config where available). (pmmaga) 2591 2592- litespeed: 2593 . Fixed bug #75248 (Binary directory doesn't get created when building 2594 only litespeed SAPI). (petk) 2595 . Fixed bug #75251 (Missing program prefix and suffix). (petk) 2596 2597- MBstring: 2598 . Updated to Oniguruma 6.9.0. (cmb) 2599 . Fixed bug #65544 (mb title case conversion-first word in quotation isn't 2600 capitalized). (Nikita) 2601 . Fixed bug #71298 (MB_CASE_TITLE misbehaves with curled apostrophe/quote). 2602 (Nikita) 2603 . Fixed bug #73528 (Crash in zif_mb_send_mail). (Nikita) 2604 . Fixed bug #74929 (mbstring functions version 7.1.1 are slow compared to 5.3 2605 on Windows). (Nikita) 2606 . Fixed bug #76319 (mb_strtolower with invalid UTF-8 causes segmentation 2607 fault). (Nikita) 2608 . Fixed bug #76574 (use of undeclared identifiers INT_MAX and LONG_MAX). (cmb) 2609 . Fixed bug #76594 (Bus Error due to unaligned access in zend_ini.c 2610 OnUpdateLong). (cmb, Nikita) 2611 . Fixed bug #76706 (mbstring.http_output_conv_mimetypes is ignored). (cmb) 2612 . Fixed bug #76958 (Broken UTF7-IMAP conversion). (Nikita) 2613 . Fixed bug #77025 (mb_strpos throws Unknown encoding or conversion error). 2614 (Nikita) 2615 . Fixed bug #77165 (mb_check_encoding crashes when argument given an empty 2616 array). (Nikita) 2617 2618- Mysqlnd: 2619 . Fixed bug #76386 (Prepared Statement formatter truncates fractional seconds 2620 from date/time column). (Victor Csiky) 2621 2622- ODBC: 2623 . Removed support for ODBCRouter. (Kalle) 2624 . Removed support for Birdstep. (Kalle) 2625 . Fixed bug #77079 (odbc_fetch_object has incorrect type signature). 2626 (Jon Allen) 2627 2628- Opcache: 2629 . Fixed bug #76466 (Loop variable confusion). (Dmitry, Laruence, Nikita) 2630 . Fixed bug #76463 (var has array key type but not value type). (Laruence) 2631 . Fixed bug #76446 (zend_variables.c:73: zend_string_destroy: Assertion 2632 `!(zval_gc_flags((str)->gc)). (Nikita, Laruence) 2633 . Fixed bug #76711 (OPcache enabled triggers false-positive "Illegal string 2634 offset"). (Dmitry) 2635 . Fixed bug #77058 (Type inference in opcache causes side effects). (Nikita) 2636 . Fixed bug #77092 (array_diff_key() - segmentation fault). (Nikita) 2637 2638- OpenSSL: 2639 . Added openssl_pkey_derive function. (Jim Zubov) 2640 . Add min_proto_version and max_proto_version ssl stream options as well as 2641 related constants for possible TLS protocol values. (Jakub Zelenka) 2642 2643- PCRE: 2644 . Implemented https://wiki.php.net/rfc/pcre2-migration. (Anatol, Dmitry) 2645 . Upgrade PCRE2 to 10.32. (Anatol) 2646 . Fixed bug #75355 (preg_quote() does not quote # control character). 2647 (Michael Moravec) 2648 . Fixed bug #76512 (\w no longer includes unicode characters). (cmb) 2649 . Fixed bug #76514 (Regression in preg_match makes it fail with 2650 PREG_JIT_STACKLIMIT_ERROR). (Anatol) 2651 . Fixed bug #76909 (preg_match difference between 7.3 and < 7.3). (Anatol) 2652 2653- PDO_DBlib: 2654 . Implemented FR #69592 (allow 0-column rowsets to be skipped automatically). 2655 (fandrieu) 2656 . Expose TDS version as \PDO::DBLIB_ATTR_TDS_VERSION attribute on \PDO 2657 instance. (fandrieu) 2658 . Treat DATETIME2 columns like DATETIME. (fandrieu) 2659 . Fixed bug #74243 (allow locales.conf to drive datetime format). (fandrieu) 2660 2661- PDO_Firebird: 2662 . Fixed bug #74462 (PDO_Firebird returns only NULLs for results with boolean 2663 for FIREBIRD >= 3.0). (Dorin Marcoci) 2664 2665- PDO_OCI: 2666 . Fixed bug #74631 (PDO_PCO with PHP-FPM: OCI environment initialized 2667 before PHP-FPM sets it up). (Ingmar Runge) 2668 2669- PDO SQLite 2670 . Add support for additional open flags 2671 2672- pgsql: 2673 . Added new error constants for pg_result_error(): PGSQL_DIAG_SCHEMA_NAME, 2674 PGSQL_DIAG_TABLE_NAME, PGSQL_DIAG_COLUMN_NAME, PGSQL_DIAG_DATATYPE_NAME, 2675 PGSQL_DIAG_CONSTRAINT_NAME and PGSQL_DIAG_SEVERITY_NONLOCALIZED. (Kalle) 2676 . Fixed bug #77047 (pg_convert has a broken regex for the 'TIME WITHOUT 2677 TIMEZONE' data type). (Andy Gajetzki) 2678 2679- phar: 2680 . Fixed bug #74991 (include_path has a 4096 char limit in some cases). 2681 (bwbroersma) 2682 . Fixed bug #65414 (deal with leading slash when adding files correctly). 2683 (bishopb) 2684 2685- readline: 2686 . Added completion_append_character and completion_suppress_append options 2687 to readline_info() if linked against libreadline. (krageon) 2688 2689- Session: 2690 . Fixed bug #74941 (session fails to start after having headers sent). 2691 (morozov) 2692 2693- SimpleXML: 2694 . Fixed bug #54973 (SimpleXML casts integers wrong). (Nikita) 2695 . Fixed bug #76712 (Assignment of empty string creates extraneous text node). 2696 (cmb) 2697 2698- Sockets: 2699 . Fixed bug #67619 (Validate length on socket_write). (thiagooak) 2700 2701- SOAP: 2702 . Fixed bug #75464 (Wrong reflection on SoapClient::__setSoapHeaders). 2703 (villfa) 2704 . Fixed bug #70469 (SoapClient generates E_ERROR even if exceptions=1 is 2705 used). (Anton Artamonov) 2706 . Fixed bug #50675 (SoapClient can't handle object references correctly). 2707 (Cameron Porter) 2708 . Fixed bug #76348 (WSDL_CACHE_MEMORY causes Segmentation fault). (cmb) 2709 . Fixed bug #77141 (Signedness issue in SOAP when precision=-1). (cmb) 2710 2711- SPL: 2712 . Fixed bug #74977 (Appending AppendIterator leads to segfault). 2713 (Andrew Nester) 2714 . Fixed bug #75173 (incorrect behavior of AppendIterator::append in foreach 2715 loop). (jhdxr) 2716 . Fixed bug #74372 (autoloading file with syntax error uses next autoloader, 2717 may hide parse error). (Nikita) 2718 . Fixed bug #75878 (RecursiveTreeIterator::setPostfix has wrong signature). 2719 (cmb) 2720 . Fixed bug #74519 (strange behavior of AppendIterator). (jhdxr) 2721 . Fixed bug #76131 (mismatch arginfo for splarray constructor). 2722 (carusogabriel) 2723 2724- SQLite3: 2725 . Updated bundled libsqlite to 3.24.0. (cmb) 2726 2727- Standard: 2728 . Added is_countable() function. (Gabriel Caruso) 2729 . Added support for the SameSite cookie directive, including an alternative 2730 signature for setcookie(), setrawcookie() and session_set_cookie_params(). 2731 (Frederik Bosch, pmmaga) 2732 . Remove superfluous warnings from inet_ntop()/inet_pton(). (daverandom) 2733 . Fixed bug #75916 (DNS_CAA record results contain garbage). (Mike, 2734 Philip Sharp) 2735 . Fixed unserialize(), to disable creation of unsupported data structures 2736 through manually crafted strings. (Dmitry) 2737 . Fixed bug #75409 (accept EFAULT in addition to ENOSYS as indicator 2738 that getrandom() is missing). (sarciszewski) 2739 . Fixed bug #74719 (fopen() should accept NULL as context). (Alexander Holman) 2740 . Fixed bug #69948 (path/domain are not sanitized in setcookie). (cmb) 2741 . Fixed bug #75996 (incorrect url in header for mt_rand). (tatarbj) 2742 . Added hrtime() function, to get high resolution time. (welting) 2743 . Fixed bug #48016 (stdClass::__setState is not defined although var_export() 2744 uses it). (Andrea) 2745 . Fixed bug #76136 (stream_socket_get_name should enclose IPv6 in brackets). 2746 (seliver) 2747 . Fixed bug #76688 (Disallow excessive parameters after options array). 2748 (pmmaga) 2749 . Fixed bug #76713 (Segmentation fault caused by property corruption). 2750 (Laruence) 2751 . Fixed bug #76755 (setcookie does not accept "double" type for expire time). 2752 (Laruence) 2753 . Fixed bug #76674 (improve array_* failure messages exposing what was passed 2754 instead of an array). (carusogabriel) 2755 . Fixed bug #76803 (ftruncate changes file pointer). (Anatol) 2756 . Fixed bug #76818 (Memory corruption and segfault). (Remi) 2757 . Fixed bug #77081 (ftruncate() changes seek pointer in c mode). (cmb, Anatol) 2758 2759- Testing: 2760 . Implemented FR #62055 (Make run-tests.php support --CGI-- sections). (cmb) 2761 2762- Tidy: 2763 . Support using tidyp instead of tidy. (devnexen) 2764 . Fixed bug #74707 (Tidy has incorrect ReflectionFunction param counts for 2765 functions taking tidy). (Gabriel Caruso) 2766 . Fixed arginfo for tidy::__construct(). (Tyson Andre) 2767 2768- Tokenizer: 2769 . Fixed bug #76437 (token_get_all with TOKEN_PARSE flag fails to recognise 2770 close tag). (Laruence) 2771 . Fixed bug #75218 (Change remaining uncatchable fatal errors for parsing 2772 into ParseError). (Nikita) 2773 . Fixed bug #76538 (token_get_all with TOKEN_PARSE flag fails to recognise 2774 close tag with newline). (Nikita) 2775 . Fixed bug #76991 (Incorrect tokenization of multiple invalid flexible 2776 heredoc strings). (Nikita) 2777 2778- XML: 2779 . Fixed bug #71592 (External entity processing never fails). (cmb) 2780 2781- Zlib: 2782 . Added zlib/level context option for compress.zlib wrapper. (Sara) 2783