2015-07-21 22:36:36 +08:00
|
|
|
PHP NEWS
|
1999-07-23 07:54:54 +08:00
|
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
2023-08-30 00:19:01 +08:00
|
|
|
?? ??? ????, PHP 8.4.0alpha1
|
2023-08-30 00:14:11 +08:00
|
|
|
|
2024-02-05 15:31:24 +08:00
|
|
|
- Core:
|
2023-12-10 00:12:48 +08:00
|
|
|
. Added zend_call_stack_get implementation for NetBSD, DragonFlyBSD,
|
|
|
|
Solaris and Haiku. (David Carlier)
|
2023-09-24 02:42:24 +08:00
|
|
|
. Enabled ifunc checks on FreeBSD from the 12.x releases. (Freaky)
|
2024-01-07 21:38:26 +08:00
|
|
|
. Changed the type of PHP_DEBUG and PHP_ZTS constants to bool. (haszi)
|
2024-01-20 07:46:34 +08:00
|
|
|
. Fixed bug GH-13142 (Undefined variable name is shortened when contains \0).
|
|
|
|
(nielsdos)
|
2024-01-18 22:47:59 +08:00
|
|
|
. Fixed bug GH-13178 (Iterator positions incorrect when converting packed
|
|
|
|
array to hashed). (ilutov)
|
2024-02-04 05:18:59 +08:00
|
|
|
. Fixed zend fiber build for solaris default mode (32 bits). (David Carlier)
|
2024-02-03 22:54:23 +08:00
|
|
|
. Fixed zend call stack size for macOs/arm64. (David Carlier)
|
2024-02-16 19:49:20 +08:00
|
|
|
. Added support for Zend Max Execution Timers on FreeBSD (Kévin Dunglas)
|
2023-08-30 00:14:11 +08:00
|
|
|
|
2024-02-05 15:31:24 +08:00
|
|
|
- Curl:
|
2024-01-10 17:41:24 +08:00
|
|
|
. Deprecated the CURLOPT_BINARYTRANSFER constant. (divinity76)
|
2024-01-31 21:48:17 +08:00
|
|
|
. Bumped required libcurl version to 7.61.0. (Ayesh)
|
2024-01-10 17:41:24 +08:00
|
|
|
|
2024-02-05 15:31:24 +08:00
|
|
|
- Date:
|
2023-11-22 23:25:01 +08:00
|
|
|
. Added DateTime[Immutable]::createFromTimestamp. (Marc Bennewitz)
|
2024-02-05 20:14:18 +08:00
|
|
|
. Added DateTime[Immutable]::[get|set]Microseconds. (Marc Bennewitz)
|
2023-11-22 23:25:01 +08:00
|
|
|
|
2024-02-05 15:31:24 +08:00
|
|
|
- DOM:
|
2023-09-09 07:14:26 +08:00
|
|
|
. Added DOMNode::compareDocumentPosition(). (nielsdos)
|
2023-09-23 00:46:18 +08:00
|
|
|
. Implement #53655 (Improve speed of DOMNode::C14N() on large XML documents).
|
|
|
|
(nielsdos)
|
2023-10-29 01:21:02 +08:00
|
|
|
. Fix cloning attribute with namespace disappearing namespace. (nielsdos)
|
2023-11-14 03:18:19 +08:00
|
|
|
. Implement DOM HTML5 parsing and serialization RFC. (nielsdos)
|
2023-11-28 15:19:46 +08:00
|
|
|
. Fix DOMElement->prefix with empty string creates bogus prefix. (nielsdos)
|
2023-12-05 06:49:25 +08:00
|
|
|
. Handle OOM more consistently. (nielsdos)
|
2024-01-13 07:00:26 +08:00
|
|
|
. Implemented "Improve callbacks in ext/dom and ext/xsl" RFC. (nielsdos)
|
2023-09-09 07:14:26 +08:00
|
|
|
|
2024-02-14 04:11:57 +08:00
|
|
|
- Fileinfo:
|
|
|
|
. Update to libmagic 5.45. (nielsdos)
|
|
|
|
|
2024-02-05 15:31:24 +08:00
|
|
|
- FPM:
|
2023-11-26 07:11:22 +08:00
|
|
|
. Implement GH-12385 (flush headers without body when calling flush()).
|
|
|
|
(nielsdos)
|
2024-01-06 02:53:49 +08:00
|
|
|
. Added DragonFlyBSD system to the list which set FPM_BACKLOG_DEFAULT
|
|
|
|
to SOMAXCONN. (David Carlier)
|
2023-11-26 07:11:22 +08:00
|
|
|
|
2024-02-05 15:31:24 +08:00
|
|
|
- FTP:
|
2023-10-30 00:25:18 +08:00
|
|
|
. Removed the deprecated inet_ntoa call support. (David Carlier)
|
|
|
|
|
2024-02-05 15:31:24 +08:00
|
|
|
- GD:
|
Fix detection of image formats in system gd library
- Use gdFontCacheShutdown() to detect freetype
Currently we look for gdImageStringFT() to determine whether or not gd
has freetype support... but that function always exists. This leads
PHP to believe that gd has freetype support when it does not, and can
lead to build failures.
The gdFontCacheShutdown() function, on the other hand, is only present
when gd was built with freetype support. Let's use that instead.
- Fix GD image format detection
We currently check for, say, AVIF support by attempting to link a
program that calls libgd's gdImageCreateFromAvif() function. But
perversely, that function always exists in libgd; moreover when AVIF
support is missing it emits a warning and returns normally. Thus
our straightforward link test becomes not so straightforward.
This commit adds a new macro PHP_GD_CHECK_FORMAT that compiles, links,
and runs a test program instead. The test program overrides that "emit
a warning" handler so that the program actually fails if the format
we're looking for is not supported. This fixes detection of AVIF and
the other formats we check for in an external libgd.
- ext/gd/tests/bug77391.phpt: skip if gd lacks BMP support
I don't actually know how to remove BMP support from libgd, but PHP
has a ./configure test for it, so we should probably treat it as
optional.
Closes GH-12019
2023-12-27 21:12:32 +08:00
|
|
|
. Fixed detection of image formats in system gd library. (Michael Orlitzky)
|
|
|
|
|
2024-02-05 15:31:24 +08:00
|
|
|
- IMAP:
|
|
|
|
. Moved to PECL. (Derick Rethans)
|
|
|
|
|
|
|
|
- Intl:
|
2023-09-21 12:51:52 +08:00
|
|
|
. Added IntlDateFormatter::PATTERN constant. (David Carlier)
|
2023-12-05 06:00:17 +08:00
|
|
|
. Fixed Numberformatter::__construct when the locale is invalid, now
|
|
|
|
throws an exception. (David Carlier)
|
2023-12-21 20:28:05 +08:00
|
|
|
. Added NumberFormatter::ROUND_TOWARD_ZERO and ::ROUND_AWAY_FROM_ZERO as
|
|
|
|
aliases for ::ROUND_DOWN and ::ROUND_UP. (Jorg Sowa)
|
2024-01-19 01:29:32 +08:00
|
|
|
. Added NumberFormatter::ROUND_HALFODD. (Ayesh Karunaratne)
|
2023-09-21 12:51:52 +08:00
|
|
|
|
2024-02-16 02:53:45 +08:00
|
|
|
- LDAP:
|
|
|
|
. Added LDAP_OPT_X_TLS_PROTOCOL_MAX/LDAP_OPT_X_TLS_PROTOCOL_TLS1_3
|
|
|
|
constants. (StephenWall)
|
|
|
|
|
2024-02-05 15:31:24 +08:00
|
|
|
- MBString:
|
2023-11-24 18:47:32 +08:00
|
|
|
. Added mb_trim, mb_ltrim and mb_rtrim. (Yuya Hamada)
|
|
|
|
|
2024-02-05 15:31:24 +08:00
|
|
|
- Opcache:
|
2022-02-05 05:14:52 +08:00
|
|
|
. Added large shared segments support for FreeBSD. (David Carlier)
|
2023-11-17 03:36:34 +08:00
|
|
|
. If JIT is enabled, PHP will now exit with a fatal error on startup in case
|
|
|
|
of JIT startup initialization issues. (danog)
|
2022-02-05 05:14:52 +08:00
|
|
|
|
2024-02-05 15:31:24 +08:00
|
|
|
- OpenSSL:
|
2023-12-20 07:14:53 +08:00
|
|
|
. Fixed bug #80269 (OpenSSL sets Subject wrong with extraattribs parameter).
|
|
|
|
(Jakub Zelenka)
|
2023-12-21 00:11:30 +08:00
|
|
|
. Implement request #48520 (openssl_csr_new - allow multiple values in DN).
|
|
|
|
(Jakub Zelenka)
|
2024-01-05 22:43:24 +08:00
|
|
|
. Introduced new serial_hex parameter to openssl_csr_sign. (Jakub Zelenka,
|
|
|
|
Florian Sowade)
|
2024-01-15 01:10:12 +08:00
|
|
|
. Added X509_PURPOSE_OCSP_HELPER and X509_PURPOSE_TIMESTAMP_SIGN constants.
|
|
|
|
(Vincent Jardin)
|
2023-12-20 07:14:53 +08:00
|
|
|
|
2024-01-08 05:16:26 +08:00
|
|
|
- Output:
|
|
|
|
. Clear output handler status flags during handler initialization. (haszi)
|
|
|
|
|
2024-02-05 15:31:24 +08:00
|
|
|
- PDO:
|
2024-01-12 21:15:30 +08:00
|
|
|
. Fixed setAttribute and getAttribute. (SakiTakamachi)
|
|
|
|
. Implemented PDO driver-specific subclasses RFC. (danack, kocsismate)
|
2023-12-05 00:05:30 +08:00
|
|
|
|
2024-02-05 15:31:24 +08:00
|
|
|
- PDO_DBLIB:
|
2024-01-12 21:15:30 +08:00
|
|
|
. Fixed setAttribute and getAttribute. (SakiTakamachi)
|
2024-01-12 05:58:28 +08:00
|
|
|
. Added class PdoDbLib (danack, kocsismate)
|
2023-12-05 00:05:30 +08:00
|
|
|
|
2024-02-05 15:31:24 +08:00
|
|
|
- PDO_FIREBIRD:
|
2024-01-12 21:15:30 +08:00
|
|
|
. Fixed setAttribute and getAttribute. (SakiTakamachi)
|
|
|
|
. Feature: Add transaction isolation level and mode settings to pdo_firebird.
|
2023-12-08 01:34:55 +08:00
|
|
|
(SakiTakamachi)
|
2024-01-12 05:58:28 +08:00
|
|
|
. Added class PdoFirebird. (danack, kocsismate)
|
2023-12-05 00:05:30 +08:00
|
|
|
|
2024-02-05 15:31:24 +08:00
|
|
|
- PDO_MYSQL:
|
2024-01-12 21:15:30 +08:00
|
|
|
. Fixed setAttribute and getAttribute. (SakiTakamachi)
|
2024-01-12 05:58:28 +08:00
|
|
|
. Added class PdoMysql. (danack, kocsismate)
|
|
|
|
|
2024-02-05 15:31:24 +08:00
|
|
|
- PDO_ODBC:
|
2024-01-12 05:58:28 +08:00
|
|
|
. Added class PdoOdbc. (danack, kocsismate)
|
2023-12-05 00:05:30 +08:00
|
|
|
|
2024-02-05 15:31:24 +08:00
|
|
|
- PDO_PGSQL:
|
2023-10-12 09:35:42 +08:00
|
|
|
. Fixed GH-12423, DSN credentials being prioritized over the user/password
|
|
|
|
PDO constructor arguments. (SakiTakamachi)
|
2023-10-20 16:54:05 +08:00
|
|
|
. Fixed native float support with pdo_pgsql query results. (Yurunsoft)
|
2024-01-12 05:58:28 +08:00
|
|
|
. Added class PdoPgsql. (danack, kocsismate)
|
|
|
|
|
2024-02-05 15:31:24 +08:00
|
|
|
- PDO_SQLITE:
|
2024-01-12 05:58:28 +08:00
|
|
|
. Added class PdoSqlite. (danack, kocsismate)
|
2023-10-12 09:35:42 +08:00
|
|
|
|
2024-02-05 15:31:24 +08:00
|
|
|
- PGSQL:
|
2023-10-08 23:39:36 +08:00
|
|
|
. Added the possibility to have no conditions for pg_select. (OmarEmaraDev)
|
|
|
|
|
2024-02-05 15:31:24 +08:00
|
|
|
- Phar:
|
2023-10-29 01:48:01 +08:00
|
|
|
. Fixed bug GH-12532 (PharData created from zip has incorrect timestamp).
|
|
|
|
(nielsdos)
|
|
|
|
|
2024-02-05 15:31:24 +08:00
|
|
|
- POSIX:
|
2023-11-16 17:36:20 +08:00
|
|
|
. Added POSIX_SC_CHILD_MAX and POSIX_SC_CLK_TCK constants. (Jakub Zelenka)
|
|
|
|
|
2024-02-05 15:31:24 +08:00
|
|
|
- PSpell:
|
2023-11-23 00:51:04 +08:00
|
|
|
. Moved to PECL. (Derick Rethans)
|
|
|
|
|
2024-02-05 15:31:24 +08:00
|
|
|
- Reflection:
|
2023-12-10 04:37:52 +08:00
|
|
|
. Implement GH-12908 (Show attribute name/class in ReflectionAttribute dump).
|
|
|
|
(nielsdos)
|
|
|
|
|
2024-02-05 15:31:24 +08:00
|
|
|
- SimpleXML:
|
2023-09-13 02:11:28 +08:00
|
|
|
. Fixed bug GH-12192 (SimpleXML infinite loop when getName() is called
|
|
|
|
within foreach). (nielsdos)
|
2023-09-17 19:39:19 +08:00
|
|
|
. Fixed bug GH-12208 (SimpleXML infinite loop when a cast is used inside a
|
|
|
|
foreach). (nielsdos)
|
2023-09-20 03:31:26 +08:00
|
|
|
. Fixed bug #55098 (SimpleXML iteration produces infinite loop). (nielsdos)
|
2024-01-19 03:28:01 +08:00
|
|
|
. Fix signature of simplexml_import_dom(). (nielsdos)
|
2022-10-05 21:31:28 +08:00
|
|
|
|
2024-02-05 15:31:24 +08:00
|
|
|
- Sockets:
|
2024-01-31 14:58:27 +08:00
|
|
|
. Added multicast group support for ipv4 on FreeBSD. (jonathan@tangential.ca)
|
|
|
|
|
2024-02-05 15:31:24 +08:00
|
|
|
- SNMP:
|
2023-10-30 00:25:18 +08:00
|
|
|
. Removed the deprecated inet_ntoa call support. (David Carlier)
|
|
|
|
|
2024-02-05 15:31:24 +08:00
|
|
|
- SOAP:
|
2023-10-12 11:30:04 +08:00
|
|
|
. Add support for clark notation for namespaces in class map. (lxShaDoWxl)
|
2023-10-28 02:54:14 +08:00
|
|
|
. Mitigate #51561 (SoapServer with a extented class and using sessions,
|
|
|
|
lost the setPersistence()). (nielsdos)
|
2023-11-04 23:09:30 +08:00
|
|
|
. Fixed bug #49278 (SoapClient::__getLastResponseHeaders returns NULL if
|
|
|
|
wsdl operation !has output). (nielsdos)
|
2023-10-14 23:57:45 +08:00
|
|
|
. Fixed bug #44383 (PHP DateTime not converted to xsd:datetime). (nielsdos)
|
2023-10-12 11:30:04 +08:00
|
|
|
|
2024-02-05 15:31:24 +08:00
|
|
|
- Sockets:
|
2023-10-29 22:14:31 +08:00
|
|
|
. Removed the deprecated inet_ntoa call support. (David Carlier)
|
2023-12-26 23:20:13 +08:00
|
|
|
. Added the SO_EXECLUSIVEADDRUSE windows constant. (David Carlier)
|
2023-10-29 22:14:31 +08:00
|
|
|
|
2024-02-05 15:31:24 +08:00
|
|
|
- Sodium:
|
2023-12-07 08:31:42 +08:00
|
|
|
. Add support for AEGIS-128L and AEGIS-256 (jedisct1)
|
|
|
|
. Enable AES-GCM on aarch64 with the ARM crypto extensions (jedisct1)
|
|
|
|
|
2024-02-05 15:31:24 +08:00
|
|
|
- Standard:
|
2023-09-14 20:42:10 +08:00
|
|
|
. Implement GH-12188 (Indication for the int size in phpinfo()). (timwolla)
|
2023-09-20 00:05:05 +08:00
|
|
|
. Partly fix GH-12143 (Incorrect round() result for 0.49999999999999994).
|
|
|
|
(timwolla)
|
2023-09-22 23:32:09 +08:00
|
|
|
. Fix GH-12252 (round(): Validate the rounding mode). (timwolla)
|
2023-10-06 20:27:01 +08:00
|
|
|
. Increase the default BCrypt cost to 12. (timwolla)
|
2023-11-05 21:06:50 +08:00
|
|
|
. Fixed bug GH-12592 (strcspn() odd behaviour with NUL bytes and empty mask).
|
|
|
|
(nielsdos)
|
2023-10-30 00:25:18 +08:00
|
|
|
. Removed the deprecated inet_ntoa call support. (David Carlier)
|
2023-09-30 22:28:02 +08:00
|
|
|
. Cast large floats that are within int range to int in number_format so
|
2023-12-21 20:28:05 +08:00
|
|
|
the precision is not lost. (Marc Bennewitz)
|
|
|
|
. Add support for 4 new rounding modes to the round() function. (Jorg Sowa)
|
2024-01-12 08:33:14 +08:00
|
|
|
. debug_zval_dump() now indicates whether an array is packed. (Max Semenik)
|
2024-02-03 21:23:02 +08:00
|
|
|
. Fix GH-12143 (Optimize round). (SakiTakamachi)
|
2023-09-14 20:42:10 +08:00
|
|
|
|
2024-02-05 15:31:24 +08:00
|
|
|
- XML:
|
2023-10-23 02:56:29 +08:00
|
|
|
. Added XML_OPTION_PARSE_HUGE parser option. (nielsdos)
|
|
|
|
|
2024-02-05 15:31:24 +08:00
|
|
|
- XSL:
|
2023-09-30 19:59:08 +08:00
|
|
|
. Implement request #64137 (XSLTProcessor::setParameter() should allow both
|
|
|
|
quotes to be used). (nielsdos)
|
2024-01-13 07:00:26 +08:00
|
|
|
. Implemented "Improve callbacks in ext/dom and ext/xsl" RFC. (nielsdos)
|
2023-09-30 19:59:08 +08:00
|
|
|
|
2013-05-17 17:22:04 +08:00
|
|
|
<<< NOTE: Insert NEWS from last stable release here prior to actual release! >>>
|