mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
As is, methods of PHP can never be called, because we're first trying to read the property with the name of the method. We fix this by first checking for `DISPATCH_METHOD` and treat that as method call, if the method would be callable. Only otherwise we try to access the respective property. It needs to be noted that this breaks code which accesses a property of an object, which defines a method of the same name. However, instances of such classes should never be wrapped in variants, because this can't be distinguished by COM anyway. Closes GH-16945.
83 lines
2.5 KiB
Plaintext
83 lines
2.5 KiB
Plaintext
PHP NEWS
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
?? ??? ????, PHP 8.5.0alpha1
|
|
|
|
- COM:
|
|
. Fixed property access of PHP objects wrapped in variant. (cmb)
|
|
. Fixed method calls for PHP objects wrapped in variant. (cmb)
|
|
|
|
- Core:
|
|
. Fixed bug GH-16665 (\array and \callable should not be usable in
|
|
class_alias). (nielsdos)
|
|
. Added PHP_BUILD_DATE constant. (cmb)
|
|
|
|
- Curl:
|
|
. Added curl_multi_get_handles(). (timwolla)
|
|
|
|
- DOM:
|
|
. Added Dom\Element::$outerHTML. (nielsdos)
|
|
. Added Dom\Element::insertAdjacentHTML(). (nielsdos)
|
|
|
|
- Intl:
|
|
. Bumped ICU requirement to ICU >= 57.1. (cmb)
|
|
|
|
- OPcache:
|
|
. Fixed ZTS OPcache build on Cygwin. (cmb)
|
|
. Added opcache.file_cache_read_only. (Samuel Melrose)
|
|
|
|
- Output:
|
|
. Fixed calculation of aligned buffer size. (cmb)
|
|
|
|
- PDO_PGSQL:
|
|
. Added Iterable support for PDO::pgsqlCopyFromArray. (KentarouTakeda)
|
|
. 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)
|
|
|
|
- PGSQL:
|
|
. Added pg_close_stmt to close a prepared statement while allowing
|
|
its name to be reused. (David Carlier)
|
|
. Added Iterable support for pgsql_copy_from. (David Carlier)
|
|
|
|
- POSIX:
|
|
. Added POSIX_SC_OPEN_MAX constant to get the number of file descriptors
|
|
a process can handle. (David Carlier)
|
|
|
|
- Random:
|
|
. Moves from /dev/urandom usage to arc4random_buf on Haiku. (David Carlier)
|
|
|
|
- Reflection:
|
|
. Added ReflectionConstant::getExtension() and ::getExtensionName().
|
|
(DanielEScherzer)
|
|
|
|
- SOAP:
|
|
. Fixed bug #49169 (SoapServer calls wrong function, although "SOAP action"
|
|
header is correct). (nielsdos)
|
|
|
|
- Sockets:
|
|
. Added IPPROTO_ICMP/IPPROTO_ICMPV6 to create raw socket for ICMP usage.
|
|
(David Carlier)
|
|
. Added TCP_FUNCTION_BLK to change the TCP stack algorithm on FreeBSD.
|
|
(David Carlier)
|
|
|
|
- Standard:
|
|
. Fixed crypt() tests on musl when using --with-external-libcrypt
|
|
(Michael Orlitzky).
|
|
|
|
- Windows:
|
|
. Fixed bug GH-10992 (Improper long path support for relative paths). (cmb,
|
|
nielsdos)
|
|
|
|
- XMLWriter:
|
|
. Improved performance and reduce memory consumption. (nielsdos)
|
|
|
|
- XSL:
|
|
. Implement request #30622 (make $namespace parameter functional). (nielsdos)
|
|
|
|
- Zlib:
|
|
. gzfile, gzopen and readgzfile, their "use_include_path" argument
|
|
is now a boolean. (David Carlier)
|
|
|
|
|
|
<<< NOTE: Insert NEWS from last stable release here prior to actual release! >>>
|