2015-07-21 22:36:36 +08:00
|
|
|
PHP NEWS
|
1999-07-23 07:54:54 +08:00
|
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
2024-09-24 23:03:39 +08:00
|
|
|
?? ??? ????, PHP 8.5.0alpha1
|
2023-09-30 19:59:08 +08:00
|
|
|
|
2024-10-10 02:39:53 +08:00
|
|
|
- COM:
|
|
|
|
. Fix property access of PHP objects wrapped in variant. (cmb)
|
|
|
|
|
2024-11-03 01:52:10 +08:00
|
|
|
- Core:
|
|
|
|
. Fixed bug GH-16665 (\array and \callable should not be usable in
|
|
|
|
class_alias). (nielsdos)
|
2024-11-11 04:58:50 +08:00
|
|
|
. Added PHP_BUILD_DATE constant. (cmb)
|
2024-11-03 01:52:10 +08:00
|
|
|
|
2024-10-16 22:24:04 +08:00
|
|
|
- Curl:
|
|
|
|
. Added curl_multi_get_handles(). (timwolla)
|
|
|
|
|
2024-10-06 05:26:46 +08:00
|
|
|
- DOM:
|
|
|
|
. Added Dom\Element::$outerHTML. (nielsdos)
|
2024-11-09 17:52:06 +08:00
|
|
|
. Added Dom\Element::insertAdjacentHTML(). (nielsdos)
|
2024-10-06 05:26:46 +08:00
|
|
|
|
2024-11-04 00:27:29 +08:00
|
|
|
- Intl:
|
|
|
|
. Bumped ICU requirement to ICU >= 57.1. (cmb)
|
|
|
|
|
2024-11-24 23:09:05 +08:00
|
|
|
- OPcache:
|
|
|
|
. Fixed ZTS OPcache build on Cygwin. (cmb)
|
|
|
|
|
2024-10-03 18:24:36 +08:00
|
|
|
- Output:
|
|
|
|
. Fixed calculation of aligned buffer size. (cmb)
|
|
|
|
|
2024-09-15 15:57:18 +08:00
|
|
|
- PDO_PGSQL:
|
|
|
|
. Added Iterable support for PDO::pgsqlCopyFromArray. (KentarouTakeda)
|
2024-09-04 04:43:58 +08:00
|
|
|
. Implement GH-15387 Pdo\Pgsql::setAttribute(PDO::ATTR_PREFETCH, 0) or
|
|
|
|
Pdo\Pgsql::prepare(…, [ PDO::ATTR_PREFETCH => 0 ]) make fetch() lazy
|
|
|
|
instead of storing the whole result set in memory (Guillaume Outters)
|
2024-09-15 15:57:18 +08:00
|
|
|
|
2024-06-16 20:01:36 +08:00
|
|
|
- PGSQL:
|
|
|
|
. Added pg_close_stmt to close a prepared statement while allowing
|
|
|
|
its name to be reused. (David Carlier)
|
2024-09-30 04:28:40 +08:00
|
|
|
. Added Iterable support for pgsql_copy_from. (David Carlier)
|
2024-06-16 20:01:36 +08:00
|
|
|
|
2024-11-02 20:28:08 +08:00
|
|
|
- POSIX:
|
|
|
|
. Added POSIX_SC_OPEN_MAX constant to get the number of file descriptors
|
|
|
|
a process can handle. (David Carlier)
|
|
|
|
|
2024-09-28 21:05:54 +08:00
|
|
|
- Random:
|
|
|
|
. Moves from /dev/urandom usage to arc4random_buf on Haiku. (David Carlier)
|
|
|
|
|
2024-11-09 18:09:36 +08:00
|
|
|
- Reflection:
|
|
|
|
. Added ReflectionConstant::getExtension() and ::getExtensionName().
|
|
|
|
(DanielEScherzer)
|
|
|
|
|
2024-09-21 06:23:24 +08:00
|
|
|
- SOAP:
|
|
|
|
. Fixed bug #49169 (SoapServer calls wrong function, although "SOAP action"
|
|
|
|
header is correct). (nielsdos)
|
|
|
|
|
2024-11-09 20:24:06 +08:00
|
|
|
- Sockets:
|
|
|
|
. Added IPPROTO_ICMP/IPPROTO_ICMPV6 to create raw socket for ICMP usage.
|
|
|
|
(David Carlier)
|
2024-11-18 17:58:08 +08:00
|
|
|
. Added TCP_FUNCTION_BLK to change the TCP stack algorithm on FreeBSD.
|
|
|
|
(David Carlier)
|
2024-11-09 20:24:06 +08:00
|
|
|
|
2024-11-07 22:56:38 +08:00
|
|
|
- Standard:
|
|
|
|
. Fixed crypt() tests on musl when using --with-external-libcrypt
|
|
|
|
(Michael Orlitzky).
|
|
|
|
|
Fix GH-10992: Improper long path support for relative paths
Relative paths are passed to the ioutils APIs, these are not properly
converted to long paths. If the path length already exceeds a given
threshold (usually 259 characters, but only 247 for `mkdir()`), the
long path prefix is prepended, resulting in an invalid path, since long
paths have to be absolute. If the path length does not exceed that
threshold, no conversion to a long path is done, although that may be
necessary.
Thus we take the path length of the current working directory into
account when checking the threshold, and prepend it to the filename if
necessary.
Since this is only relevant for NTS builds, and using the current
working directory of the process would be erroneous for ZTS builds, we
skip the new code for ZTS builds.
Closes GH-16687.
2024-11-05 06:41:09 +08:00
|
|
|
- Windows:
|
|
|
|
. Fixed bug GH-10992 (Improper long path support for relative paths). (cmb,
|
|
|
|
nielsdos)
|
|
|
|
|
2024-09-29 18:35:36 +08:00
|
|
|
- XMLWriter:
|
|
|
|
. Improved performance and reduce memory consumption. (nielsdos)
|
|
|
|
|
2024-09-30 03:45:55 +08:00
|
|
|
- XSL:
|
|
|
|
. Implement request #30622 (make $namespace parameter functional). (nielsdos)
|
|
|
|
|
2024-10-14 19:42:01 +08:00
|
|
|
- Zlib:
|
|
|
|
. gzfile, gzopen and readgzfile, their "use_include_path" argument
|
|
|
|
is now a boolean. (David Carlier)
|
|
|
|
|
|
|
|
|
2013-05-17 17:22:04 +08:00
|
|
|
<<< NOTE: Insert NEWS from last stable release here prior to actual release! >>>
|