|
1 | 1 | PHP NEWS
|
2 | 2 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
3 |
| -?? ??? ????, PHP 8.1.0RC1 |
4 |
| - |
5 |
| -- Core: |
6 |
| - . Fixed bug #81377 (unset() of $GLOBALS sub-key yields warning). (Nikita) |
7 |
| - |
8 |
| -- COM: |
9 |
| - . Dispatch using LANG_NEUTRAL instead of LOCALE_SYSTEM_DEFAULT. (Dmitry |
10 |
| - Maksimov) |
11 |
| - |
12 |
| -- Date: |
13 |
| - . Fixed bug #80998 (Missing second with inverted interval). (Derick) |
14 |
| - . Speed up finding timezone offset information. (Derick) |
15 |
| - |
16 |
| -19 Aug 2021, PHP 8.1.0beta3 |
17 |
| - |
18 |
| -- Core: |
19 |
| - . Fixed bug #81342 (New ampersand token parsing depends on new line after it). |
20 |
| - (Nikita) |
21 |
| - . Fixed bug #81280 (Unicode characters in cli.prompt causes segfault). |
22 |
| - (krakjoe) |
23 |
| - . Fixed bug #81192 ("Declaration should be compatible with" gives incorrect |
24 |
| - line number with traits). (Nikita) |
25 |
| - . Fixed bug #78919 (CLI server: insufficient cleanup if request startup |
26 |
| - fails). (cataphract, cmb) |
27 |
| - |
28 |
| -- Date: |
29 |
| - . Fixed bug #79580 (date_create_from_format misses leap year). (Derick) |
30 |
| - . Fixed bug #80963 (DateTimeZone::getTransitions() truncated). (Derick) |
31 |
| - . Fixed bug #80974 (Wrong diff between 2 dates in different timezones). |
32 |
| - (Derick) |
33 |
| - . Fixed bug #80998 (Missing second with inverted interval). (Derick) |
34 |
| - . Fixed bug #81097 (DateTimeZone silently falls back to UTC when providing an |
35 |
| - offset with seconds). (Derick) |
36 |
| - . Fixed bug #81106 (Regression in 8.1: add() now truncate ->f). (Derick) |
37 |
| - . Fixed bug #81273 (Date interval calculation not correct). (Derick) |
38 |
| - |
39 |
| -- Mbstring: |
40 |
| - . Fixed bug #81349 (mb_detect_encoding misdetcts ASCII in some cases). |
41 |
| - (Nikita) |
42 |
| - |
43 |
| -- PDO PgSQL: |
44 |
| - . Fixed bug #81343 (pdo_pgsql: Inconsitent boolean conversion after calling |
45 |
| - closeCursor()). (Philip Hofstetter) |
46 |
| - |
47 |
| -- Phar: |
48 |
| - . Use SHA256 by default for signature. (remi) |
49 |
| - . Add support for OpenSSL_SHA256 and OpenSSL_SHA512 signature. (remi) |
50 |
| - |
51 |
| -- SNMP: |
52 |
| - . Implement SHA256 and SHA512 for security protocol. (remi) |
53 |
| - |
54 |
| -- Standard: |
55 |
| - . Fixed bug #81142 (PHP 7.3+ memory leak when unserialize() is used on an |
56 |
| - associative array). (Nikita) |
57 |
| - |
58 |
| -05 Aug 2021, PHP 8.1.0beta2 |
59 |
| - |
60 |
| -- Core: |
61 |
| - . Fixed bug #81303 (match error message improvements). (krakjoe) |
62 |
| - |
63 |
| -- Mbstring: |
64 |
| - . Fixed bug #81298 (mb_detect_encoding() segfaults when 7bit encoding is |
65 |
| - specified). (Nikita) |
66 |
| - |
67 |
| -- MySQLnd: |
68 |
| - . Fixed bug #63327 (Crash (Bus Error) in mysqlnd due to wrong alignment). |
69 |
| - (Nikita) |
70 |
| - |
71 |
| -- Opcache: |
72 |
| - . Fixed Bug #81255 (Memory leak in PHPUnit with functional JIT) |
73 |
| - . Fixed Bug #80959 (infinite loop in building cfg during JIT compilation) |
74 |
| - (Nikita, Dmitry) |
75 |
| - |
76 |
| -- Reflection: |
77 |
| - . Fixed bug #80821 (ReflectionProperty::getDefaultValue() returns current |
78 |
| - value for statics). (Nikita) |
79 |
| - . Fixed bug #80564 (ReflectionProperty::__toString() renders current value, |
80 |
| - not default value). (Nikita) |
81 |
| - |
82 |
| -- SimpleXML: |
83 |
| - . Fixed bug #81325 (Segfault in zif_simplexml_import_dom). (remi) |
84 |
| - |
85 |
| -22 Jul 2021, PHP 8.1.0beta1 |
86 |
| - |
87 |
| -- Core: |
88 |
| - . Fixed bug #81238 (Fiber support missing for Solaris Sparc). (trowski) |
89 |
| - . Fixed bug #81237 (Comparison of fake closures doesn't work). (krakjoe) |
90 |
| - |
91 |
| -- Opcache: |
92 |
| - . Fixed bug #81225 (Wrong result with pow operator with JIT enabled). |
93 |
| - (Dmitry) |
94 |
| - . Fixed bug #81249 (Intermittent property assignment failure with JIT |
95 |
| - enabled). (Dmitry) |
96 |
| - . Fixed bug #81256 (Assertion `zv != ((void *)0)' failed for "preload" with |
97 |
| - JIT). (Dmitry) |
98 |
| - |
99 |
| -- Reflection: |
100 |
| - . Fixed bug #80097 (ReflectionAttribute is not a Reflector). (beberlei) |
101 |
| - |
102 |
| -- Standard: |
103 |
| - . Fixed bug #81111 (Serialization is unexpectedly allowed on anonymous classes |
104 |
| - with __serialize()). (Nikita) |
105 |
| - |
106 |
| -08 Jul 2021, PHP 8.1.0alpha3 |
107 |
| - |
108 |
| -- Core: |
109 |
| - . Fixed bug #81202 (powerpc64 build fails on fibers). (krakjoe) |
110 |
| - . Fixed bug #80072 (Cyclic unserialize in TMPVAR operand may leak). (Nikita) |
111 |
| - |
112 |
| -- Curl: |
113 |
| - . Fixed bug #81085 (Support CURLOPT_SSLCERT_BLOB for cert strings). |
114 |
| - (camporter) |
115 |
| - |
116 |
| -- Reflection: |
117 |
| - . Fixed bug #81200 (no way to determine if Closure is static). (krakjoe) |
118 |
| - |
119 |
| -24 Jun 2021, PHP 8.1.0alpha2 |
120 |
| - |
121 |
| -- Core: |
122 |
| - . Fixed bug #81163 (__sleep allowed to return non-array). (krakjoe) |
123 |
| - |
124 |
| -- Opcache: |
125 |
| - . Fixed bug #81133 (building opcache with phpize fails). (krakjoe) |
126 |
| - . Fixed bug #81136 (opcache header not installed). (krakjoe) |
127 |
| - |
128 |
| -- PDO OCI: |
129 |
| - . Fixed bug #77120 (Support 'success with info' at connection). |
130 |
| - (Sergei Morozov) |
131 |
| - |
132 |
| -- phpdbg: |
133 |
| - . Fixed bug #81135 (unknown help topic causes assertion failure). (krakjoe) |
134 |
| - |
135 |
| -- SPL: |
136 |
| - . Fixed bug #81112 (Special json_encode behavior for SplFixedArray). (Nikita) |
137 |
| - . Fixed bug #80945 ("Notice: Undefined index" on unset() ArrayObject |
138 |
| - non-existing key). (Nikita) |
139 |
| - |
140 |
| -- Standard: |
141 |
| - . Fixed bug #81137 (hrtime breaks build on OSX before Sierra). (krakjoe) |
142 |
| - |
143 |
| -10 Jun 2021, PHP 8.1.0alpha1 |
144 |
| - |
145 |
| -- Core: |
146 |
| - . Fixed inclusion order for phpize builds on Windows. (cmb) |
147 |
| - . Added missing hashtable insertion APIs for arr/obj/ref. (Sara) |
148 |
| - . Fixed bug #75474 (function scope static variables are not bound to a unique |
149 |
| - function). (Nikita) |
150 |
| - . Fixed bug #53826 (__callStatic fired in base class through a parent call if |
151 |
| - the method is private). (Nikita) |
152 |
| - . Implemented FR #77372 (Relative file path is removed from uploaded file). |
153 |
| - (Björn Tantau) |
154 |
| - . Fixed bug #81076 (incorrect debug info on Closures with implicit binds). |
155 |
| - (krakjoe) |
156 |
| - |
157 |
| - - Standard: |
158 |
| - . Fixed bug #77627 (method_exists on Closure::__invoke inconsistency). |
159 |
| - (krakjoe) |
160 |
| - |
161 |
| -- Date: |
162 |
| - . Fixed bug #52480 (Incorrect difference using DateInterval) (Derick) |
163 |
| - . Fixed bug #62326 (date_diff() function returns false result) (Derick) |
164 |
| - . Fixed bug #64992 (dst not handled past 2038) (Derick) |
165 |
| - . Fixed bug #65003 (Wrong date diff) (Derick) |
166 |
| - . Fixed bug #66545 (DateTime. diff returns negative values) (Derick) |
167 |
| - . Fixed bug #68503 (date_diff on two dates with timezone set localised |
168 |
| - returns wrong results) (Derick) |
169 |
| - . Fixed bug #69806 (Incorrect date from timestamp) (Derick) |
170 |
| - . Fixed bug #71700 (Extra day on diff between begin and end of march 2016) |
171 |
| - (Derick) |
172 |
| - . Fixed bug #71826 (DateTime::diff confuse on timezone 'Asia/Tokyo') (Derick) |
173 |
| - . Fixed bug #73460 (Datetime add not realising it already applied DST |
174 |
| - change) (Derick) |
175 |
| - . Fixed bug #74173 (DateTimeImmutable::getTimestamp() triggers DST switch in |
176 |
| - incorrect time) (Derick) |
177 |
| - . Fixed bug #74274 (Handling DST transitions correctly) (Derick) |
178 |
| - . Fixed bug #74524 (Date diff is bad calculated, in same time zone) (Derick) |
179 |
| - . Fixed bug #75167 (DateTime::add does only care about backward DST |
180 |
| - transition, not forward) (Derick) |
181 |
| - . Fixed bug #76032 (DateTime->diff having issues with leap days for |
182 |
| - timezones ahead of UTC) (Derick) |
183 |
| - . Fixed bug #76374 (Date difference varies according day time) (Derick) |
184 |
| - . Fixed bug #77571 (DateTime's diff DateInterval incorrect in timezones from |
185 |
| - UTC+01:00 to UTC+12:00 (Derick) |
186 |
| - . Fixed bug #78452 (diff makes wrong in hour for Asia/Tehran) (Derick) |
187 |
| - . Fixed bug #79452 (DateTime::diff() generates months differently between |
188 |
| - time zones) (Derick) |
189 |
| - . Fixed bug #79698 (timelib mishandles future timestamps (triggered by 'zic |
190 |
| - -b slim')) (Derick) |
191 |
| - . Fixed bug #79716 (Invalid date time created (with day "00")) (Derick) |
192 |
| - . Fixed bug #80610 (DateTime calculate wrong with DateInterval) (Derick) |
193 |
| - . Fixed bug #80664 (DateTime objects behave incorrectly around DST |
194 |
| - transition) (Derick) |
195 |
| - . Fixed bug #80913 (DateTime(Immutable)::sub around DST yield incorrect |
196 |
| - time) (Derick) |
197 |
| - |
198 |
| -- FPM: |
199 |
| - . Added openmetrics status format. (Cees-Jan Kiewiet) |
200 |
| - . Enable process renaming on macOS. (devnexen) |
201 |
| - . Added pm.max_spawn_rate option to configure max spawn child processes rate. |
202 |
| - (Paulius Sapragonas) |
203 |
| - . Fixed bug #65800 (Events port mechanism). (psumbera) |
204 |
| - |
205 |
| -- FTP: |
206 |
| - . Convert resource<ftp> to object \FTP\Connection. (Sara) |
207 |
| - |
208 |
| -- GD: |
209 |
| - . Convert resource<gd font> to object \GdFont. (Sara) |
210 |
| - |
211 |
| -- hash: |
212 |
| - . Implemented FR #68109 (Add MurmurHash V3). (Anatol, Michael) |
213 |
| - . Implemented FR #73385 (Add xxHash support). (Anatol) |
214 |
| - |
215 |
| -- LDAP: |
216 |
| - . Convert resource<ldap link> to object \LDAP\Connection. (Máté) |
217 |
| - . Convert resource<ldap result> to object \LDAP\Result. (Máté) |
218 |
| - . Convert resource<ldap result entry> to object \LDAP\ResultEntry. (Máté) |
219 |
| - |
220 |
| -- MySQLi: |
221 |
| - . Fixed bug #70372 (Emulate mysqli_fetch_all() for libmysqlclient). (Nikita) |
222 |
| - . Fixed bug #80330 (Replace language in APIs and source code/docs). |
223 |
| - (Darek Ślusarczyk) |
224 |
| - . Fixed bug #80329 (Add option to specify LOAD DATA LOCAL white list folder |
225 |
| - (including libmysql)). (Darek Ślusarczyk) |
226 |
| - |
227 |
| -- MySQLnd: |
228 |
| - . Fixed bug #80761 (PDO uses too much memory). (Nikita) |
229 |
| - |
230 |
| -- OPcache: |
231 |
| - . Added inheritance cache. (Dmitry) |
232 |
| - |
233 |
| -- OpenSSL: |
234 |
| - . Bump minimal OpenSSL version to 1.0.2. (Jakub Zelenka) |
235 |
| - |
236 |
| -- PCRE: |
237 |
| - . Bundled PCRE2 is 10.37. |
238 |
| - |
239 |
| -- PDO: |
240 |
| - . Fixed bug #40913 (PDO_MYSQL: PDO::PARAM_LOB does not bind to a stream for |
241 |
| - fetching a BLOB). (Nikita) |
242 |
| - |
243 |
| -. PDO MySQL: |
244 |
| - . Fixed bug #80908 (PDO::lastInsertId() return wrong). (matt) |
245 |
| - . Fixed bug #81037 (PDO discards error message text from prepared |
246 |
| - statement). (Kamil Tekiela) |
247 |
| - |
248 |
| -. PDO ODBC: |
249 |
| - . Implement PDO_ATTR_SERVER_VERSION and PDO_ATTR_SERVER_INFO for |
250 |
| - PDO::getAttribute(). (Calvin Buckley) |
251 |
| - |
252 |
| -. PDO SQLite: |
253 |
| - . Fixed bug #38334 (Proper data-type support for PDO_SQLITE). (Nikita) |
254 |
| - |
255 |
| -- PgSQL: |
256 |
| - . Convert resource<pgsql link> to object \PgSql\Connection. (Máté) |
257 |
| - . Convert resource<pgsql result> to object \PgSql\Result. (Máté) |
258 |
| - . Convert resource<pgsql large object> to object \PgSql\Lob. (Máté) |
259 |
| - |
260 |
| -- PSpell: |
261 |
| - . Convert resource<pspell> to object \PSpell\Dictionary. (Sara) |
262 |
| - . Convert resource<pspell config> to object \PSpell\Config. (Sara) |
263 |
| - |
264 |
| -- readline: |
265 |
| - . Fixed bug #72998 (invalid read in readline completion). (krakjoe) |
266 |
| - |
267 |
| -- Reflection: |
268 |
| - . Implement ReflectionFunctionAbstract::getClosureUsedVariables (krakjoe) |
269 |
| - |
270 |
| -- Sodium: |
271 |
| - . Added the XChaCha20 stream cipher functions. (P.I.E. Security Team) |
272 |
| - . Added the Ristretto255 functions, which are available in libsodium 1.0.18. |
273 |
| - (P.I.E. Security Team) |
274 |
| - |
275 |
| -- SPL: |
276 |
| - . Fixed bug #80724 (FilesystemIterator::FOLLOW_SYMLINKS remove KEY_AS_FILE |
277 |
| - from bitmask). (Cameron Porter) |
| 3 | +?? ??? ????, PHP 8.2.0alpha1 |
278 | 4 |
|
279 | 5 | <<< NOTE: Insert NEWS from last stable release here prior to actual release! >>>
|
0 commit comments