Nikita Popov
da60849fa1
Merge branch 'PHP-7.4' into PHP-8.0
...
* PHP-7.4:
Add missing X509 purpose constants
2020-10-12 11:53:22 +02:00
Vincent JARDIN
1e53e14bc3
Add missing X509 purpose constants
...
X509_PURPOSE_OCSP_HELPER, X509_PURPOSE_TIMESTAMP_SIGN are available
from OpenSSL for many years:
- X509_PURPOSE_OCSP_HELPER, since 2001
- X509_PURPOSE_TIMESTAMP_SIGN, since 2006
Also drop the ifdef check for X509_PURPOSE_ANY, as it is always
available in supported OpenSSL versions.
Closes GH-6312.
2020-10-12 11:51:08 +02:00
Christoph M. Becker
d72c648015
Remove return types from XMLWriter stubs
...
These break BC, and as such we have to stick with docblock annotations.
Closes GH-6319.
2020-10-11 18:22:59 +02:00
Derick Rethans
63289cfff3
Merge branch 'PHP-7.4' into PHP-8.0
2020-10-11 14:54:12 +01:00
Derick Rethans
34179ba809
Merge branch 'PHP-7.3' into PHP-7.4
2020-10-11 14:54:02 +01:00
Derick Rethans
1ed5a2a54d
Fixed test for bug #48097 due to confirmed data changes in timelib
2020-10-11 14:53:52 +01:00
Christoph M. Becker
6494e57804
Merge branch 'PHP-7.4' into PHP-8.0
...
* PHP-7.4:
Fix #80215 : imap_mail_compose() may modify by-val parameters
2020-10-10 23:28:19 +02:00
Christoph M. Becker
7940fb42ce
Merge branch 'PHP-7.3' into PHP-7.4
...
* PHP-7.3:
Fix #80215 : imap_mail_compose() may modify by-val parameters
2020-10-10 23:26:12 +02:00
Christoph M. Becker
62a2387a8d
Fix #80215 : imap_mail_compose() may modify by-val parameters
...
We separate the input arrays and all sub-arrays to avoid modification
of the passed parameters.
This should be rewritten to use `zend_string`s for the "master" branch.
Closes GH-6316.
2020-10-10 23:25:06 +02:00
Christoph M. Becker
7d085c87ac
Merge branch 'PHP-7.4' into PHP-8.0
...
* PHP-7.4:
Fix #80213 : imap_mail_compose() segfaults on certain $bodies
2020-10-10 19:19:47 +02:00
Christoph M. Becker
b2b9e2e87e
Merge branch 'PHP-7.3' into PHP-7.4
...
* PHP-7.3:
Fix #80213 : imap_mail_compose() segfaults on certain $bodies
2020-10-10 19:18:14 +02:00
Christoph M. Becker
8bee0fbd37
Fix #80213 : imap_mail_compose() segfaults on certain $bodies
...
We have to cater to non-associative arrays where the key may be `NULL`;
we just skip these elements.
Closes GH-6315.
2020-10-10 19:17:13 +02:00
Christoph M. Becker
2a545ba946
Fix #80175 : PHP8 RC1 - JIT Buffer not working
...
On Windows, `SUCCESSFULLY_REATTACHED` does not imply that the process
has already been properly initialized; thus we must not skip some setup
steps in `zend_jit_startup()`.
Closes GH-6268.
2020-10-10 17:46:59 +02:00
Christoph M. Becker
45c19bde22
Change imap_mail_compose() $body param to $bodies
...
This parameter actually expects an array of bodies, so we should name
it accordingly.
Closes GH-6313.
2020-10-10 17:39:54 +02:00
Dmitry Stogov
57bb3a3966
Eliminate dead load
2020-10-09 18:58:03 +03:00
Nikita Popov
14a26db3e2
Update ext/gd parameter names
...
Closes GH-6308.
2020-10-09 17:10:11 +02:00
Nikita Popov
623bf39e9c
Merge branch 'PHP-7.4' into PHP-8.0
...
* PHP-7.4:
Fixed bug #80186
2020-10-09 17:02:20 +02:00
Nikita Popov
15443f8af4
Fixed bug #80186
...
Early exit in FE_RESET if get_properties() returns empty array,
as we cannot add HT iterators to zend_empty_array.
2020-10-09 16:56:08 +02:00
Nikita Popov
6a8c094e2d
Remove string length limit from levenshtein()
...
As noted on https://bugs.php.net/bug.php?id=80073 , I don't think
having this limitation makes sense. The similar_text() function
has much worse asymptotic complexity than levenshtein() and does
not enforce such a limitation. levenshtein() does have fairly high
memory requirements, but they are a fixed factor of the string
length (and subject to memory limit).
2020-10-09 16:12:08 +02:00
Petr Sumbera
240d06118c
Add support for Solaris 11.4 openpty implementation.
...
Closes GH-6287.
2020-10-09 16:10:03 +02:00
Dmitry Stogov
fc14dbb713
Keep the same JIT code for PHP-8.0 and master (workaround against PHP-8.0 ABI freeze)
2020-10-09 16:54:26 +03:00
Nikita Popov
64cebf3d9a
Merge branch 'PHP-7.4' into PHP-8.0
...
* PHP-7.4:
Make iconv errno support test pass on Solaris.
2020-10-09 15:25:23 +02:00
Nikita Popov
58af1e156e
Merge branch 'PHP-7.3' into PHP-7.4
...
* PHP-7.3:
Make iconv errno support test pass on Solaris.
2020-10-09 15:24:53 +02:00
Petr Sumbera
07a4185df1
Make iconv errno support test pass on Solaris.
...
Closes GH-6291.
2020-10-09 15:24:36 +02:00
Dmitry Stogov
080784acfd
Eliminate more dead type stores
2020-10-09 16:15:07 +03:00
Nikita Popov
6188b7a1da
Revert "Change calling convention of zval_update_constant[_ex]() to fastcall."
...
This reverts commit 5a447b086b .
Revert this ABI break from PHP-8.0, leaving it only on master.
2020-10-09 15:06:12 +02:00
Nikita Popov
cc58347105
Merge branch 'PHP-7.4' into PHP-8.0
...
* PHP-7.4:
XFAIL test broken by timelib update
2020-10-09 14:05:33 +02:00
Nikita Popov
229eb15f0e
Merge branch 'PHP-7.3' into PHP-7.4
...
* PHP-7.3:
XFAIL test broken by timelib update
2020-10-09 14:05:23 +02:00
Nikita Popov
5018581410
XFAIL test broken by timelib update
...
I was expecting this to get fixed quickly, but it didn't.
XFAIL for now.
2020-10-09 14:04:47 +02:00
Dmitry Stogov
6f888b90c5
Eliminate more dead type stores
2020-10-09 14:31:20 +03:00
Máté Kocsis
503999910b
More precise type information for datefmt_format()
2020-10-09 11:05:42 +02:00
Máté Kocsis
686d6c3dd4
Fix XmlParser classname in stubs
2020-10-09 10:43:35 +02:00
Máté Kocsis
4173f2b3ab
Improve parameter names in ext/oci8
...
Closes GH-6267
2020-10-08 23:30:33 +02:00
Dmitry Stogov
2ad96b8cee
Eliminate more dead type stores
2020-10-08 23:26:31 +03:00
Dmitry Stogov
e5830c4a6b
Eliminate dead type stores
2020-10-08 19:15:23 +03:00
Dmitry Stogov
8efcc280be
Cleanup (expand and remove simple macros)
2020-10-08 19:15:23 +03:00
Nikita Popov
e0f2ac9ff6
Update ext/imap parameter names
...
Closes GH-6299.
2020-10-08 18:02:09 +02:00
Nikita Popov
5836e3ed97
Update ext/snmp parameter names
...
Closes GH-6298.
2020-10-08 17:10:52 +02:00
Nikita Popov
ad7e231e81
Make compression_type nullable in a few more places
...
Missed that this was also used elsewhere...
2020-10-08 17:05:38 +02:00
Nikita Popov
c4a25da096
Update ext/soap parameter names
...
Closes GH-6300.
2020-10-08 16:32:01 +02:00
Derick Rethans
2180e882f3
Updated to version 2020.2 (2020b)
2020-10-08 15:19:48 +01:00
Derick Rethans
950157942e
Updated to version 2020.2 (2020b)
2020-10-08 15:19:47 +01:00
Derick Rethans
14d231bd16
Updated to version 2020.2 (2020b)
2020-10-08 15:19:46 +01:00
Derick Rethans
088d284d9f
Updated to version 2020.2 (2020b)
2020-10-08 15:05:40 +01:00
Derick Rethans
c8929dc17e
Updated to version 2020.2 (2020b)
2020-10-08 15:05:39 +01:00
Derick Rethans
90a5d7c2ad
Updated to version 2020.2 (2020b)
2020-10-08 15:05:38 +01:00
Nikita Popov
9719d6cade
Make Phar $format and $compression arguments nullable
...
Rather than using Greg's birthday, use null to indicate that the
existing format/compression should be retained. For the format
simply using zero would be sufficient, but as the documentation
explicitly says that NULL is allowed here, we may as well make
that the truth.
2020-10-08 13:12:22 +02:00
Nikita Popov
9e32e1322e
Accept bool in SoapClient::__doRequest
...
$one_way is a boolean argument.
2020-10-08 12:36:49 +02:00
Christoph M. Becker
d3b41c4640
Fix imap test expectation which is still too strict for Windows
2020-10-08 12:33:38 +02:00
Christoph M. Becker
48736dddab
Merge branch 'PHP-7.4' into master
...
* PHP-7.4:
Fix too strict imap test expectations
2020-10-08 12:11:28 +02:00