Permalink
Newer
100644
316 lines (262 sloc)
12.5 KB
|
|
||
| 1 | PHP NEWS | |
|
|
||
| 2 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| | |
|
|
||
| 3 | 06 Jul 2017, PHP 7.2.0alpha3 | |
|
|
||
| 4 | ||
|
|
||
| 5 | - Core: | |
|
|
||
| 6 | . Fixed bug #74780 (parse_url() broken when query string contains colon). | |
|
|
||
| 7 | (jhdxr) | |
|
|
||
| 8 | . Fixed bug #74761 (Unary operator expected error on some systems). (petk) | |
|
|
||
| 9 | . Allow loading PHP/Zend extensions by name in ini files (extension=<name>). | |
| 10 | (francois at tekwire dot net) | |
|
|
||
| 11 | . Added object type annotation. (brzuchal) | |
|
|
||
| 12 | . Fixed bug #74815 (crash with a combination of INI entries at startup). | |
| 13 | (Anatol) | |
|
|
||
| 14 | . Fixed bug #74836 (isset on zero-prefixed numeric indexes in array broken). | |
| 15 | (Dmitry) | |
|
|
||
| 16 | ||
|
|
||
| 17 | - CLI: | |
| 18 | . Fixed bug #74849 (Process is started as interactive shell in PhpStorm). | |
| 19 | (Anatol) | |
| 20 | ||
|
|
||
| 21 | - OpenSSL: | |
| 22 | . Fixed bug #74798 (pkcs7_en/decrypt does not work if \x0a is used in content). | |
| 23 | (Anatol) | |
| 24 | ||
|
|
||
| 25 | - SPL: | |
| 26 | . Fixed bug #73471 (PHP freezes with AppendIterator). (jhdxr) | |
|
|
||
| 27 | . Fixed bug #71412 (Incorrect arginfo for ArrayIterator::__construct). | |
| 28 | (tysonandre775 at hotmail dot com) | |
|
|
||
| 29 | ||
|
|
||
| 30 | - Session: | |
| 31 | . Fixed bug #74514 (5 session functions incorrectly warn when calling in | |
| 32 | read-only/getter mode). (Yasuo) | |
| 33 | ||
|
|
||
| 34 | - Standard: | |
| 35 | . Add support for extension name as argument to dl(). | |
| 36 | (francois at tekwire dot net) | |
| 37 | ||
|
|
||
| 38 | - zlib: | |
| 39 | . Fixed bug #73944 (dictionary option of inflate_init() does not work). | |
| 40 | (wapmorgan) | |
|
|
||
| 41 | . Expose inflate_get_status() and inflate_get_read_len() functions. | |
| 42 | (Matthew Trescott) | |
|
|
||
| 43 | ||
|
|
||
| 44 | 22 Jun 2017, PHP 7.2.0alpha2 | |
|
|
||
| 45 | ||
|
|
||
| 46 | - Core: | |
| 47 | . Change PHP_OS_FAMILY value from "OSX" to "Darwin". (sb, kalle) | |
| 48 | ||
|
|
||
| 49 | - GD: | |
| 50 | . Fixed bug #74744 (gd.h: stdarg.h include missing for va_list use in | |
| 51 | gdErrorMethod). (rainer dot jung at kippdata dot de, cmb) | |
| 52 | ||
|
|
||
| 53 | - OCI8: | |
|
|
||
| 54 | . Add TAF callback (PR #2459). (KoenigsKind) | |
|
|
||
| 55 | . Fixed bug #74625 (Integer overflow in oci_bind_array_by_name). (Ingmar Runge) | |
|
|
||
| 56 | ||
|
|
||
| 57 | - OpenSSL: | |
| 58 | . Fixed bug #74720 (pkcs7_en/decrypt does not work if \x1a is used in | |
| 59 | content). (Anatol) | |
|
|
||
| 60 | . Use TLS_ANY for default ssl:// and tls:// negotiation. (kelunik) | |
|
|
||
| 61 | . Fix leak in openssl_spki_new(). (jelle at vdwaa dot nl) | |
|
|
||
| 62 | . Added openssl_pkcs7_read() and pk7 parameter to openssl_pkcs7_verify(). | |
| 63 | (jelle at vdwaa dot nl) | |
|
|
||
| 64 | ||
|
|
||
| 65 | - PDO_OCI: | |
| 66 | . Fixed Bug #74537 (Align --with-pdo-oci configure option with --with-oci8 syntax). | |
| 67 | (Tianfang Yang) | |
| 68 | ||
| 69 | - Standard: | |
|
|
||
| 70 | . Compatibility with libargon2 versions 20161029 and 20160821. | |
| 71 | (charlesportwoodii at erianna dot com) | |
|
|
||
| 72 | . Fixed Bug #74737 (mysqli_get_client_info reflection info). | |
| 73 | (mhagstrand at gmail dot com) | |
|
|
||
| 74 | ||
|
|
||
| 75 | - Streams: | |
|
|
||
| 76 | . Default ssl/single_dh_use and ssl/honor_cipher_order to true. (kelunik) | |
|
|
||
| 77 | ||
|
|
||
| 78 | - SQLite3: | |
|
|
||
| 79 | . Update to Sqlite 3.19.3. (cmb) | |
|
|
||
| 80 | . Implement writing to blobs. (bohwaz at github dot com) | |
|
|
||
| 81 | ||
|
|
||
| 82 | 08 Jun 2017, PHP 7.2.0alpha1 | |
|
|
||
| 83 | ||
|
|
||
| 84 | - Core: | |
|
|
||
| 85 | . Added ZEND_COUNT, ZEND_GET_CLASS, ZEND_GET_CALLED_CLASS, ZEND_GET_TYPE, | |
| 86 | ZEND_FUNC_NUM_ARGS, ZEND_FUNC_GET_ARGS instructions, to implement | |
| 87 | corresponding builtin functions. (Dmitry) | |
|
|
||
| 88 | . "Countable" interface is moved from SPL to Core. (Dmitry) | |
|
|
||
| 89 | . Added ZEND_IN_ARRAY instruction, implementing optimized in_array() builtin | |
| 90 | function, through hash lookup in flipped array. (Dmitry) | |
|
|
||
| 91 | . Removed IS_TYPE_IMMUTABLE (it's the same as COPYABLE & !REFCOUNTED). (Dmitry) | |
|
|
||
| 92 | . Removed the sql.safe_mode directive. (Kalle) | |
|
|
||
| 93 | . Removed support for Netware. (Kalle) | |
|
|
||
| 94 | . Renamed ReflectionClass::isIterateable() to ReflectionClass::isIterable() | |
| 95 | (alias original name for BC). (Sara) | |
|
|
||
| 96 | . Fixed bug #54535 (WSA cleanup executes before MSHUTDOWN). (Kalle) | |
|
|
||
| 97 | . Implemented FR #69791 (Disallow mail header injections by extra headers) | |
|
|
||
| 98 | (Yasuo) | |
|
|
||
| 99 | . Implemented FR #49806 (proc_nice() for Windows). (Kalle) | |
|
|
||
| 100 | . Fix pthreads detection when cross-compiling (ffontaine) | |
|
|
||
| 101 | . Fixed memory leaks caused by exceptions thrown from destructors. (Bob, | |
| 102 | Dmitry). | |
|
|
||
| 103 | . Fixed bug #73215 (uniqid() should use better random source). (Yasuo) | |
|
|
||
| 104 | . Fixed bug #73337 (try/catch not working with two exceptions inside a same | |
| 105 | operation). (Dmitry) | |
|
|
||
| 106 | . Implemented FR #72768 (Add ENABLE_VIRTUAL_TERMINAL_PROCESSING flag for | |
| 107 | php.exe). (Michele Locati) | |
|
|
||
| 108 | . Implemented "Convert numeric keys in object/array casts" RFC, fixes | |
| 109 | bugs #53838, #61655, #66173, #70925, #72254, etc. (Andrea) | |
|
|
||
| 110 | . Implemented "Deprecate and Remove Bareword (Unquoted) Strings" RFC. | |
| 111 | (Rowan Collins) | |
|
|
||
| 112 | . Raised minimum supported Windows versions to Windows 7/Server 2008 R2. | |
| 113 | (Anatol) | |
|
|
||
| 114 | . Implemented minor optimization in array_keys/array_values(). (Sara) | |
|
|
||
| 115 | . Fixed bug #73969 (segfault in debug_print_backtrace). (andrewnester) | |
|
|
||
| 116 | . Added PHP_OS_FAMILY constant to determine on which OS we are. (Jan Altensen) | |
|
|
||
| 117 | . Fixed bug #73994 (arginfo incorrect for unpack). (krakjoe) | |
|
|
||
| 118 | . Fixed bug #73973 (assertion error in debug_zval_dump). (andrewnester) | |
|
|
||
| 119 | . Fixed bug #73987 (Method compatibility check looks to original | |
| 120 | definition and not parent). (pmmaga) | |
|
|
||
| 121 | . Fixed bug #73991 (JSON_OBJECT_AS_ARRAY not respected). (Sara) | |
|
|
||
| 122 | . Fixed bug #74053 (Corrupted class entries on shutdown when a destructor | |
| 123 | spawns another object). (jim at commercebyte dot com) | |
|
|
||
| 124 | . Fixed bug #73971 (Filename got limited to MAX_PATH on Win32 when scan | |
| 125 | directory). (Anatol) | |
|
|
||
| 126 | . Fixed bug #74149 (static embed SAPI linkage error). (krakjoe) | |
|
|
||
| 127 | . Fixed bug #72359, bug #72451, bug #73706, bug #71115 and others related | |
|
|
||
| 128 | to interned strings handling in TS builds. (Anatol, Dmitry) | |
|
|
||
| 129 | . Implemented "Trailing Commas In List Syntax" RFC for group use lists only. | |
| 130 | (Sammy Kaye Powers) | |
|
|
||
| 131 | . Fixed bug #74269 (It's possible to override trait property with different | |
| 132 | loosely-equal value). (pmmaga) | |
|
|
||
| 133 | . Fixed bug #61970 (Restraining __construct() access level in subclass gives | |
| 134 | a fatal error). (pmmaga) | |
|
|
||
| 135 | . Fixed bug #63384 (Cannot override an abstract method with an abstract | |
| 136 | method). (pmmaga, wes) | |
|
|
||
| 137 | . Fixed bug #74607 (Traits enforce different inheritance rules). (pmmaga) | |
|
|
||
| 138 | . Fixed misparsing of abstract unix domain socket names. (Sara) | |
|
|
||
| 139 | ||
|
|
||
| 140 | - BCMath: | |
| 141 | . Fixed bug #46564 (bcmod truncates fractionals). (liborm85) | |
| 142 | ||
| 143 | - Calendar: | |
| 144 | . Fix integer overflows (Joshua Rogers) | |
| 145 | ||
|
|
||
| 146 | - Date: | |
|
|
||
| 147 | . Fixed bug #55407 (Impossible to prototype DateTime::createFromFormat). | |
| 148 | (kelunik) | |
|
|
||
| 149 | . Fixed bug #69587 (DateInterval properties and isset). (jhdxr) | |
|
|
||
| 150 | . Fixed bug #74404 (Wrong reflection on DateTimeZone::getTransitions). | |
| 151 | (krakjoe) | |
|
|
||
| 152 | . Fixed bug #74080 (add constant for RFC7231 format datetime). (duncan3dc) | |
|
|
||
| 153 | . Fixed bug #74639 (implement clone for DatePeriod and DateInterval). | |
| 154 | (andrewnester) | |
|
|
||
| 155 | . Implemented FR #71520 (Adding the DateTime constants to the | |
| 156 | DateTimeInterface interface). (Majkl578) | |
|
|
||
| 157 | ||
|
|
||
| 158 | - Dba: | |
| 159 | . Fixed bug #72885 (flatfile: dba_fetch() fails to read replaced entry). | |
| 160 | (Anatol) | |
| 161 | ||
|
|
||
| 162 | - DOM: | |
| 163 | . Fixed bug #67474 (getElementsByTagNameNS filter on default ns). (aboks) | |
|
|
||
| 164 | . Fixed bug #54382 (getAttributeNodeNS doesn't get xmlns* attributes). | |
| 165 | (aboks) | |
|
|
||
| 166 | . Fixed bug #74004 (LIBXML_NOWARNING (etc) ignored by DOMDocument::loadHTML). | |
| 167 | (somedaysummer) | |
|
|
||
| 168 | ||
|
|
||
| 169 | - EXIF: | |
|
|
||
| 170 | . Added support for vendor specific tags for the following formats: | |
|
|
||
| 171 | Samsung, DJI, Panasonic, Sony, Pentax, Minolta, Sigma/Foveon, AGFA, | |
| 172 | Kyocera, Ricoh & Epson. (Kalle) | |
|
|
||
| 173 | . Fixed bug #72682 (exif_read_data() fails to read all data for some | |
|
|
||
| 174 | images). (Kalle) | |
|
|
||
| 175 | . Fixed bug #71534 (Type confusion in exif_read_data() leading to heap | |
|
|
||
| 176 | overflow in debug mode). (hlt99 at blinkenshell dot org, Kalle) | |
|
|
||
| 177 | . Fixed bug #68547 (Exif Header component value check error). | |
|
|
||
| 178 | (sjh21a at gmail dot com, Kalle) | |
|
|
||
| 179 | . Fixed bug #66443 (Corrupt EXIF header: maximum directory nesting level | |
|
|
||
| 180 | reached for some cameras). (Kalle) | |
|
|
||
| 181 | . Fixed Redhat bug #1362571 (PHP not returning full results for | |
|
|
||
| 182 | exif_read_data function). (Kalle) | |
|
|
||
| 183 | ||
|
|
||
| 184 | - FPM: | |
| 185 | . Configuration to limit fpm slow log trace callers. (Sannis) | |
|
|
||
| 186 | . Fixed bug #69865 (php-fpm does not close stderr when using syslog). | |
|
|
||
| 187 | (Mike) | |
|
|
||
| 188 | ||
|
|
||
| 189 | - FTP: | |
|
|
||
| 190 | . Fixed bug #74598 (ftp:// wrapper ignores context arg). (Sara) | |
|
|
||
| 191 | . Implement MLSD for structured listing of directories. (blar) | |
| 192 | ||
|
|
||
| 193 | - GD: | |
| 194 | . Implemented imageresolution as getter and setter (Christoph) | |
|
|
||
| 195 | . Fixed bug #74343 (compile fails on solaris 11 with system gd2 library). | |
| 196 | (krakjoe) | |
|
|
||
| 197 | ||
|
|
||
| 198 | - GMP: | |
| 199 | . Fixed bug #70896 (gmp_fact() silently ignores non-integer input). (Sara) | |
| 200 | ||
|
|
||
| 201 | - hash: | |
| 202 | . Fixed bug #73961 (environmental build dependency in hash sha3 source). | |
| 203 | (krakjoe) | |
|
|
||
| 204 | . Changed HashContext from resource to object. (Rouven Weßling, Sara) | |
|
|
||
| 205 | ||
|
|
||
| 206 | - intl: | |
| 207 | . Fixed bug #74433 (wrong reflection for Normalizer methods). (villfa) | |
|
|
||
| 208 | . Fixed bug #74439 (wrong reflection for Locale methods). (villfa) | |
|
|
||
| 209 | . Fixed bug #74468 (wrong reflection on Collator::sortWithSortKeys). (villfa) | |
|
|
||
| 210 | . Fixed bug #63790 (test using Spoofchecker which may be unavailable). (Sara) | |
|
|
||
| 211 | ||
|
|
||
| 212 | - Mbstring: | |
|
|
||
| 213 | . Implemented request #66024 (mb_chr() and mb_ord()). (Masakielastic, Yasuo) | |
| 214 | . Implemented request #65081 (mb_scrub()). (Masakielastic, Yasuo) | |
|
|
||
| 215 | . Implemented request #69086 (enhancement for mb_convert_encoding() that | |
|
|
||
| 216 | handles multibyte replacement char nicely). (Masakielastic, Yasuo) | |
| 217 | . Added array input support to mb_convert_encoding(). (Yasuo) | |
| 218 | . Added array input support to mb_check_encoding(). (Yasuo) | |
|
|
||
| 219 | . Fixed bug #69079 (enhancement for mb_substitute_character). (masakielastic) | |
|
|
||
| 220 | . Update to oniguruma version 6.3.0. (Remi) | |
|
|
||
| 221 | ||
|
|
||
| 222 | - Mcrypt: | |
| 223 | . The deprecated mcrypt extension has been moved to PECL. (leigh) | |
| 224 | ||
|
|
||
| 225 | - MySQLi: | |
| 226 | . Fixed bug #73949 (leak in mysqli_fetch_object). (krakjoe) | |
|
|
||
| 227 | ||
|
|
||
| 228 | - mysqlnd: | |
| 229 | . Fixed bug #73800 (sporadic segfault with MYSQLI_OPT_INT_AND_FLOAT_NATIVE). | |
| 230 | (vanviegen) | |
|
|
||
| 231 | ||
|
|
||
| 232 | - OpenSSL: | |
| 233 | . Fixed bug #71519 (add serial hex to return value array). (xrobau) | |
|
|
||
| 234 | ||
|
|
||
| 235 | - PCRE: | |
|
|
||
| 236 | . Added support for PCRE JIT fast path API. (dmitry) | |
|
|
||
| 237 | . Fixed bug #61780 (Inconsistent PCRE captures in match results). (cmb) | |
|
|
||
| 238 | ||
|
|
||
| 239 | - PDO: | |
| 240 | . Add "Sent SQL" to debug dump for emulated prepares. (Adam Baratz) | |
|
|
||
| 241 | . Add parameter types for national character set strings. (Adam Baratz) | |
|
|
||
| 242 | ||
|
|
||
| 243 | - PDO_DBlib: | |
| 244 | . Fixed bug #73234 (Emulated statements let value dictate parameter type). | |
| 245 | (Adam Baratz) | |
|
|
||
| 246 | . Fixed bug #73396 (bigint columns are returned as strings). (Adam Baratz) | |
|
|
||
| 247 | . Expose DB-Library version as \PDO::DBLIB_ATTR_VERSION attribute on \PDO | |
| 248 | instance. (Adam Baratz) | |
| 249 | . Add test coverage for bug #72969. (Jeff Farr) | |
|
|
||
| 250 | ||
|
|
||
| 251 | - PDO_OCI: | |
| 252 | . Fixed bug #54379 (PDO_OCI: UTF-8 output gets truncated). (gureedo / Oracle) | |
| 253 | ||
|
|
||
| 254 | - PDO_PgSQL: | |
| 255 | . Fixed bug #73959 (lastInsertId fails to throw an exception for wrong | |
| 256 | sequence name). (andrewnester) | |
|
|
||
| 257 | ||
|
|
||
| 258 | - PDO_Sqlite | |
| 259 | . Switch to sqlite3_prepare_v2() and sqlite3_close_v2() functions (rasmus) | |
| 260 | ||
|
|
||
| 261 | - phar: | |
|
|
||
| 262 | . Fixed bug #74383 (phar method parameters reflection correction). | |
| 263 | (mhagstrand) | |
|
|
||
| 264 | . Fixed bug #74196 (phar does not correctly handle names containing dots). | |
| 265 | (mhagstrand) | |
|
|
||
| 266 | . Fixed bug #74386 (Phar::__construct reflection incorrect). (villfa) | |
|
|
||
| 267 | ||
|
|
||
| 268 | - PHPDBG | |
| 269 | . Added extended_value to opcode dump output. (Sara) | |
| 270 | ||
|
|
||
| 271 | - posix: | |
| 272 | . Fixed bug #71219 (configure script incorrectly checks for ttyname_r). (atoh) | |
|
|
||
| 273 | ||
|
|
||
| 274 | - Session: | |
|
|
||
| 275 | . Fixed bug #73461 (Prohibit session save handler recursion). (Yasuo) | |
| 276 | . PR #2233 Removed register_globals related code and "!" can be used as $_SESSION key name. (Yasuo) | |
|
|
||
| 277 | . Improved bug #73100 fix. 'user' save handler can only be set by session_set_save_handler() | |
|
|
||
| 278 | . Fixed bug #69582 (session not readable by root in CLI). (EvgeniySpinov) | |
|
|
||
| 279 | ||
|
|
||
| 280 | - SOAP: | |
| 281 | . Fixed bug #69137 (Peer verification fails when using a proxy with SoapClient) | |
| 282 | (Keith Smiley) | |
| 283 | ||
|
|
||
| 284 | - SQLite3: | |
|
|
||
| 285 | . Update to Sqlite 3.18.0. (cmb) | |
|
|
||
| 286 | . Fixed bug #74413 (incorrect reflection for SQLite3::enableExceptions). | |
| 287 | (krakjoe) | |
|
|
||
| 288 | ||
|
|
||
| 289 | - Standard: | |
| 290 | . Add subject to mail log. (tomsommer) | |
|
|
||
| 291 | . Fixed bug #31875 (get_defined_functions additional param to exclude | |
| 292 | disabled functions). (willianveiga) | |
|
|
||
| 293 | . Fixed bug #69442 (closing of fd incorrect when PTS enabled). (jaytaph) | |
|
|
||
| 294 | . Fixed bug #72974 (imap is undefined service on AIX). (matthieu.sarter) | |
|
|
||
| 295 | . Fixed bug #72979 (money_format stores wrong length AIX). (matthieu.sarter) | |
|
|
||
| 296 | . Fixed bug #74300 (unserialize accepts two plus/minus signs for float number exponent part). | |
| 297 | (xKerman) | |
|
|
||
| 298 | . Fixed bug #74556 (stream_socket_get_name() returns '\0'). (Sara) | |
|
|
||
| 299 | ||
|
|
||
| 300 | - XML: | |
| 301 | . Moved utf8_encode() and utf8_decode() to the Standard extension. (Andrea) | |
|
|
||
| 302 | . Fixed bug #72135 (malformed XML causes fault) (edgarsandi) | |
|
|
||
| 303 | ||
|
|
||
| 304 | - xmlreader: | |
| 305 | . Fixed bug #74457 (Wrong reflection on XMLReader::expand). (villfa) | |
|
|
||
| 306 | ||
|
|
||
| 307 | - XMLRPC: | |
| 308 | . Use Zend MM for allocation in bundled libxmlrpc (Joe) | |
| 309 | ||
|
|
||
| 310 | - ZIP: | |
|
|
||
| 311 | . Add support for encrypted archives. (Remi) | |
|
|
||
| 312 | . Use of bundled libzip is deprecated, --with-libzip option is recommended. (Remi) | |
|
|
||
| 313 | . Fixed Bug #73803 (Reflection of ZipArchive does not show public properties). (Remi) | |
|
|
||
| 314 | ||
|
|
||
| 315 | <<< NOTE: Insert NEWS from last stable release here prior to actual release! >>> |