1PHP NEWS 2||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| 3?? ??? ????, PHP 8.5.0alpha1 4 5- COM: 6 . Fixed property access of PHP objects wrapped in variant. (cmb) 7 . Fixed method calls for PHP objects wrapped in variant. (cmb) 8 9- Core: 10 . Fixed bug GH-16665 (\array and \callable should not be usable in 11 class_alias). (nielsdos) 12 . Added PHP_BUILD_DATE constant. (cmb) 13 . Added support for Closures in constant expressions. (timwolla, 14 Volker Dusch) 15 . Use `clock_gettime_nsec_np()` for high resolution timer on macOS 16 if available. (timwolla) 17 18- Curl: 19 . Added curl_multi_get_handles(). (timwolla) 20 21- Date: 22 . Fix undefined behaviour problems regarding integer overflow in extreme edge 23 cases. (nielsdos, cmb, ilutov) 24 25- DOM: 26 . Added Dom\Element::$outerHTML. (nielsdos) 27 . Added Dom\Element::insertAdjacentHTML(). (nielsdos) 28 29- Intl: 30 . Bumped ICU requirement to ICU >= 57.1. (cmb) 31 32- MySQLnd: 33 . Added mysqlnd.collect_memory_statistics to ini quick reference. 34 (hauk92) 35 36- OPcache: 37 . Fixed ZTS OPcache build on Cygwin. (cmb) 38 . Added opcache.file_cache_read_only. (Samuel Melrose) 39 40- Output: 41 . Fixed calculation of aligned buffer size. (cmb) 42 43- PDO_PGSQL: 44 . Added Iterable support for PDO::pgsqlCopyFromArray. (KentarouTakeda) 45 . Implement GH-15387 Pdo\Pgsql::setAttribute(PDO::ATTR_PREFETCH, 0) or 46 Pdo\Pgsql::prepare(…, [ PDO::ATTR_PREFETCH => 0 ]) make fetch() lazy 47 instead of storing the whole result set in memory (Guillaume Outters) 48 49- PGSQL: 50 . Added pg_close_stmt to close a prepared statement while allowing 51 its name to be reused. (David Carlier) 52 . Added Iterable support for pgsql_copy_from. (David Carlier) 53 54- POSIX: 55 . Added POSIX_SC_OPEN_MAX constant to get the number of file descriptors 56 a process can handle. (David Carlier) 57 . posix_ttyname() sets last_error to EBADF on invalid file descriptors, 58 posix_isatty() raises E_WARNING on invalid file descriptors, 59 posix_fpathconf checks invalid file descriptors. (David Carlier) 60 61- Random: 62 . Moves from /dev/urandom usage to arc4random_buf on Haiku. (David Carlier) 63 64- Reflection: 65 . Added ReflectionConstant::getExtension() and ::getExtensionName(). 66 (DanielEScherzer) 67 68- SOAP: 69 . Fixed bug #49169 (SoapServer calls wrong function, although "SOAP action" 70 header is correct). (nielsdos) 71 72- Sockets: 73 . Added IPPROTO_ICMP/IPPROTO_ICMPV6 to create raw socket for ICMP usage. 74 (David Carlier) 75 . Added TCP_FUNCTION_BLK to change the TCP stack algorithm on FreeBSD. 76 (David Carlier) 77 . socket_set_option() catches possible overflow with SO_RCVTIMEO/SO_SNDTIMEO 78 with timeout setting on windows. (David Carlier) 79 80- Standard: 81 . Fixed crypt() tests on musl when using --with-external-libcrypt 82 (Michael Orlitzky). 83 84- Streams: 85 . Fixed bug GH-16889 (stream_select() timeout useless for pipes on Windows). 86 (cmb) 87 88- Windows: 89 . Fixed bug GH-10992 (Improper long path support for relative paths). (cmb, 90 nielsdos) 91 . Fixed bug GH-16843 (Windows phpize builds ignore source subfolders). (cmb) 92 93- XMLWriter: 94 . Improved performance and reduce memory consumption. (nielsdos) 95 96- XSL: 97 . Implement request #30622 (make $namespace parameter functional). (nielsdos) 98 99- Zlib: 100 . gzfile, gzopen and readgzfile, their "use_include_path" argument 101 is now a boolean. (David Carlier) 102 103 104<<< NOTE: Insert NEWS from last stable release here prior to actual release! >>> 105