|
1 | 1 | PHP NEWS
|
2 | 2 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
3 |
| -?? ??? ????, PHP 8.0.0beta1 |
4 |
| - |
5 |
| -- Core: |
6 |
| - . Fixed bug #78236 (convert error on receiving variables when duplicate [). |
7 |
| - (cmb) |
8 |
| - . Fixed bug #79108 (Referencing argument in a function makes it a reference |
9 |
| - in the stack trace). (Nikita) |
10 |
| - . Fixed bug #79897 (Promoted constructor params with attribs cause crash). |
11 |
| - (Deus Kane) |
12 |
| - |
13 |
| -- Date: |
14 |
| - . Fixed bug #60302 (DateTime::createFromFormat should new static(), not new |
15 |
| - self()). (Derick) |
16 |
| - . Implemented FR #79903 (datetime: new format "p", same as "P" but returning |
17 |
| - "Z" for UTC). (gharlan) |
18 |
| - |
19 |
| -- JIT: |
20 |
| - . Fixed bug #79864 (JIT segfault in Symfony OptionsResolver). (Dmitry) |
21 |
| - . Fixed bug #79888 (Incorrect execution with JIT enabled). (Dmitry) |
22 |
| - |
23 |
| -- LDAP: |
24 |
| - . Fixed memory leaks. (ptomulik) |
25 |
| - |
26 |
| -- OCI8: |
27 |
| - . Modernized oci_register_taf_callback() callable argument parsing |
28 |
| - implementation. (girgias) |
29 |
| - |
30 |
| -23 Jul 2020, PHP 8.0.0alpha3 |
31 |
| - |
32 |
| -- Core: |
33 |
| - . Fixed bug #79790 ("Illegal offset type" exception during AST evaluation |
34 |
| - not handled properly). (Nikita) |
35 |
| - . Fixed bug #79791 (Assertion failure when unsetting variable during binary |
36 |
| - op). (Nikita) |
37 |
| - . Fixed bug #79841 (Syntax error in configure / unescaped "[]" in php.m4). |
38 |
| - (Nikita) |
39 |
| - . Fixed bug #79828 (Segfault when trying to access non-existing variable). |
40 |
| - (Nikita) |
41 |
| - . Fixed bug #79852 (count(DOMNodeList) doesn't match |
42 |
| - count(IteratorIterator(DOMNodeList))). (Nikita) |
43 |
| - . Fixed bug #79867 (Promoted untyped properties should get null default |
44 |
| - value). (Nikita) |
45 |
| - |
46 |
| -- Standard: |
47 |
| - . Fixed bug #79868 (Sorting with array_unique gives unwanted result). (Nikita) |
48 |
| - |
49 |
| -09 Jul 2020, PHP 8.0.0alpha2 |
50 |
| - |
51 |
| -- FFI: |
52 |
| - . Fixed bug #79749 (Converting FFI instances to bool fails). (cmb) |
53 |
| - |
54 |
| -- JIT: |
55 |
| - . Fixed bug #79743 (Fatal error when assigning to array property |
56 |
| - with JIT enabled). (Laruence) |
57 |
| - |
58 |
| -- PCRE: |
59 |
| - . Updated to PCRE2 10.35. (cmb) |
60 |
| - |
61 |
| -25 Jun 2020, PHP 8.0.0alpha1 |
62 |
| - |
63 |
| -- Core: |
64 |
| - . Removed the pdo_odbc.db2_instance_name php.ini directive. (Kalle) |
65 |
| - . Fixed bug #77619 (Wrong reflection on MultipleIterator::__construct). |
66 |
| - (Fabien Villepinte) |
67 |
| - . Fixed bug #65274 (Enhance undefined class constant error with class name). |
68 |
| - (Nikita) |
69 |
| - . Fixed bug #49555 (Fatal error "Function must be a string" message should be |
70 |
| - renamed). (Nikita) |
71 |
| - . Fixed bug #70839 (Converting optional argument to variadic forbidden by LSP |
72 |
| - checks). (Nikita) |
73 |
| - . Fixed bug #69084 (Unclear error message when not implementing a renamed |
74 |
| - abstract trait function). (Nikita) |
75 |
| - . Fixed bug #62609 (Allow implementing Traversable on abstract classes). |
76 |
| - (Nikita) |
77 |
| - . Fixed bug #79462 (method_exists and property_exists incoherent behavior). |
78 |
| - (cmb) |
79 |
| - . Fixed bug #79368 ("Unexpected end of file" is not an acceptable error |
80 |
| - message). (Alex Dowad) |
81 |
| - . Fixed bug #36365 (scandir duplicates file name at every 65535th file). |
82 |
| - (cmb) |
83 |
| - . Use SSE2 instructions do locale independent strtolower. (Laruence) |
84 |
| - . Fixed bug #79521 (Check __set_state structure). (carusogabriel) |
85 |
| - . Fixed bug #79467 (data:// wrappers are writable). (cmb) |
86 |
| - . Implemented FR #47074 (phpinfo() reports "On" as 1 for the some |
87 |
| - extensions). (cmb) |
88 |
| - . Implemented FR #72089 (require() throws fatal error instead of exception). |
89 |
| - (Nikita) |
90 |
| - . Fixed bug #77966 (Cannot alias a method named "namespace"). (Nikita) |
91 |
| - |
92 |
| -- BZ2: |
93 |
| - . Fixed bug #71263 (fread() does not report bzip2.decompress errors). (cmb) |
94 |
| - |
95 |
| -- CURL: |
96 |
| - . Bumped required libcurl version to 7.29.0. (cmb) |
97 |
| - |
98 |
| -- Date: |
99 |
| - . Fixed bug #65547 (Default value for sunrise/sunset zenith still wrong). |
100 |
| - (cmb) |
101 |
| - . Fixed bug #69044 (discrepancy between time and microtime). (krakjoe) |
102 |
| - |
103 |
| -- DOM: |
104 |
| - . Add property DOMXPath::$registerNodeNamespaces and constructor argument |
105 |
| - that allow global flag to configure query() or evaluate() calls. |
106 |
| - |
107 |
| -- Enchant: |
108 |
| - . Add LIBENCHANT_VERSION macro. |
109 |
| - . Deprecate enchant_broker_set_dict_path, enchant_broker_get_dict_path, |
110 |
| - enchant_dict_add_to_personal and enchant_dict_is_in_session. |
111 |
| - . Add enchant_dict_add and enchant_dict_is_added functions. |
112 |
| - . Use libenchant-2 when available. |
113 |
| - |
114 |
| -- FPM: |
115 |
| - . Fixed bug #64865 (Search for .user.ini files from script dir up to |
116 |
| - CONTEXT_DOCUMENT_ROOT). (Will Bender) |
117 |
| - . Add pm.status_listen option. (Jakub Zelenka) |
118 |
| - |
119 |
| -- GD: |
120 |
| - . Fixed bug #55005 (imagepolygon num_points requirement). (cmb) |
121 |
| - . Replaced gd resources with objects. (Mark Randall) |
122 |
| - . Made the $num_points parameter of php_imagepolygon optional. (cmb) |
123 |
| - . Removed deprecated image2wbmp(). (cmb) |
124 |
| - . Removed deprecated png2wbmp() and jpeg2wbmp(). (cmb) |
125 |
| - . Added imagegetinterpolation(). (cmb) |
126 |
| - |
127 |
| -- Iconv: |
128 |
| - . Dropped support for iconv without proper errno setting. (cmb) |
129 |
| - |
130 |
| -- Intl: |
131 |
| - . Removed deprecated INTL_IDNA_VARIANT_2003. (cmb) |
132 |
| - |
133 |
| -- JIT: |
134 |
| - . Fixed bug #79582 (Crash seen when opcache.jit=1235 and |
135 |
| - opcache.jit_debug=2). (Laruence) |
136 |
| - . Fixed bug #77857 (Wrong result if executed with JIT). (Laruence) |
137 |
| - . Fixed bug #79255 (PHP cannot be compiled with enable JIT). |
138 |
| - (Laruence, Dmitry) |
139 |
| - |
140 |
| -- JSON: |
141 |
| - . The JSON extension is now an integral part of PHP and cannot be disabled |
142 |
| - as per RFC: https://wiki.php.net/rfc/always_enable_json (tandre) |
143 |
| - |
144 |
| -- LDAP: |
145 |
| - . Removed deprecated ldap_sort. (mcmic) |
146 |
| - |
147 |
| -- MBString: |
148 |
| - . Fixed bug #76999 (mb_regex_set_options() return current options). (cmb) |
149 |
| - . Removed the unused $is_hex parameter from mb_decode_numericentity(). (cmb) |
150 |
| - |
151 |
| -- MySQLi: |
152 |
| - . Fixed bug #76809 (SSL settings aren't respected when persistent connections |
153 |
| - are used). (fabiomsouto) |
154 |
| - |
155 |
| -- mysqlnd: |
156 |
| - . Fixed #60594 (mysqlnd exposes 160 lines of stats in phpinfo). (PeeHaa) |
157 |
| - |
158 |
| -- OCI8: |
159 |
| - . Deprecated old OCI8 function aliases. (Jens de Nies) |
160 |
| - . Removed obsolete no-op function oci_internal_debug(). (Jens de Nies) |
161 |
| - |
162 |
| -- OpCache: |
163 |
| - . Fixed bug #78654 (Incorrectly computed opcache checksum on files with |
164 |
| - non-ascii characters). (mhagstrand) |
165 |
| - . Fixed bug #76535 (Opcache does not replay compile-time warnings). (Nikita) |
166 |
| - . Fixed bug #79665 (ini_get() and opcache_get_configuration() inconsistency). |
167 |
| - (cmb) |
168 |
| - |
169 |
| -- OpenSSL: |
170 |
| - . Added Cryptographic Message Syntax (CMS) support. (Eliot Lear) |
171 |
| - |
172 |
| -- PCRE: |
173 |
| - . Don't ignore invalid escape sequences. (sjon) |
174 |
| - |
175 |
| -- PGSQL: |
176 |
| - . Bumped required libpq version to 9.1. (cmb) |
177 |
| - |
178 |
| -- PDO: |
179 |
| - . Changed default PDO error mode to exceptions. (AllenJB) |
180 |
| - . Fixed bug #77849 (Disable cloning of PDO handle/connection objects). |
181 |
| - (camporter) |
182 |
| - |
183 |
| -- PDO_OCI: |
184 |
| - . Added support for setting and getting the oracle OCI 18c call timeout. |
185 |
| - (camporter) |
186 |
| - |
187 |
| -- PDO_PGSQL: |
188 |
| - . Bumped required libpq version to 9.1. (cmb) |
189 |
| - |
190 |
| -- phpdbg: |
191 |
| - . Fixed bug #76596 (phpdbg support for display_errors=stderr). (kabel) |
192 |
| - . Fixed bug #76801 (too many open files). (alekitto) |
193 |
| - . Fixed bug #77800 (phpdbg segfaults on listing some conditional breakpoints). |
194 |
| - (krakjoe) |
195 |
| - . Fixed bug #77805 (phpdbg build fails when readline is shared). (krakjoe) |
196 |
| - |
197 |
| -- Reflection: |
198 |
| - . Fixed bug #78697 (ReflectionClass::implementsInterface - inaccurate error |
199 |
| - message with traits). (villfa) |
200 |
| - . Implement ReflectionProperty::hasDefaultValue and |
201 |
| - Reflection::getDefaultValue (beberlei) |
202 |
| - . Fixed bug #64592 (ReflectionClass::getMethods() returns methods out of |
203 |
| - scope). (Nikita) |
204 |
| - . Fixed bug #77325 (ReflectionClassConstant::$class returns wrong class when |
205 |
| - extending). (Nikita) |
206 |
| - . Fixed bug #69180 (Reflection does not honor trait conflict resolution / |
207 |
| - method aliasing). (Nikita) |
208 |
| - . Fixed bug #74939 (Nested traits' aliased methods are lowercased). (Nikita) |
209 |
| - . Implement #79628 (Add $filter parameter for ReflectionClass::getConstants |
210 |
| - and ReflectionClass::getReflectionConstants) (carusogabriel) |
211 |
| - |
212 |
| -- Session: |
213 |
| - . Fixed bug #78624 (session_gc return value for user defined session |
214 |
| - handlers). (bshaffer) |
215 |
| - . Fixed bug #73529 (session_decode() silently fails on wrong input). (cmb) |
216 |
| - |
217 |
| -- Shmop: |
218 |
| - . Converted shmop resources to objects. (cmb) |
219 |
| - |
220 |
| -- SimpleXML: |
221 |
| - . Fixed bug #75245 (Don't set content of elements with only whitespaces). |
222 |
| - (eriklundin) |
223 |
| - . Fixed bug #63575 (Root elements are not properly cloned). (cmb) |
224 |
| - |
225 |
| -- sodium: |
226 |
| - . Fixed bug #77646 (sign_detached() strings not terminated). (Frank) |
227 |
| - |
228 |
| -- SQLite3: |
229 |
| - . Added SQLite3::setAuthorizer() and respective class constants. (bohwaz) |
230 |
| - |
231 |
| -- SPL: |
232 |
| - . Fixed bug #71236 (Second call of spl_autoload_register() does nothing if it |
233 |
| - has no arguments). (Nikita) |
234 |
| - . Fixed bug #65006 (spl_autoload_register fails with multiple callables using |
235 |
| - self, same method). (Nikita) |
236 |
| - |
237 |
| -- Standard: |
238 |
| - . Implemented FR #78638 (__PHP_Incomplete_Class should be final). (Laruence) |
239 |
| - . Fixed bug #77204 (getimagesize(): Read error! should mention file path). |
240 |
| - (peter279k) |
241 |
| - . Fixed bug #76859 (stream_get_line skips data if used with data-generating |
242 |
| - filter). (kkopachev) |
243 |
| - . Fixed bug #78385 (parse_url() does not include 'query' when question mark |
244 |
| - is the last char). (Islam Israfilov) |
245 |
| - . Fixed bug #75902 (str_replace should warn when misused with nested arrays). |
246 |
| - (Nikita) |
247 |
| - . Fixed bug #47983 (mixed LF and CRLF line endings in mail()). (cmb) |
248 |
| - . Made quoting of cmd execution functions consistent. (cmb) |
249 |
| - |
250 |
| -- tidy: |
251 |
| - . Removed the unused $use_include_path parameter from tidy_repair_string(). |
252 |
| - (cmb) |
253 |
| - |
254 |
| -- XML: |
255 |
| - . Fixed bug #76874 (xml_parser_free() should never leak memory). (Nikita) |
256 |
| - |
257 |
| -- XMLWriter: |
258 |
| - . Changed functions to accept/return XMLWriter objects instead of resources. |
259 |
| - (cmb) |
260 |
| - . Implemented FR #79344 (xmlwriter_write_attribute_ns: $prefix should be |
261 |
| - nullable). (cmb) |
262 |
| - |
263 |
| -- Zip: |
264 |
| - . Fixed bug #72374 (remove_path strips first char of filename). (tyage, Remi) |
265 |
| - . Add ZipArchive::setMtimeName and ZipArchive::setMtimeIndex methods. (Remi) |
266 |
| - . Add ZipArchive::setProgressCallback method (since libzip 1.3.0). (Remi) |
267 |
| - . Add ZipArchive::setCancelCallback method (since libzip 1.6.0). (Remi) |
268 |
| - . Add optional "flags" parameter to ZipArchive::addEmptyDir, addFile and |
269 |
| - addFromString methods. (Remi) |
270 |
| - . Add "flags" options to ZipArchive::addGlob and addPattern methods |
271 |
| - keeping previous behavior having FL_OVERWRITE by default. (Remi) |
272 |
| - . Add ZipArchive::replaceFile() method. (Remi) |
273 |
| - . Add lastId property to ZipArchive. (Remi) |
274 |
| - . ZipArchive::status and ZipArchive::statusSys properties and |
275 |
| - ZipArchive::getStatusString() method stay valid after the archive |
276 |
| - is closed. (Remi) |
277 |
| - . Fixed bug #50678 (files extracted by ZipArchive class lost their |
278 |
| - original modified time). (Remi) |
279 |
| - . Implemented FR #77960 (add compression / encryption options for |
280 |
| - ZipArchive::addGlob and ZipArchive::addPattern). (Remi) |
281 |
| - . Add ZipArchive::EM_UNKNOWN and ZipArchive::EM_TRAD_PKWARE constants. (Remi) |
282 |
| - . Add ZipArchive::isCompressionMethodSupported() and |
283 |
| - ZipArchive::isEncryptionMethodSupported() method (libzip 1.7.0). (Remi) |
284 |
| - |
285 |
| -- Zlib: |
286 |
| - . Fixed bug #71417 (fread() does not report zlib.inflate errors). (cmb) |
| 3 | +?? ??? ????, PHP 8.1.0alpha1 |
287 | 4 |
|
288 | 5 | <<< NOTE: Insert NEWS from last stable release here prior to actual release! >>>
|
0 commit comments