Skip to content

Commit a63c99b

Browse files
committedJul 31, 2018
Prepare for PHP 7.4
1 parent 144e8d1 commit a63c99b

File tree

4 files changed

+6
-393
lines changed

4 files changed

+6
-393
lines changed
 

Diff for: ‎NEWS

+1-388
Original file line numberDiff line numberDiff line change
@@ -1,393 +1,6 @@
11
PHP NEWS
22
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
3-
?? ??? ????, PHP 7.3.0beta1
3+
?? ??? ????, PHP 7.4.0alpha1
44

5-
- Core:
6-
. Fixed bug #76667 (Segfault with divide-assign op and __get + __set).
7-
(Laruence)
8-
9-
- PDO_PgSQL:
10-
. Fixed bug #75402 (Possible Memory Leak using PDO::CURSOR_SCROLL option).
11-
(Anatol)
12-
13-
- SQLite3:
14-
. Fixed #76665 (SQLite3Stmt::bindValue() with SQLITE3_FLOAT doesn't juggle).
15-
(cmb)
16-
17-
- Standard:
18-
. Fixed bug #68553 (array_column: null values in $index_key become incrementing
19-
keys in result). (Laruence)
20-
. Fixed bug #76643 (Segmentation fault when using `output_add_rewrite_var`).
21-
(cmb)
22-
23-
19 Jul 2018, PHP 7.3.0alpha4
24-
25-
- Core:
26-
. Fixed bug #33502 (Some nullary functions don't check the number of
27-
arguments). (cmb)
28-
. Fixed bug #76392 (Error relocating sapi/cli/php: unsupported relocation
29-
type 37). (Peter Kokot)
30-
. The declaration and use of case-insensitive constants has been deprecated.
31-
(Nikita)
32-
. Added syslog.filter INI entry for syslog filtering. (Philip Prindeville)
33-
34-
- Calendar:
35-
. Fixed bug #52974 (jewish.c: compile error under Windows with GBK charset).
36-
(cmb)
37-
38-
- Filter:
39-
. Added the 'add_slashes' sanitization mode (FILTER_SANITIZE_ADD_SLASHES).
40-
(Kalle)
41-
. Fixed bug #76366 (References in sub-array for filtering breaks the filter).
42-
(ZiHang Gao)
43-
44-
- FPM:
45-
. Fixed bug #62596 (getallheaders() missing with PHP-FPM). (Remi)
46-
. Added fpm_get_status function. (Till Backhaus)
47-
. Fixed bug #69031 (Long messages into stdout/stderr are truncated
48-
incorrectly) - added new log related FPM configuration options:
49-
log_limit, log_buffering and decorate_workers_output. (Jakub Zelenka)
50-
51-
- mbstring:
52-
. Fixed bug #76574 (use of undeclared identifiers INT_MAX and LONG_MAX). (cmb)
53-
. Fixed bug #76594 (Bus Error due to unaligned access in zend_ini.c
54-
OnUpdateLong). (cmb, Nikita)
55-
56-
- PDO_Firebird:
57-
. Fixed bug #74462 (PDO_Firebird returns only NULLs for results with boolean
58-
for FIREBIRD >= 3.0). (Dorin Marcoci)
59-
. Fixed bug #76488 (Memory leak when fetching a BLOB field). (Simonov Denis)
60-
61-
- Standard:
62-
. Fixed bug #73817 (Incorrect entries in get_html_translation_table). (cmb)
63-
. Fixed bug #76136 (stream_socket_get_name should enclose IPv6 in brackets).
64-
(seliver)
65-
66-
- Zip:
67-
. Fixed bug #76524 (ZipArchive memory leak (OVERWRITE flag and empty archive)).
68-
(Timur Ibragimov)
69-
70-
05 Jul 2018, PHP 7.3.0alpha3
71-
72-
- Core:
73-
. Fixed bug #76534 (PHP hangs on 'illegal string offset on string references
74-
with an error handler). (Laruence)
75-
. Fixed bug #76520 (Object creation leaks memory when executed over HTTP).
76-
(Nikita)
77-
. Fixed bug #76502 (Chain of mixed exceptions and errors does not serialize
78-
properly). (Nikita)
79-
. Fixed bug #76509 (Inherited static properties can be desynchronized from
80-
their parent by ref). (Nikita)
81-
. Fixed bug #76439 (Changed behaviour in unclosed HereDoc). (Nikita, tpunt)
82-
. Added syslog.facility and syslog.ident INI entries for customizing syslog
83-
logging. (Philip Prindeville)
84-
. Fixed bug #63217 (Constant numeric strings become integers when used as
85-
ArrayAccess offset). (Rudi Theunissen, Dmitry)
86-
87-
- DOM:
88-
. Fixed bug #76285 (DOMDocument::formatOutput attribute sometimes ignored).
89-
(Andrew Nester)
90-
91-
- FPM:
92-
. Fixed bug #73342 (Vulnerability in php-fpm by changing stdin to
93-
non-blocking). (Nikita)
94-
95-
- GMP:
96-
. Fixed bug #74670 (Integer Underflow when unserializing GMP and possible
97-
other classes). (Nikita)
98-
99-
- intl:
100-
. Fixed bug #76556 (get_debug_info handler for BreakIterator shows wrong
101-
type). (cmb)
102-
103-
- mbstring:
104-
. Fixed bug #76532 (Integer overflow and excessive memory usage
105-
in mb_strimwidth). (MarcusSchwarz)
106-
107-
- OpenSSL:
108-
. Add min_proto_version and max_proto_version ssl stream options as well as
109-
related constants for possible TLS protocol values. (Jakub Zelenka)
110-
111-
- PCRE:
112-
. Fixed bug #76512 (\w no longer includes unicode characters). (cmb)
113-
. Fixed bug #76514 (Regression in preg_match makes it fail with
114-
PREG_JIT_STACKLIMIT_ERROR). (Anatol)
115-
116-
- PGSQL:
117-
. Fixed bug #76548 (pg_fetch_result did not fetch the next row). (Anatol)
118-
119-
- phpdbg:
120-
. Fix arginfo wrt. optional/required parameters. (cmb)
121-
122-
- Reflection:
123-
. Fixed bug #76536 (PHP crashes with core dump when throwing exception in
124-
error handler). (Laruence)
125-
. Fixed bug #75231 (ReflectionProperty#getValue() incorrectly works with
126-
inherited classes). (Nikita)
127-
128-
- Standard:
129-
. Fixed bug #76505 (array_merge_recursive() is duplicating sub-array keys).
130-
(Laruence)
131-
. Fixed bug #71848 (getimagesize with $imageinfo returns false). (cmb)
132-
. Fixed bug #48016 (stdClass::__setState is not defined although var_export() uses it). (Andrea)
133-
134-
- Tokenizer:
135-
. Fixed bug #76538 (token_get_all with TOKEN_PARSE flag fails to recognise
136-
close tag with newline). (Nikita)
137-
138-
21 Jun 2018, PHP 7.3.0alpha2
139-
140-
- Core:
141-
. Fixed bug #76427 (Segfault in zend_objects_store_put). (Laruence)
142-
. Fixed bug #76422 (ftruncate fails on files > 2GB). (Anatol)
143-
144-
- CLI:
145-
. Fixed bug #44217 (Output after stdout/stderr closed cause immediate exit
146-
with status 0). (Robert Lu)
147-
148-
- Date:
149-
. Fixed bug #76462 (Undefined property: DateInterval::$f). (Anatol)
150-
151-
- EXIF:
152-
. Fixed bug #76409 (heap use after free in _php_stream_free). (cmb)
153-
154-
- Interbase:
155-
. Fixed bug #76443 (php+php_interbase.dll crash on module_shutdown). (Kalle)
156-
157-
- Mysqlnd:
158-
. Fixed bug #76386 (Prepared Statement formatter truncates fractional seconds
159-
from date/time column). (Victor Csiky)
160-
161-
- Opcache:
162-
. Fixed bug #76477 (Opcache causes empty return value).
163-
(Nikita, Laruence)
164-
. Fixed bug #76466 (Loop variable confusion). (Dmitry, Laruence, Nikita)
165-
. Fixed bug #76463 (var has array key type but not value type). (Laruence)
166-
. Fixed bug #76446 (zend_variables.c:73: zend_string_destroy: Assertion
167-
`!(zval_gc_flags((str)->gc)). (Nikita, Laruence)
168-
169-
- Tokenizer:
170-
. Fixed bug #76437 (token_get_all with TOKEN_PARSE flag fails to recognise
171-
close tag). (Laruence)
172-
. Fixed bug #75218 (Change remaining uncatchable fatal errors for parsing
173-
into ParseError). (Nikita)
174-
175-
- ZIP:
176-
. Fixed bug #76461 (OPSYS_Z_CPM defined instead of OPSYS_CPM).
177-
(Dennis Birkholz, Remi)
178-
179-
07 Jun 2018, PHP 7.3.0alpha1
180-
181-
- Core:
182-
. Improved PHP GC. (Dmitry, Nikita)
183-
. Redesigned the old ext_skel program written in PHP, run:
184-
'php ext_skel.php' for all options. This means there are no dependencies,
185-
thus making it work on Windows out of the box. (Kalle)
186-
. Removed support for BeOS. (Kalle)
187-
. Add PHP_VERSION to phpinfo() <title/>. (github/MattJeevas)
188-
. Add net_get_interfaces(). (Sara, Joe, Anatol)
189-
. Implemented flexible heredoc and nowdoc syntax, per
190-
RFC https://wiki.php.net/rfc/flexible_heredoc_nowdoc_syntaxes.
191-
(Thomas Punt)
192-
. Added support for references in list() and array destructuring, per
193-
RFC https://wiki.php.net/rfc/list_reference_assignment.
194-
(David Walker)
195-
. Fixed bug #75683 (Memory leak in zend_register_functions() in ZTS mode).
196-
(Dmitry)
197-
. Fixed bug #75031 (support append mode in temp/memory streams). (adsr)
198-
. Fixed bug #74860 (Uncaught exceptions not being formatted properly when
199-
error_log set to "syslog"). (Philip Prindeville)
200-
. Fixed bug #75220 (Segfault when calling is_callable on parent).
201-
(andrewnester)
202-
. Fixed bug #69954 (broken links and unused config items in distributed ini
203-
files). (petk)
204-
. Fixed bug #74922 (Composed class has fatal error with duplicate, equal const
205-
properties). (pmmaga)
206-
. Fixed bug #63911 (identical trait methods raise errors during composition).
207-
(pmmaga)
208-
. Fixed bug #75677 (Clang ignores fastcall calling convention on variadic
209-
function). (Li-Wen Hsu)
210-
. Fixed bug #54043 (Remove inconsitency of internal exceptions and user
211-
defined exceptions). (Nikita)
212-
. Fixed bug #53033 (Mathematical operations convert objects to integers).
213-
(Nikita)
214-
. Fixed bug #73108 (Internal class cast handler uses integer instead of
215-
float). (Nikita)
216-
. Fixed bug #75765 (Fatal error instead of Error exception when base class is
217-
not found). (Timur Ibragimov)
218-
. Fixed bug #76198 (Wording: "iterable" is not a scalar type). (Levi Morrison)
219-
. Fixed bug #76137 (config.guess/config.sub do not recognize RISC-V). (cmb)
220-
. Improved effectiveness of ZEND_SECURE_ZERO for NetBSD and systems
221-
without native similar feature (devnexen).
222-
223-
- BCMath:
224-
. Fixed bug #66364 (BCMath bcmul ignores scale parameter). (cmb)
225-
. Implemented request #67855 (No way to get current scale in use). (Chris
226-
Wright, cmb)
227-
. Fixed bug #75164 (split_bc_num() is pointless). (cmb)
228-
. Fixed bug #75169 (BCMath errors/warnings bypass PHP's error handling). (cmb)
229-
230-
- cURL:
231-
. Fixed bug #74125 (Fixed finding CURL on systems with multiarch support).
232-
(cebe)
233-
234-
- Date:
235-
. Implemented FR #74668: Add DateTime::createFromImmutable() method.
236-
(majkl578, Rican7)
237-
. Fixed bug #75222 (DateInterval microseconds property always 0). (jhdxr)
238-
. Fixed bug #68406 (calling var_dump on a DateTimeZone object modifies it).
239-
(jhdxr)
240-
. Fixed bug #76131 (mismatch arginfo for date_create). (carusogabriel)
241-
242-
- DBA:
243-
. Fixed bug #75264 (compiler warnings emitted). (petk)
244-
245-
- GD:
246-
. Added support for WebP in imagecreatefromstring() (Andreas Treichel, cmb).
247-
248-
- GMP:
249-
. Export internal structures and accessor helpers for GMP object. (Sara)
250-
. Added gmp_binomial(n, k). (Nikita)
251-
. Added gmp_lcm(a, b). (Nikita)
252-
. Added gmp_perfect_power(a). (Nikita)
253-
. Added gmp_kronecker(a, b). (Nikita)
254-
255-
- interbase:
256-
. Fixed bug #75453 (Incorrect reflection for ibase_[p]connect). (villfa)
257-
258-
- intl:
259-
. Fixed bug #75317 (UConverter::setDestinationEncoding changes source instead
260-
of destination). (andrewnester)
261-
262-
- JSON:
263-
. Added JSON_THROW_ON_ERROR flag. (Andrea)
264-
265-
- LDAP:
266-
. Added ldap_exop_refresh helper for EXOP REFRESH operation with dds overlay.
267-
(Come)
268-
. Added full support for sending and parsing ldap controls (Come)
269-
. Fixed bug #49876 (Fix LDAP path lookup on 64-bit distros). (dzuelke)
270-
271-
- libxml2:
272-
. Fixed bug #75871 (use pkg-config where available). (pmmaga)
273-
274-
- litespeed:
275-
. Fixed bug #75248 (Binary directory doesn't get created when building
276-
only litespeed SAPI). (petk)
277-
. Fixed bug #75251 (Missing program prefix and suffix). (petk)
278-
279-
- mbstring:
280-
. Fixed bug #65544 (mb title case conversion-first word in quotation isn't
281-
capitalized). (Nikita)
282-
. Fixed bug #71298 (MB_CASE_TITLE misbehaves with curled apostrophe/quote.
283-
(Nikita)
284-
. Fixed bug #73528 (Crash in zif_mb_send_mail). (Nikita)
285-
. Fixed bug #74929 (mbstring functions version 7.1.1 are slow compared to 5.3
286-
on Windows). (Nikita)
287-
. Fixed bug #76319 (mb_strtolower with invalid UTF-8 causes segmentation
288-
fault). (Nikita)
289-
. Updated to Oniguruma 6.8.2. (cmb)
290-
291-
- ODBC:
292-
. Removed support for ODBCRouter. (Kalle)
293-
. Removed support for Birdstep. (Kalle)
294-
295-
- OpenSSL:
296-
. Added openssl_pkey_derive function. (Jim Zubov)
297-
298-
- PCRE:
299-
. Implemented https://wiki.php.net/rfc/pcre2-migration (Anatol, Dmitry)
300-
. Fixed bug #75355 (preg_quote() does not quote # control character).
301-
(Michael Moravec)
302-
303-
- PDO_DBlib:
304-
. Implemented request #69592 (allow 0-column rowsets to be skipped
305-
automatically). (fandrieu)
306-
. Fixed bug #74243 (allow locales.conf to drive datetime format). (fandrieu)
307-
. Expose TDS version as \PDO::DBLIB_ATTR_TDS_VERSION attribute on \PDO
308-
instance. (fandrieu)
309-
. Treat DATETIME2 columns like DATETIME. (fandrieu)
310-
311-
- PDO_OCI:
312-
. Fixed bug #74631 (PDO_PCO with PHP-FPM: OCI environment initialized
313-
before PHP-FPM sets it up). (Ingmar Runge)
314-
315-
- PDO SQLite
316-
. Add support for additional open flags
317-
318-
- pgsql:
319-
. Added new error constants for pg_result_error(): (Kalle)
320-
- Requires Postgres 9.3
321-
- PGSQL_DIAG_SCHEMA_NAME
322-
- PGSQL_DIAG_TABLE_NAME
323-
- PGSQL_DIAG_COLUMN_NAME
324-
- PGSQL_DIAG_DATATYPE_NAME
325-
- PGSQL_DIAG_CONSTRAINT_NAME
326-
- Requires Postgres 9.6
327-
- PGSQL_DIAG_SEVERITY_NONLOCALIZED
328-
329-
- phar:
330-
. Fixed bug #74991 (include_path has a 4096 char limit in some cases).
331-
(bwbroersma)
332-
. Fixed bug #65414 (deal with leading slash when adding files correctly).
333-
(bishopb)
334-
335-
- readline:
336-
. Added completion_append_character and completion_suppress_append options
337-
to readline_info() if linked against libreadline. (krageon)
338-
339-
- Session:
340-
. Fixed bug #74941 (session fails to start after having headers sent).
341-
(morozov)
342-
343-
- SimpleXML:
344-
. Fixed bug #54973 (SimpleXML casts integers wrong). (Nikita)
345-
346-
- SOAP:
347-
. Fixed bug #75464 (Wrong reflection on SoapClient::__setSoapHeaders). (villfa)
348-
. Fixed bug #70469 (SoapClient generates E_ERROR even if exceptions=1 is
349-
used). (Anton Artamonov)
350-
351-
- SPL:
352-
. Fixed bug #74977 (Appending AppendIterator leads to segfault).
353-
(Andrew Nester)
354-
. Fixed bug #75173 (incorrect behavior of AppendIterator::append in foreach
355-
loop). (jhdxr)
356-
. Fixed bug #74372 (autoloading file with syntax error uses next autoloader,
357-
may hide parse error). (Nikita)
358-
. Fixed bug #75878 (RecursiveTreeIterator::setPostfix has wrong signature).
359-
(cmb)
360-
. Fixed bug #74519 (strange behavior of AppendIterator). (jhdxr)
361-
. Fixed bug #76131 (mismatch arginfo for splarray constructor).
362-
(carusogabriel)
363-
364-
- SQLite3:
365-
. Updated bundled libsqlite to 3.24.0. (cmb)
366-
367-
- Standard:
368-
. Added is_countable() function. (Gabriel Caruso)
369-
. Fixed bug #75916 (DNS_CAA record results contain garbage). (Mike,
370-
Philip Sharp)
371-
. Fixed unserialize(), to disable creation of unsupported data structures
372-
through manually crafted strings. (Dmitry)
373-
. Fixed bug #75409 (accept EFAULT in addition to ENOSYS as indicator
374-
that getrandom() is missing). (sarciszewski)
375-
. Fixed bug #74719 (fopen() should accept NULL as context). (Alexander Holman)
376-
. Fixed bug #69948 (path/domain are not sanitized in setcookie). (cmb)
377-
. Fixed bug #75996 (incorrect url in header for mt_rand). (tatarbj)
378-
. Remove superfluous warnings from inet_ntop()/inet_pton(). (daverandom)
379-
. Added hrtime() function, to get high resolution time. (welting)
380-
381-
- Testing:
382-
. Implemented request #62055 (Make run-tests.php support --CGI-- sections).
383-
(cmb)
384-
385-
- Tidy:
386-
. Fixed bug #74707 (Tidy has incorrect ReflectionFunction param counts for
387-
functions taking tidy). (Gabriel Caruso)
388-
. Support using tidyp instead of tidy (devnexen).
389-
390-
- Zlib:
391-
. Added zlib/level context option for compress.zlib wrapper. (Sara)
3925

3936
<<< NOTE: Insert NEWS from last stable release here prior to actual release! >>>

0 commit comments

Comments
 (0)