2015-07-21 22:36:36 +08:00
|
|
|
PHP NEWS
|
1999-07-23 07:54:54 +08:00
|
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
2021-01-20 00:00:48 +08:00
|
|
|
?? ??? 2021, PHP 8.0.3
|
|
|
|
|
2021-01-22 20:08:51 +08:00
|
|
|
- Gettext:
|
|
|
|
. Fixed bug #53251 (bindtextdomain with null dir doesn't return old value).
|
|
|
|
(cmb)
|
|
|
|
|
2021-01-20 16:03:37 +08:00
|
|
|
- Opcache:
|
|
|
|
. Fixed bug #80634 (write_property handler of internal classes is skipped on
|
|
|
|
preloaded JITted code). (Dmitry)
|
2021-01-28 23:26:46 +08:00
|
|
|
. Fixed bug #80682 (opcache doesn't honour pcre.jit option). (Remi)
|
|
|
|
|
2021-01-20 00:00:48 +08:00
|
|
|
|
2021-01-26 00:12:48 +08:00
|
|
|
- Phar:
|
|
|
|
. Fixed bug #75850 (Unclear error message wrt. __halt_compiler() w/o
|
|
|
|
semicolon) (cmb)
|
2021-01-26 23:50:04 +08:00
|
|
|
. Fixed bug #70091 (Phar does not mark UTF-8 filenames in ZIP archives). (cmb)
|
2021-01-26 00:12:48 +08:00
|
|
|
|
2021-01-20 00:00:48 +08:00
|
|
|
21 Jan 2021, PHP 8.0.2
|
2020-12-15 21:30:55 +08:00
|
|
|
|
2020-12-16 17:16:50 +08:00
|
|
|
- Core:
|
|
|
|
. Fixed bug #80523 (bogus parse error on >4GB source code). (Nikita)
|
2020-12-02 07:40:16 +08:00
|
|
|
. Fixed bug #80384 (filter buffers entire read until file closed). (Adam
|
|
|
|
Seitz, cmb)
|
2021-01-13 17:43:54 +08:00
|
|
|
. Fixed bug #80596 (Invalid union type TypeError in anonymous classes).
|
|
|
|
(Daniil Gentili)
|
2021-01-14 17:08:22 +08:00
|
|
|
. Fixed bug #80617 (GCC throws warning about type narrowing in
|
|
|
|
ZEND_TYPE_INIT_CODE). (Nikita)
|
2020-12-15 21:30:55 +08:00
|
|
|
|
2020-12-28 04:15:06 +08:00
|
|
|
- BCMath:
|
|
|
|
. Fixed bug #80545 (bcadd('a', 'a') doesn't throw an exception).
|
|
|
|
(Jens de Nies)
|
|
|
|
|
2021-01-15 21:01:40 +08:00
|
|
|
- Curl:
|
|
|
|
. Fixed bug #80595 (Resetting POSTFIELDS to empty array breaks request). (cmb)
|
|
|
|
|
2020-12-21 18:30:40 +08:00
|
|
|
- Date:
|
2020-12-21 18:31:41 +08:00
|
|
|
. Fixed bug #80376 (last day of the month causes runway cpu usage). (Derick)
|
|
|
|
|
2020-12-21 17:21:08 +08:00
|
|
|
- DOM:
|
|
|
|
. Fixed bug #80537 (Wrong parameter type in DOMElement::removeAttributeNode
|
|
|
|
stub). (Nikita)
|
|
|
|
|
2021-01-04 22:24:53 +08:00
|
|
|
- Filter:
|
|
|
|
. Fixed bug #80584 (0x and 0X are considered valid hex numbers by
|
|
|
|
filter_var()). (girgias)
|
|
|
|
|
2021-01-05 01:17:31 +08:00
|
|
|
- GMP:
|
|
|
|
. Fixed bug #80560 (Strings containing only a base prefix return 0 object).
|
|
|
|
(girgias)
|
|
|
|
|
2021-01-19 22:20:01 +08:00
|
|
|
- Intl:
|
|
|
|
. Fixed bug #80644 (Missing resource causes subsequent get() calls to fail).
|
|
|
|
(Nikita)
|
|
|
|
|
2020-12-16 17:52:27 +08:00
|
|
|
- MySQLi:
|
|
|
|
. Fixed bug #67983 (mysqlnd with MYSQLI_OPT_INT_AND_FLOAT_NATIVE fails to
|
|
|
|
interpret bit columns). (Nikita)
|
2020-12-16 19:12:06 +08:00
|
|
|
. Fixed bug #64638 (Fetching resultsets from stored procedure with cursor
|
|
|
|
fails). (Nikita)
|
|
|
|
. Fixed bug #72862 (segfault using prepared statements on stored procedures
|
|
|
|
that use a cursor). (Nikita)
|
|
|
|
. Fixed bug #77935 (Crash in mysqlnd_fetch_stmt_row_cursor when calling an SP
|
|
|
|
with a cursor). (Nikita)
|
2020-12-16 17:52:27 +08:00
|
|
|
|
2021-01-06 07:22:53 +08:00
|
|
|
- ODBC:
|
|
|
|
. Fixed bug #80592 (all floats are the same in ODBC parameters). (cmb)
|
|
|
|
|
2021-01-14 13:16:27 +08:00
|
|
|
- Opcache:
|
|
|
|
. Fixed bug #80422 (php_opcache.dll crashes when using Apache 2.4 with JIT).
|
|
|
|
(Dmitry)
|
|
|
|
|
2020-12-17 03:02:45 +08:00
|
|
|
- PDO_Firebird:
|
|
|
|
. Fixed bug #80521 (Parameters with underscores no longer recognized). (cmb,
|
|
|
|
Simonov Denis)
|
|
|
|
|
2020-12-16 19:35:38 +08:00
|
|
|
- Phar:
|
|
|
|
. Fixed bug #76929 (zip-based phar does not respect phar.require_hash).
|
|
|
|
(david at bamsoftware, cmb)
|
2021-01-05 22:52:38 +08:00
|
|
|
. Fixed bug #77565 (Incorrect locator detection in ZIP-based phars). (cmb)
|
2020-12-19 01:05:52 +08:00
|
|
|
. Fixed bug #69279 (Compressed ZIP Phar extractTo() creates garbage files).
|
|
|
|
(cmb)
|
2021-01-05 22:52:38 +08:00
|
|
|
|
2021-01-11 20:10:47 +08:00
|
|
|
- Phpdbg:
|
|
|
|
. Reverted fix for bug #76813 (Access violation near NULL on source operand).
|
|
|
|
(cmb)
|
2020-12-16 19:35:38 +08:00
|
|
|
|
2020-12-15 21:30:55 +08:00
|
|
|
07 Jan 2021, PHP 8.0.1
|
2020-11-18 00:34:55 +08:00
|
|
|
|
2020-11-12 22:37:51 +08:00
|
|
|
- Core:
|
2020-11-10 20:51:40 +08:00
|
|
|
. Fixed bug #80345 (PHPIZE configuration has outdated PHP_RELEASE_VERSION).
|
|
|
|
(cmb)
|
2020-11-10 23:13:54 +08:00
|
|
|
. Fixed bug #72964 (White space not unfolded for CC/Bcc headers). (cmb)
|
2020-11-24 17:09:28 +08:00
|
|
|
. Fixed bug #80391 (Iterable not covariant to mixed). (Nikita)
|
2020-11-24 22:26:40 +08:00
|
|
|
. Fixed bug #80393 (Build of PHP extension fails due to configuration gap
|
|
|
|
with libtool). (kir dot morozov at gmail dot com)
|
2020-09-22 22:02:01 +08:00
|
|
|
. Fixed bug #77069 (stream filter loses final block of data). (cmb)
|
2020-11-18 00:34:55 +08:00
|
|
|
|
2020-11-24 00:12:46 +08:00
|
|
|
- Fileinfo:
|
|
|
|
. Fixed bug #77961 (finfo_open crafted magic parsing SIGABRT). (cmb)
|
|
|
|
|
2020-11-29 05:27:53 +08:00
|
|
|
- FPM:
|
|
|
|
. Fixed bug #69625 (FPM returns 200 status on request without
|
|
|
|
SCRIPT_FILENAME env). (Jakub Zelenka)
|
|
|
|
|
2020-11-30 12:48:17 +08:00
|
|
|
- IMAP
|
|
|
|
. Fixed bug #80438 (imap_msgno() incorrectly warns and return false on valid UIDs in PHP 8.0.0). (girgias)
|
2020-12-01 09:43:17 +08:00
|
|
|
. Fix a regression with valid UIDs in imap_savebody() (girgias)
|
|
|
|
. Make warnings for invalid message numbers/UIDs between functions consistent (girgias)
|
2020-11-30 12:48:17 +08:00
|
|
|
|
2020-11-27 17:02:00 +08:00
|
|
|
- Intl:
|
|
|
|
. Fixed bug #80425 (MessageFormatAdapter::getArgTypeList redefined). (Nikita)
|
|
|
|
|
2020-12-21 12:07:40 +08:00
|
|
|
- OCI8
|
|
|
|
. Create Windows DLLs for Oracle Client 19c. (cmb)
|
|
|
|
|
2020-11-24 18:31:53 +08:00
|
|
|
- Opcache:
|
|
|
|
. Fixed bug #80404 (Incorrect range inference result when division results
|
|
|
|
in float). (Nikita)
|
2020-11-24 22:52:41 +08:00
|
|
|
. Fixed bug #80377 (Opcache misses executor_globals). (Nikita)
|
2020-11-27 17:58:04 +08:00
|
|
|
. Fixed bug #80433 (Unable to disable the use of the AVX command when using
|
2020-11-27 17:51:57 +08:00
|
|
|
JIT). (Nikita)
|
2020-12-01 21:46:41 +08:00
|
|
|
. Fixed bug #80447 (Strange out of memory error when running with JIT).
|
|
|
|
(Dmitry)
|
2020-12-07 18:28:37 +08:00
|
|
|
. Fixed bug #80480 (Segmentation fault with JIT enabled). (Dmitry)
|
2020-12-14 20:28:03 +08:00
|
|
|
. Fixed bug #80506 (Immediate SIGSEGV upon ini_set("opcache.jit_debug", 1)).
|
|
|
|
(Dmitry)
|
2020-11-24 18:31:53 +08:00
|
|
|
|
2020-11-27 17:57:19 +08:00
|
|
|
- OpenSSL:
|
|
|
|
. Fixed bug #80368 (OpenSSL extension fails to build against LibreSSL due to
|
|
|
|
lack of OCB support). (Nikita)
|
|
|
|
|
2020-12-03 05:24:20 +08:00
|
|
|
- PDO MySQL:
|
|
|
|
. Fixed bug #80458 (PDOStatement::fetchAll() throws for upsert queries).
|
|
|
|
(Kamil Tekiela)
|
2020-12-08 18:30:54 +08:00
|
|
|
. Fixed bug #63185 (nextRowset() ignores MySQL errors with native prepared
|
|
|
|
statements). (Nikita)
|
2020-12-09 19:46:47 +08:00
|
|
|
. Fixed bug #78152 (PDO::exec() - Bad error handling with multiple commands).
|
|
|
|
(Nikita)
|
2020-12-09 23:30:01 +08:00
|
|
|
. Fixed bug #66878 (Multiple rowsets not returned unless PDO statement object
|
|
|
|
is unset()). (Nikita)
|
2020-12-10 00:24:30 +08:00
|
|
|
. Fixed bug #70066 (Unexpected "Cannot execute queries while other unbuffered
|
|
|
|
queries"). (Nikita)
|
2020-12-10 17:28:10 +08:00
|
|
|
. Fixed bug #71145 (Multiple statements in init command triggers unbuffered
|
|
|
|
query error). (Nikita)
|
2020-12-10 18:21:06 +08:00
|
|
|
. Fixed bug #76815 (PDOStatement cannot be GCed/closeCursor-ed when a
|
|
|
|
PROCEDURE resultset SIGNAL). (Nikita)
|
2020-12-10 18:46:29 +08:00
|
|
|
. Fixed bug #79872 (Can't execute query with pending result sets). (Nikita)
|
2020-12-10 22:51:17 +08:00
|
|
|
. Fixed bug #79131 (PDO does not throw an exception when parameter values are
|
|
|
|
missing). (Nikita)
|
2020-12-10 23:52:17 +08:00
|
|
|
. Fixed bug #72368 (PdoStatement->execute() fails but does not throw an
|
|
|
|
exception). (Nikita)
|
2020-12-11 18:20:33 +08:00
|
|
|
. Fixed bug #62889 (LOAD DATA INFILE broken). (Nikita)
|
2020-12-11 19:43:19 +08:00
|
|
|
. Fixed bug #67004 (Executing PDOStatement::fetch() more than once prevents
|
|
|
|
releasing resultset). (Nikita)
|
2020-12-11 23:35:03 +08:00
|
|
|
. Fixed bug #79132 (PDO re-uses parameter values from earlier calls to
|
|
|
|
execute()). (Nikita)
|
2020-12-03 05:24:20 +08:00
|
|
|
|
2020-12-01 21:20:39 +08:00
|
|
|
- Phar:
|
|
|
|
. Fixed bug #73809 (Phar Zip parse crash - mmap fail). (cmb)
|
2020-12-15 18:45:35 +08:00
|
|
|
. Fixed bug #75102 (`PharData` says invalid checksum for valid tar). (cmb)
|
|
|
|
. Fixed bug #77322 (PharData::addEmptyDir('/') Possible integer overflow).
|
|
|
|
(cmb)
|
2020-12-01 21:20:39 +08:00
|
|
|
|
2020-11-28 20:47:37 +08:00
|
|
|
- Phpdbg:
|
|
|
|
. Fixed bug #76813 (Access violation near NULL on source operand). (cmb)
|
|
|
|
|
2020-11-18 20:41:21 +08:00
|
|
|
- SPL:
|
|
|
|
. Fixed #62004 (SplFileObject: fgets after seek returns wrong line). (cmb)
|
|
|
|
|
2020-11-17 21:42:22 +08:00
|
|
|
- Standard:
|
2021-01-04 17:47:47 +08:00
|
|
|
. Fixed bug #77423 (FILTER_VALIDATE_URL accepts URLs with invalid userinfo).
|
|
|
|
(CVE-2020-7071) (cmb)
|
2020-11-17 21:42:22 +08:00
|
|
|
. Fixed bug #80366 (Return Value of zend_fstat() not Checked). (sagpant, cmb)
|
|
|
|
|
2020-11-14 22:03:58 +08:00
|
|
|
- Tidy:
|
|
|
|
. Fixed bug #77594 (ob_tidyhandler is never reset). (cmb)
|
|
|
|
|
2020-12-02 17:19:32 +08:00
|
|
|
- Tokenizer:
|
|
|
|
. Fixed bug #80462 (Nullsafe operator tokenize with TOKEN_PARSE flag fails).
|
|
|
|
(Nikita)
|
|
|
|
|
2020-11-24 21:51:51 +08:00
|
|
|
- XML:
|
|
|
|
. XmlParser opaque object renamed to XMLParser for consistency with other XML objects. (girgias)
|
|
|
|
|
2020-08-20 00:19:08 +08:00
|
|
|
- Zlib:
|
|
|
|
. Fixed #48725 (Support for flushing in zlib stream). (cmb)
|
|
|
|
|
2020-11-19 22:27:49 +08:00
|
|
|
26 Nov 2020, PHP 8.0.0
|
2020-11-10 19:02:35 +08:00
|
|
|
|
2020-11-19 22:27:49 +08:00
|
|
|
- BZ2:
|
|
|
|
. Fixed bug #71263 (fread() does not report bzip2.decompress errors). (cmb)
|
2020-09-16 02:38:15 +08:00
|
|
|
|
2020-09-15 04:08:39 +08:00
|
|
|
- CLI:
|
|
|
|
. Allow debug server binding to an ephemeral port via `-S localhost:0`. (Sara)
|
2019-12-19 03:42:07 +08:00
|
|
|
|
2020-11-19 22:27:49 +08:00
|
|
|
- COM:
|
|
|
|
. Fixed bug #55847 (DOTNET .NET 4.0 GAC new location). (cmb)
|
|
|
|
. Fixed bug #62474 (com_event_sink crashes on certain arguments). (cmb)
|
2020-08-18 22:03:56 +08:00
|
|
|
|
2020-08-22 07:44:48 +08:00
|
|
|
- Calendar:
|
|
|
|
. Fixed bug #80007 (Potential type confusion in unixtojd() parameter parsing).
|
|
|
|
(Andy Postnikov)
|
2020-08-18 15:06:20 +08:00
|
|
|
|
2020-08-05 04:24:26 +08:00
|
|
|
- Core:
|
2020-11-19 22:27:49 +08:00
|
|
|
. Fixed bug #36365 (scandir duplicates file name at every 65535th file).
|
2020-08-05 04:24:26 +08:00
|
|
|
(cmb)
|
2020-11-19 22:27:49 +08:00
|
|
|
. Fixed bug #49555 (Fatal error "Function must be a string" message should be
|
|
|
|
renamed). (Nikita)
|
|
|
|
. Fixed bug #62294 (register_shutdown_function() does not correctly handle
|
|
|
|
exit code). (Nikita)
|
|
|
|
. Fixed bug #62609 (Allow implementing Traversable on abstract classes).
|
2020-08-10 16:38:33 +08:00
|
|
|
(Nikita)
|
2020-11-19 22:27:49 +08:00
|
|
|
. Fixed bug #65274 (Enhance undefined class constant error with class name).
|
2020-08-10 16:28:13 +08:00
|
|
|
(Nikita)
|
2020-08-10 18:39:19 +08:00
|
|
|
. Fixed bug #65275 (Calling exit() in a shutdown function does not change the
|
|
|
|
exit value in CLI). (Nikita)
|
2020-11-19 22:27:49 +08:00
|
|
|
. Fixed bug #69084 (Unclear error message when not implementing a renamed
|
|
|
|
abstract trait function). (Nikita)
|
|
|
|
. Fixed bug #70839 (Converting optional argument to variadic forbidden by LSP
|
|
|
|
checks). (Nikita)
|
|
|
|
. Fixed bug #74558 (Can't rebind closure returned by Closure::fromCallable()).
|
|
|
|
(cmb)
|
|
|
|
. Fixed bug #77561 (Shebang line not stripped for non-primary script).
|
|
|
|
(Nikita)
|
|
|
|
. Fixed bug #77619 (Wrong reflection on MultipleIterator::__construct).
|
|
|
|
(Fabien Villepinte)
|
|
|
|
. Fixed bug #77966 (Cannot alias a method named "namespace"). (Nikita)
|
|
|
|
. Fixed bug #78236 (convert error on receiving variables when duplicate [).
|
|
|
|
(cmb)
|
2020-08-14 16:22:42 +08:00
|
|
|
. Fixed bug #78770 (Incorrect callability check inside internal methods).
|
|
|
|
(Nikita)
|
2020-11-19 22:27:49 +08:00
|
|
|
. Fixed bug #79108 (Referencing argument in a function makes it a reference
|
|
|
|
in the stack trace). (Nikita)
|
|
|
|
. Fixed bug #79368 ("Unexpected end of file" is not an acceptable error
|
|
|
|
message). (Alex Dowad)
|
|
|
|
. Fixed bug #79462 (method_exists and property_exists incoherent behavior).
|
|
|
|
(cmb)
|
|
|
|
. Fixed bug #79467 (data:// wrappers are writable). (cmb)
|
|
|
|
. Fixed bug #79521 (Check __set_state structure). (carusogabriel)
|
2020-08-05 04:24:26 +08:00
|
|
|
. Fixed bug #79790 ("Illegal offset type" exception during AST evaluation
|
|
|
|
not handled properly). (Nikita)
|
|
|
|
. Fixed bug #79791 (Assertion failure when unsetting variable during binary
|
|
|
|
op). (Nikita)
|
|
|
|
. Fixed bug #79828 (Segfault when trying to access non-existing variable).
|
|
|
|
(Nikita)
|
2020-11-19 22:27:49 +08:00
|
|
|
. Fixed bug #79841 (Syntax error in configure / unescaped "[]" in php.m4).
|
|
|
|
(Nikita)
|
2020-08-05 04:24:26 +08:00
|
|
|
. Fixed bug #79852 (count(DOMNodeList) doesn't match
|
|
|
|
count(IteratorIterator(DOMNodeList))). (Nikita)
|
|
|
|
. Fixed bug #79867 (Promoted untyped properties should get null default
|
|
|
|
value). (Nikita)
|
2020-11-19 22:27:49 +08:00
|
|
|
. Fixed bug #79897 (Promoted constructor params with attribs cause crash).
|
|
|
|
(Deus Kane)
|
|
|
|
. Fixed bug #79927 (Generator doesn't throw exception after multiple yield
|
|
|
|
from iterable). (Nikita)
|
|
|
|
. Fixed bug #79946 (Build fails due to undeclared UINT32_C). (Nikita)
|
|
|
|
. Fixed bug #79948 (Exit in auto-prepended file does not abort PHP execution).
|
2020-08-05 04:24:26 +08:00
|
|
|
(Nikita)
|
2020-11-19 22:27:49 +08:00
|
|
|
. Fixed bug #80045 (memleak after two set_exception_handler calls with
|
|
|
|
__call). (Nikita)
|
|
|
|
. Fixed bug #80096 (Segmentation fault with named arguments in nested call).
|
2020-08-05 04:24:26 +08:00
|
|
|
(Nikita)
|
2020-11-19 22:27:49 +08:00
|
|
|
. Fixed bug #80109 (Cannot skip arguments when extended debug is enabled).
|
|
|
|
(Nikita)
|
|
|
|
. Fixed bug #80225 (broken namespace usage in eval code). (Nikita)
|
|
|
|
. Fixed bug #80258 (Windows Deduplication Enabled, randon permission errors).
|
2020-08-05 04:24:26 +08:00
|
|
|
(cmb)
|
2020-11-19 22:27:49 +08:00
|
|
|
. Fixed bug #80280 (ADD_EXTENSION_DEP() fails for ext/standard and ext/date).
|
2020-08-05 04:24:26 +08:00
|
|
|
(cmb)
|
2020-11-19 22:27:49 +08:00
|
|
|
. Fixed bug #80334 (assert() vs named parameters - confusing error). (Nikita)
|
2020-11-27 06:34:35 +08:00
|
|
|
. Fixed bug #80055 (Abstract trait methods returning "self" cannot be
|
2020-11-19 22:27:49 +08:00
|
|
|
fulfilled by traits). (Nikita)
|
|
|
|
. Fixed faulty generator cleanup with yield from. (Bob)
|
|
|
|
. Implement #[Attr] Attribute syntax as per final vote in RFC
|
|
|
|
https://wiki.php.net/rfc/shorter_attribute_syntax_change
|
2020-08-05 04:24:26 +08:00
|
|
|
. Implemented FR #47074 (phpinfo() reports "On" as 1 for the some
|
|
|
|
extensions). (cmb)
|
|
|
|
. Implemented FR #72089 (require() throws fatal error instead of exception).
|
|
|
|
(Nikita)
|
2020-11-19 22:27:49 +08:00
|
|
|
. Removed the pdo_odbc.db2_instance_name php.ini directive. (Kalle)
|
|
|
|
. Use SSE2 instructions do locale independent strtolower. (Laruence)
|
2020-08-05 04:24:26 +08:00
|
|
|
|
2020-11-19 22:27:49 +08:00
|
|
|
- Curl:
|
2020-08-05 04:24:26 +08:00
|
|
|
. Bumped required libcurl version to 7.29.0. (cmb)
|
2020-11-19 22:27:49 +08:00
|
|
|
. Fixed bug #80121 (Null pointer deref if CurlHandle directly instantiated).
|
|
|
|
(Nikita)
|
|
|
|
|
|
|
|
- DOM:
|
|
|
|
. Add property DOMXPath::$registerNodeNamespaces and constructor argument
|
|
|
|
that allow global flag to configure query() or evaluate() calls.
|
|
|
|
. Fixed bug #79968 (DOMChildNode API crash on unattached nodes). (Benjamin)
|
|
|
|
. Fixed bug #80268 (loadHTML() truncates at NUL bytes). (cmb)
|
2020-08-05 04:24:26 +08:00
|
|
|
|
|
|
|
- Date:
|
2020-11-19 22:27:49 +08:00
|
|
|
. Fixed bug #60302 (DateTime::createFromFormat should new static(), not new
|
|
|
|
self()). (Derick)
|
2020-08-05 04:24:26 +08:00
|
|
|
. Fixed bug #65547 (Default value for sunrise/sunset zenith still wrong).
|
|
|
|
(cmb)
|
|
|
|
. Fixed bug #69044 (discrepancy between time and microtime). (krakjoe)
|
2020-11-19 22:27:49 +08:00
|
|
|
. Fixed bug #80057 (DateTimeImmutable::createFromFormat() does not populate
|
|
|
|
time). (Derick)
|
|
|
|
. Implemented FR #79903 (datetime: new format "p", same as "P" but returning
|
|
|
|
"Z" for UTC). (gharlan)
|
2020-08-05 04:24:26 +08:00
|
|
|
|
|
|
|
- Enchant:
|
|
|
|
. Add LIBENCHANT_VERSION macro.
|
2020-11-19 22:27:49 +08:00
|
|
|
. Add enchant_dict_add and enchant_dict_is_added functions.
|
2020-08-05 04:24:26 +08:00
|
|
|
. Deprecate enchant_broker_set_dict_path, enchant_broker_get_dict_path,
|
|
|
|
enchant_dict_add_to_personal and enchant_dict_is_in_session.
|
|
|
|
. Use libenchant-2 when available.
|
|
|
|
|
2020-11-19 22:27:49 +08:00
|
|
|
- FFI:
|
|
|
|
. Added FFI\CType::getName() method. (chopins)
|
|
|
|
. Fixed bug #79177 (FFI doesn't handle well PHP exceptions within callback).
|
|
|
|
(cmb, Dmitry, Nikita)
|
|
|
|
. Fixed bug #79749 (Converting FFI instances to bool fails). (cmb)
|
|
|
|
|
2020-08-05 04:24:26 +08:00
|
|
|
- FPM:
|
|
|
|
. Add pm.status_listen option. (Jakub Zelenka)
|
|
|
|
|
2020-11-19 22:27:49 +08:00
|
|
|
- Fileinfo:
|
|
|
|
. Upgrade to libmagic 5.39. (Anatol)
|
|
|
|
|
2020-08-05 04:24:26 +08:00
|
|
|
- GD:
|
2020-11-19 22:27:49 +08:00
|
|
|
. Added imagegetinterpolation(). (cmb)
|
2020-08-05 04:24:26 +08:00
|
|
|
. Fixed bug #55005 (imagepolygon num_points requirement). (cmb)
|
|
|
|
. Made the $num_points parameter of php_imagepolygon optional. (cmb)
|
|
|
|
. Removed deprecated image2wbmp(). (cmb)
|
|
|
|
. Removed deprecated png2wbmp() and jpeg2wbmp(). (cmb)
|
2020-11-19 22:27:49 +08:00
|
|
|
. Replaced gd resources with objects. (Mark Randall)
|
|
|
|
|
|
|
|
- IMAP:
|
|
|
|
. Fixed bug #64076 (imap_sort() does not return FALSE on failure). (cmb)
|
|
|
|
. Fixed bug #76618 (segfault on imap_reopen). (girgias)
|
|
|
|
. Fixed bug #80213 (imap_mail_compose() segfaults on certain $bodies). (cmb)
|
|
|
|
. Fixed bug #80215 (imap_mail_compose() may modify by-val parameters). (cmb)
|
|
|
|
. Fixed bug #80216 (imap_mail_compose() does not validate types/encodings).
|
|
|
|
(cmb)
|
|
|
|
. Fixed bug #80220 (imap_mail_compose() may leak memory). (cmb)
|
|
|
|
. Fixed bug #80223 (imap_mail_compose() leaks envelope on malformed bodies).
|
|
|
|
(cmb)
|
|
|
|
. Fixed bug #80226 (imap_sort() leaks sortpgm memory). (cmb)
|
|
|
|
. Fixed bug #80239 (imap_rfc822_write_address() leaks memory). (cmb)
|
|
|
|
. Fixed bug #80242 (imap_mail_compose() segfaults for multipart with rfc822).
|
|
|
|
(cmb)
|
|
|
|
. Fixed minor regression caused by fixing bug #80220. (cmb)
|
2020-08-05 04:24:26 +08:00
|
|
|
|
|
|
|
- Iconv:
|
|
|
|
. Dropped support for iconv without proper errno setting. (cmb)
|
|
|
|
|
|
|
|
- Intl:
|
|
|
|
. Removed deprecated INTL_IDNA_VARIANT_2003. (cmb)
|
|
|
|
|
|
|
|
- JIT:
|
|
|
|
. Fixed bug #77857 (Wrong result if executed with JIT). (Laruence)
|
|
|
|
. Fixed bug #79255 (PHP cannot be compiled with enable JIT).
|
|
|
|
(Laruence, Dmitry)
|
2020-11-19 22:27:49 +08:00
|
|
|
. Fixed bug #79582 (Crash seen when opcache.jit=1235 and
|
|
|
|
opcache.jit_debug=2). (Laruence)
|
|
|
|
. Fixed bug #79743 (Fatal error when assigning to array property
|
|
|
|
with JIT enabled). (Laruence)
|
|
|
|
. Fixed bug #79864 (JIT segfault in Symfony OptionsResolver). (Dmitry)
|
|
|
|
. Fixed bug #79888 (Incorrect execution with JIT enabled). (Dmitry)
|
2020-08-05 04:24:26 +08:00
|
|
|
|
|
|
|
- JSON:
|
|
|
|
. The JSON extension is now an integral part of PHP and cannot be disabled
|
|
|
|
as per RFC: https://wiki.php.net/rfc/always_enable_json (tandre)
|
|
|
|
|
|
|
|
- LDAP:
|
2020-11-19 22:27:49 +08:00
|
|
|
. Fixed memory leaks. (ptomulik)
|
2020-08-05 04:24:26 +08:00
|
|
|
. Removed deprecated ldap_sort. (mcmic)
|
|
|
|
|
|
|
|
- MBString:
|
|
|
|
. Fixed bug #76999 (mb_regex_set_options() return current options). (cmb)
|
|
|
|
. Removed the unused $is_hex parameter from mb_decode_numericentity(). (cmb)
|
|
|
|
|
|
|
|
- MySQLi:
|
|
|
|
. Fixed bug #76809 (SSL settings aren't respected when persistent connections
|
|
|
|
are used). (fabiomsouto)
|
|
|
|
|
2020-11-19 22:27:49 +08:00
|
|
|
- Mysqlnd:
|
2020-08-05 04:24:26 +08:00
|
|
|
. Fixed #60594 (mysqlnd exposes 160 lines of stats in phpinfo). (PeeHaa)
|
|
|
|
|
|
|
|
- OCI8:
|
|
|
|
. Deprecated old OCI8 function aliases. (Jens de Nies)
|
2020-11-19 22:27:49 +08:00
|
|
|
. Modernized oci_register_taf_callback() callable argument parsing
|
|
|
|
implementation. (girgias)
|
2020-08-05 04:24:26 +08:00
|
|
|
. Removed obsolete no-op function oci_internal_debug(). (Jens de Nies)
|
|
|
|
|
2020-11-19 22:27:49 +08:00
|
|
|
- ODBC:
|
|
|
|
. Fixed bug #22986 (odbc_connect() may reuse persistent connection). (cmb)
|
|
|
|
. Fixed bug #44618 (Fetching may rely on uninitialized data). (cmb)
|
|
|
|
|
|
|
|
- Opcache:
|
|
|
|
. Fixed bug #76535 (Opcache does not replay compile-time warnings). (Nikita)
|
2020-08-05 04:24:26 +08:00
|
|
|
. Fixed bug #78654 (Incorrectly computed opcache checksum on files with
|
|
|
|
non-ascii characters). (mhagstrand)
|
|
|
|
. Fixed bug #79665 (ini_get() and opcache_get_configuration() inconsistency).
|
|
|
|
(cmb)
|
2020-11-19 22:27:49 +08:00
|
|
|
. Fixed bug #80030 (Optimizer segfault with isset on static property with
|
|
|
|
undef dynamic class name). (Nikita)
|
|
|
|
. Fixed bug #80175 (PHP8 RC1 - JIT Buffer not working). (cmb)
|
|
|
|
. Fixed bug #80184 (Complex expression in while / if statements resolves to
|
|
|
|
false incorrectly). (Nikita)
|
|
|
|
. Fixed bug #80255 (Opcache bug (bad condition result) in 8.0.0rc1). (Nikita)
|
|
|
|
. Fixed run-time binding of preloaded dynamically declared function. (Dmitry)
|
2020-08-05 04:24:26 +08:00
|
|
|
|
|
|
|
- OpenSSL:
|
|
|
|
. Added Cryptographic Message Syntax (CMS) support. (Eliot Lear)
|
|
|
|
|
|
|
|
- PCRE:
|
|
|
|
. Don't ignore invalid escape sequences. (sjon)
|
2020-11-19 22:27:49 +08:00
|
|
|
. Updated to PCRE2 10.35. (cmb)
|
2020-08-05 04:24:26 +08:00
|
|
|
|
|
|
|
- PDO:
|
|
|
|
. Changed default PDO error mode to exceptions. (AllenJB)
|
|
|
|
. Fixed bug #77849 (Disable cloning of PDO handle/connection objects).
|
|
|
|
(camporter)
|
|
|
|
|
2020-11-19 22:27:49 +08:00
|
|
|
- PDO_Firebird:
|
|
|
|
. Fixed bug #64937 (Firebird PDO preprocessing sql). (Simonov Denis)
|
|
|
|
|
2020-08-05 04:24:26 +08:00
|
|
|
- PDO_OCI:
|
|
|
|
. Added support for setting and getting the oracle OCI 18c call timeout.
|
|
|
|
(camporter)
|
|
|
|
|
|
|
|
- PDO_PGSQL:
|
|
|
|
. Bumped required libpq version to 9.1. (cmb)
|
|
|
|
|
2020-11-19 22:27:49 +08:00
|
|
|
- PGSQL:
|
|
|
|
. Bumped required libpq version to 9.1. (cmb)
|
|
|
|
|
|
|
|
- Phpdbg:
|
2020-08-05 04:24:26 +08:00
|
|
|
. Fixed bug #76596 (phpdbg support for display_errors=stderr). (kabel)
|
|
|
|
. Fixed bug #76801 (too many open files). (alekitto)
|
|
|
|
. Fixed bug #77800 (phpdbg segfaults on listing some conditional breakpoints).
|
|
|
|
(krakjoe)
|
|
|
|
. Fixed bug #77805 (phpdbg build fails when readline is shared). (krakjoe)
|
|
|
|
|
|
|
|
- Reflection:
|
|
|
|
. Fixed bug #64592 (ReflectionClass::getMethods() returns methods out of
|
|
|
|
scope). (Nikita)
|
|
|
|
. Fixed bug #69180 (Reflection does not honor trait conflict resolution /
|
|
|
|
method aliasing). (Nikita)
|
|
|
|
. Fixed bug #74939 (Nested traits' aliased methods are lowercased). (Nikita)
|
2020-11-19 22:27:49 +08:00
|
|
|
. Fixed bug #77325 (ReflectionClassConstant::$class returns wrong class when
|
|
|
|
extending). (Nikita)
|
|
|
|
. Fixed bug #78697 (ReflectionClass::implementsInterface - inaccurate error
|
|
|
|
message with traits). (villfa)
|
|
|
|
. Fixed bug #80190 (ReflectionMethod::getReturnType() does not handle static
|
|
|
|
as part of union type). (Nikita)
|
|
|
|
. Fixed bug #80299 (ReflectionFunction->invokeArgs confused in arguments).
|
|
|
|
(Nikita)
|
|
|
|
. Fixed bug #80370 (getAttributes segfault on dynamic properties). (Benjamin
|
|
|
|
Eberlei)
|
2020-08-05 04:24:26 +08:00
|
|
|
. Implement #79628 (Add $filter parameter for ReflectionClass::getConstants
|
|
|
|
and ReflectionClass::getReflectionConstants) (carusogabriel)
|
2020-11-19 22:27:49 +08:00
|
|
|
. Implement ReflectionProperty::hasDefaultValue and
|
|
|
|
Reflection::getDefaultValue (beberlei)
|
|
|
|
|
|
|
|
- SNMP:
|
|
|
|
. Fixed bug #70461 (disable md5 code when it is not supported in net-snmp).
|
|
|
|
(Alexander Bergmann, cmb)
|
|
|
|
|
|
|
|
- SPL:
|
|
|
|
. Fixed bug #65006 (spl_autoload_register fails with multiple callables using
|
|
|
|
self, same method). (Nikita)
|
|
|
|
. Fixed bug #65387 (Circular references in SPL iterators are not garbage
|
|
|
|
collected). (Nikita)
|
|
|
|
. Fixed bug #71236 (Second call of spl_autoload_register() does nothing if it
|
|
|
|
has no arguments). (Nikita)
|
|
|
|
. Fixed bug #79987 (Memory leak in SplFileInfo because of missing
|
|
|
|
zend_restore_error_handling()). (Dmitry)
|
|
|
|
. SplFixedArray is now IteratorAggregate rather than Iterator. (alexdowad)
|
|
|
|
|
|
|
|
- SQLite3:
|
|
|
|
. Added SQLite3::setAuthorizer() and respective class constants. (bohwaz)
|
2020-08-05 04:24:26 +08:00
|
|
|
|
|
|
|
- Session:
|
2020-11-19 22:27:49 +08:00
|
|
|
. Fixed bug #73529 (session_decode() silently fails on wrong input). (cmb)
|
2020-08-05 04:24:26 +08:00
|
|
|
. Fixed bug #78624 (session_gc return value for user defined session
|
|
|
|
handlers). (bshaffer)
|
|
|
|
|
|
|
|
- Shmop:
|
|
|
|
. Converted shmop resources to objects. (cmb)
|
|
|
|
|
|
|
|
- SimpleXML:
|
2020-11-19 22:27:49 +08:00
|
|
|
. Fixed bug #63575 (Root elements are not properly cloned). (cmb)
|
2020-08-05 04:24:26 +08:00
|
|
|
. Fixed bug #75245 (Don't set content of elements with only whitespaces).
|
|
|
|
(eriklundin)
|
|
|
|
|
2020-11-19 22:27:49 +08:00
|
|
|
- Sodium:
|
2020-08-05 04:24:26 +08:00
|
|
|
. Fixed bug #77646 (sign_detached() strings not terminated). (Frank)
|
|
|
|
|
|
|
|
- Standard:
|
2020-11-19 22:27:49 +08:00
|
|
|
. Don't force rebuild of symbol table, when populating $http_response_header
|
|
|
|
variable by the HTTP stream wrapper. (Dmitry)
|
|
|
|
. Fixed bug #47983 (mixed LF and CRLF line endings in mail()). (cmb)
|
|
|
|
. Fixed bug #64060 (lstat_stat_variation7.phpt fails on certain file systems).
|
|
|
|
(M. Voelker, cmb)
|
|
|
|
. Fixed bug #75902 (str_replace should warn when misused with nested arrays).
|
|
|
|
(Nikita)
|
2020-08-05 04:24:26 +08:00
|
|
|
. Fixed bug #76859 (stream_get_line skips data if used with data-generating
|
|
|
|
filter). (kkopachev)
|
2020-11-19 22:27:49 +08:00
|
|
|
. Fixed bug #77204 (getimagesize(): Read error! should mention file path).
|
|
|
|
(peter279k)
|
2020-08-05 04:24:26 +08:00
|
|
|
. Fixed bug #78385 (parse_url() does not include 'query' when question mark
|
|
|
|
is the last char). (Islam Israfilov)
|
2020-11-19 22:27:49 +08:00
|
|
|
. Fixed bug #79868 (Sorting with array_unique gives unwanted result). (Nikita)
|
|
|
|
. Fixed bug #80256 (file_get_contents strip first line with chunked encoding
|
|
|
|
redirect). (Nikita)
|
|
|
|
. Fixed bug #80266 (parse_url silently drops port number 0). (cmb, Nikita)
|
|
|
|
. Fixed bug #80290 (Double free when ASSERT_CALLBACK is used with a dynamic
|
|
|
|
message). (Nikita)
|
|
|
|
. Implemented FR #78638 (__PHP_Incomplete_Class should be final). (Laruence)
|
2020-08-05 04:24:26 +08:00
|
|
|
. Made quoting of cmd execution functions consistent. (cmb)
|
|
|
|
|
2020-11-19 22:27:49 +08:00
|
|
|
- Tidy:
|
2020-08-05 04:24:26 +08:00
|
|
|
. Removed the unused $use_include_path parameter from tidy_repair_string().
|
|
|
|
(cmb)
|
|
|
|
|
2020-11-19 22:27:49 +08:00
|
|
|
- Tokenizer:
|
|
|
|
. Fixed bug #80328 (PhpToken::getAll() confusing name). (Nikita)
|
|
|
|
|
2020-08-05 04:24:26 +08:00
|
|
|
- XML:
|
|
|
|
. Fixed bug #76874 (xml_parser_free() should never leak memory). (Nikita)
|
|
|
|
|
|
|
|
- XMLWriter:
|
|
|
|
. Changed functions to accept/return XMLWriter objects instead of resources.
|
|
|
|
(cmb)
|
|
|
|
. Implemented FR #79344 (xmlwriter_write_attribute_ns: $prefix should be
|
|
|
|
nullable). (cmb)
|
2020-11-19 22:27:49 +08:00
|
|
|
. Removed return types from XMLWriter stubs. (cmb)
|
2020-08-05 04:24:26 +08:00
|
|
|
|
|
|
|
- Zip:
|
|
|
|
. Add "flags" options to ZipArchive::addGlob and addPattern methods
|
|
|
|
keeping previous behavior having FL_OVERWRITE by default. (Remi)
|
2020-11-19 22:27:49 +08:00
|
|
|
. Add ZipArchive::EM_UNKNOWN and ZipArchive::EM_TRAD_PKWARE constants. (Remi)
|
|
|
|
. Add ZipArchive::isCompressionMethodSupported() and
|
|
|
|
ZipArchive::isEncryptionMethodSupported() method (libzip 1.7.0). (Remi)
|
2020-08-05 04:24:26 +08:00
|
|
|
. Add ZipArchive::replaceFile() method. (Remi)
|
2020-11-19 22:27:49 +08:00
|
|
|
. Add ZipArchive::setCancelCallback method (since libzip 1.6.0). (Remi)
|
|
|
|
. Add ZipArchive::setMtimeName and ZipArchive::setMtimeIndex methods. (Remi)
|
|
|
|
. Add ZipArchive::setProgressCallback method (since libzip 1.3.0). (Remi)
|
2020-08-05 04:24:26 +08:00
|
|
|
. Add lastId property to ZipArchive. (Remi)
|
2020-11-19 22:27:49 +08:00
|
|
|
. Add optional "flags" parameter to ZipArchive::addEmptyDir, addFile and
|
|
|
|
addFromString methods. (Remi)
|
2020-08-05 04:24:26 +08:00
|
|
|
. Fixed bug #50678 (files extracted by ZipArchive class lost their
|
|
|
|
original modified time). (Remi)
|
2020-11-19 22:27:49 +08:00
|
|
|
. Fixed bug #72374 (remove_path strips first char of filename). (tyage, Remi)
|
2020-08-05 04:24:26 +08:00
|
|
|
. Implemented FR #77960 (add compression / encryption options for
|
|
|
|
ZipArchive::addGlob and ZipArchive::addPattern). (Remi)
|
2020-11-19 22:27:49 +08:00
|
|
|
. ZipArchive::status and ZipArchive::statusSys properties and
|
|
|
|
ZipArchive::getStatusString() method stay valid after the archive
|
|
|
|
is closed. (Remi)
|
2020-08-05 04:24:26 +08:00
|
|
|
|
|
|
|
- Zlib:
|
|
|
|
. Fixed bug #71417 (fread() does not report zlib.inflate errors). (cmb)
|
2020-11-19 22:27:49 +08:00
|
|
|
. Fixed bug #78792 (zlib.output_compression disabled by Content-Type: image/).
|
|
|
|
(cmb)
|
2020-04-20 19:27:35 +08:00
|
|
|
|