]> granicus.if.org Git - php/log
php
4 years agoUpdate ext/phar parameter names
Nikita Popov [Wed, 7 Oct 2020 15:33:22 +0000 (17:33 +0200)]
Update ext/phar parameter names

Closes GH-6307.

4 years agoMerge branch 'PHP-7.4' into PHP-8.0
Christoph M. Becker [Tue, 13 Oct 2020 07:55:33 +0000 (09:55 +0200)]
Merge branch 'PHP-7.4' into PHP-8.0

* PHP-7.4:
  7.3.25 is next

4 years agoMerge branch 'PHP-7.3' into PHP-7.4
Christoph M. Becker [Tue, 13 Oct 2020 07:53:52 +0000 (09:53 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
  7.3.25 is next

4 years ago7.3.25 is next
Christoph M. Becker [Tue, 13 Oct 2020 07:52:46 +0000 (09:52 +0200)]
7.3.25 is next

4 years agoMerge branch 'PHP-7.4' into PHP-8.0
Christoph M. Becker [Mon, 12 Oct 2020 21:21:35 +0000 (23:21 +0200)]
Merge branch 'PHP-7.4' into PHP-8.0

* PHP-7.4:
  Fix #80226: imap_sort() leaks sortpgm memory

4 years agoPerform trace range propagation
Dmitry Stogov [Mon, 12 Oct 2020 21:18:17 +0000 (00:18 +0300)]
Perform trace range propagation

4 years agoMerge branch 'PHP-7.3' into PHP-7.4
Christoph M. Becker [Mon, 12 Oct 2020 21:17:42 +0000 (23:17 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
  Fix #80226: imap_sort() leaks sortpgm memory

4 years agoFix #80226: imap_sort() leaks sortpgm memory
Christoph M. Becker [Mon, 12 Oct 2020 16:06:53 +0000 (18:06 +0200)]
Fix #80226: imap_sort() leaks sortpgm memory

We need to free what we have allocated.

Closes GH-6327.

4 years agoChange parameters types from int to bool
Christoph M. Becker [Mon, 12 Oct 2020 17:18:03 +0000 (19:18 +0200)]
Change parameters types from int to bool

These are typical boolean parameters, so we shouldn't advertize them as
integers.  For the `$reverse` parameter that even fixes expectations,
because the `reverse` member is a bitfield of 1 bit, so assigning any
even integer would not set it.

Closes GH-6328.

4 years agoEliminate dead stores
Dmitry Stogov [Mon, 12 Oct 2020 19:59:30 +0000 (22:59 +0300)]
Eliminate dead stores

4 years agoImprove parameter names in ext/intl
Máté Kocsis [Fri, 9 Oct 2020 11:14:41 +0000 (13:14 +0200)]
Improve parameter names in ext/intl

Closes GH-6309

4 years agoImprove parameter names in ext/pdo_sqlite
Máté Kocsis [Fri, 9 Oct 2020 21:02:14 +0000 (23:02 +0200)]
Improve parameter names in ext/pdo_sqlite

Closes GH-6310

4 years agoMerge branch 'PHP-7.4' into PHP-8.0
Nikita Popov [Mon, 12 Oct 2020 14:44:18 +0000 (16:44 +0200)]
Merge branch 'PHP-7.4' into PHP-8.0

* PHP-7.4:
  intl: report more information about message pattern parse errors

4 years agointl: report more information about message pattern parse errors
Philip Hofstetter [Fri, 9 Oct 2020 09:55:33 +0000 (11:55 +0200)]
intl: report more information about message pattern parse errors

The message patterns can be pretty complex, so reporting a generic
U_PARSE_ERROR without any additional information makes it needlessly
hard to fix erroneous patterns.

This commit makes use of the additional UParseError* parameter to
umsg_open to retrieve more details about the parse error to report that
to the user via intl_get_error_message()

Additional improve error reporting from the IntlMessage constructor.
Previously, all possible failures when calling IntlMessage::__construct()
would be masked away with a generic "Constructor failed" message.
This would include invalid patterns.

This commit makes sure that the underlying error that caused the
constructor failure is reported as part of the IntlException error
message.

Closes GH-6325.

4 years agoFixed bug #80225
Nikita Popov [Mon, 12 Oct 2020 14:34:19 +0000 (16:34 +0200)]
Fixed bug #80225

Namespaced and declares have a different interpretation of what
"first statement" means.

4 years agoMerge branch 'PHP-7.4' into PHP-8.0
Christoph M. Becker [Mon, 12 Oct 2020 14:30:34 +0000 (16:30 +0200)]
Merge branch 'PHP-7.4' into PHP-8.0

* PHP-7.4:
  Fix #80216: imap_mail_compose() does not validate types/encodings

4 years agoMerge branch 'PHP-7.3' into PHP-7.4
Christoph M. Becker [Mon, 12 Oct 2020 14:28:36 +0000 (16:28 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
  Fix #80216: imap_mail_compose() does not validate types/encodings

4 years agoFix #80216: imap_mail_compose() does not validate types/encodings
Christoph M. Becker [Mon, 12 Oct 2020 12:04:18 +0000 (14:04 +0200)]
Fix #80216: imap_mail_compose() does not validate types/encodings

We need to check whether the given `type`s and `encoding`s are within
bounds to avoid segfaults and out-of-bound reads.

Closes GH-6323.

4 years agoMerge branch 'PHP-7.4' into PHP-8.0
Christoph M. Becker [Mon, 12 Oct 2020 13:10:27 +0000 (15:10 +0200)]
Merge branch 'PHP-7.4' into PHP-8.0

* PHP-7.4:
  Fix #80223: imap_mail_compose() leaks envelope on malformed bodies

4 years agoMerge branch 'PHP-7.3' into PHP-7.4
Christoph M. Becker [Mon, 12 Oct 2020 13:09:15 +0000 (15:09 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
  Fix #80223: imap_mail_compose() leaks envelope on malformed bodies

4 years agoFix #80223: imap_mail_compose() leaks envelope on malformed bodies
Christoph M. Becker [Mon, 12 Oct 2020 11:26:38 +0000 (13:26 +0200)]
Fix #80223: imap_mail_compose() leaks envelope on malformed bodies

We have to clean up even on failure.

Closes GH-6322.

4 years agoMerge branch 'PHP-7.4' into PHP-8.0
Christoph M. Becker [Mon, 12 Oct 2020 11:34:07 +0000 (13:34 +0200)]
Merge branch 'PHP-7.4' into PHP-8.0

* PHP-7.4:
  Fix #80220: imap_mail_compose() may leak memory

4 years agoMerge branch 'PHP-7.3' into PHP-7.4
Christoph M. Becker [Mon, 12 Oct 2020 11:32:28 +0000 (13:32 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
  Fix #80220: imap_mail_compose() may leak memory

4 years agoFix #80220: imap_mail_compose() may leak memory
Christoph M. Becker [Mon, 12 Oct 2020 08:36:18 +0000 (10:36 +0200)]
Fix #80220: imap_mail_compose() may leak memory

Unless `topbod` is of `TYPEMULTIPART`, `mail_free_body()` does not free
the `nested.part`; while we could do this ourselves, instead we just
ignore additional bodies in this case, i.e. we don't attach them in the
first place.

Closes GH-6321.

4 years agoMerge branch 'PHP-7.4' into PHP-8.0
Nikita Popov [Mon, 12 Oct 2020 10:56:21 +0000 (12:56 +0200)]
Merge branch 'PHP-7.4' into PHP-8.0

* PHP-7.4:
  Revert "Add missing X509 purpose constants"

4 years agoRevert "Add missing X509 purpose constants"
Nikita Popov [Mon, 12 Oct 2020 10:56:07 +0000 (12:56 +0200)]
Revert "Add missing X509 purpose constants"

This reverts commit 1e53e14bc31aec98a408e517c7c8493ef4bf80cd.

This fails on Travis.

4 years agoMerge branch 'PHP-7.4' into PHP-8.0
Nikita Popov [Mon, 12 Oct 2020 09:53:22 +0000 (11:53 +0200)]
Merge branch 'PHP-7.4' into PHP-8.0

* PHP-7.4:
  Add missing X509 purpose constants

4 years agoAdd missing X509 purpose constants
Vincent JARDIN [Fri, 9 Oct 2020 22:14:06 +0000 (22:14 +0000)]
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.

4 years agoMerge branch 'PHP-7.4' into PHP-8.0
Nikita Popov [Mon, 12 Oct 2020 09:25:27 +0000 (11:25 +0200)]
Merge branch 'PHP-7.4' into PHP-8.0

* PHP-7.4:
  Detect self-addition of array more accurately
  Deindirect source elements in zend_hash_merge

4 years agoMerge branch 'PHP-7.3' into PHP-7.4
Nikita Popov [Mon, 12 Oct 2020 09:24:59 +0000 (11:24 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
  Detect self-addition of array more accurately
  Deindirect source elements in zend_hash_merge

4 years agoDetect self-addition of array more accurately
Nikita Popov [Mon, 12 Oct 2020 09:22:39 +0000 (11:22 +0200)]
Detect self-addition of array more accurately

While the zvals may be different, they may still point to the
same array.

Fixes oss-fuzz #26245.

4 years agoDeindirect source elements in zend_hash_merge
Nikita Popov [Mon, 12 Oct 2020 09:03:39 +0000 (11:03 +0200)]
Deindirect source elements in zend_hash_merge

If the RHS has INDIRECT elements, we do not those to be added to
the LHS verbatim. As we're using UPDATE_INDIRECT, we might even
create a nested INDIRECT that way.

This is a side-quest of oss-fuzz #26245.

4 years agoMerge branch 'PHP-7.4' into PHP-8.0
Nikita Popov [Mon, 12 Oct 2020 08:06:30 +0000 (10:06 +0200)]
Merge branch 'PHP-7.4' into PHP-8.0

* PHP-7.4:
  Backport schedule in yaml

4 years agoBackport schedule in yaml
Nikita Popov [Mon, 12 Oct 2020 08:05:37 +0000 (10:05 +0200)]
Backport schedule in yaml

I'm not sure it's needed, but let's try it: Add the scheduled
builds on PHP-7.4 and PHP-8.0 as well, rather than just master.

4 years agoMerge branch 'PHP-7.4' into PHP-8.0
Nikita Popov [Mon, 12 Oct 2020 07:46:38 +0000 (09:46 +0200)]
Merge branch 'PHP-7.4' into PHP-8.0

* PHP-7.4:
  Avoid non-object in FE_FREE

4 years agoAvoid non-object in FE_FREE
Nikita Popov [Mon, 12 Oct 2020 07:38:59 +0000 (09:38 +0200)]
Avoid non-object in FE_FREE

Even if the properties HT is empty, make sure we still leave an
object in the FE_RESET result, so our type inference results
stay correct.

4 years agoXMLReader::open() and XMLReader::xml() are now static
Christoph M. Becker [Sun, 11 Oct 2020 16:50:35 +0000 (18:50 +0200)]
XMLReader::open() and XMLReader::xml() are now static

4 years agoRemove return types from XMLWriter stubs
Christoph M. Becker [Sun, 11 Oct 2020 14:36:19 +0000 (16:36 +0200)]
Remove return types from XMLWriter stubs

These break BC, and as such we have to stick with docblock annotations.

Closes GH-6319.

4 years agoMerge branch 'PHP-7.4' into PHP-8.0
Derick Rethans [Sun, 11 Oct 2020 13:54:12 +0000 (14:54 +0100)]
Merge branch 'PHP-7.4' into PHP-8.0

4 years agoMerge branch 'PHP-7.3' into PHP-7.4
Derick Rethans [Sun, 11 Oct 2020 13:54:02 +0000 (14:54 +0100)]
Merge branch 'PHP-7.3' into PHP-7.4

4 years agoFixed test for bug #48097 due to confirmed data changes in timelib
Derick Rethans [Sun, 11 Oct 2020 13:53:52 +0000 (14:53 +0100)]
Fixed test for bug #48097 due to confirmed data changes in timelib

4 years agoMerge branch 'PHP-7.4' into PHP-8.0
Christoph M. Becker [Sat, 10 Oct 2020 21:28:04 +0000 (23:28 +0200)]
Merge branch 'PHP-7.4' into PHP-8.0

* PHP-7.4:
  Fix #80215: imap_mail_compose() may modify by-val parameters

4 years agoMerge branch 'PHP-7.3' into PHP-7.4
Christoph M. Becker [Sat, 10 Oct 2020 21:25:43 +0000 (23:25 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
  Fix #80215: imap_mail_compose() may modify by-val parameters

4 years agoFix #80215: imap_mail_compose() may modify by-val parameters
Christoph M. Becker [Sat, 10 Oct 2020 15:16:41 +0000 (17:16 +0200)]
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.

4 years agoMerge branch 'PHP-7.4' into PHP-8.0
Christoph M. Becker [Sat, 10 Oct 2020 17:19:33 +0000 (19:19 +0200)]
Merge branch 'PHP-7.4' into PHP-8.0

* PHP-7.4:
  Fix #80213: imap_mail_compose() segfaults on certain $bodies

4 years agoMerge branch 'PHP-7.3' into PHP-7.4
Christoph M. Becker [Sat, 10 Oct 2020 17:17:59 +0000 (19:17 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
  Fix #80213: imap_mail_compose() segfaults on certain $bodies

4 years agoFix #80213: imap_mail_compose() segfaults on certain $bodies
Christoph M. Becker [Sat, 10 Oct 2020 12:09:07 +0000 (14:09 +0200)]
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.

4 years agoFix #80175: PHP8 RC1 - JIT Buffer not working
Christoph M. Becker [Sat, 3 Oct 2020 15:02:24 +0000 (17:02 +0200)]
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.

4 years agoChange imap_mail_compose() $body param to $bodies
Christoph M. Becker [Sat, 10 Oct 2020 11:49:41 +0000 (13:49 +0200)]
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.

4 years agoMerge branch 'PHP-7.4' into PHP-8.0
Nikita Popov [Sat, 10 Oct 2020 09:08:47 +0000 (11:08 +0200)]
Merge branch 'PHP-7.4' into PHP-8.0

* PHP-7.4:
  Don't specify symfony branch

4 years agoDon't specify symfony branch
Nikita Popov [Sat, 10 Oct 2020 09:07:49 +0000 (11:07 +0200)]
Don't specify symfony branch

This was renamed from master to 5.x. Just use the default branch.

4 years agoEliminate dead load
Dmitry Stogov [Fri, 9 Oct 2020 15:58:03 +0000 (18:58 +0300)]
Eliminate dead load

4 years agoUpdate ext/gd parameter names
Nikita Popov [Fri, 9 Oct 2020 10:28:54 +0000 (12:28 +0200)]
Update ext/gd parameter names

Closes GH-6308.

4 years agoMerge branch 'PHP-7.4' into PHP-8.0
Nikita Popov [Fri, 9 Oct 2020 14:59:01 +0000 (16:59 +0200)]
Merge branch 'PHP-7.4' into PHP-8.0

* PHP-7.4:
  Fixed bug #80186

4 years agoFixed bug #80186
Nikita Popov [Fri, 9 Oct 2020 14:56:08 +0000 (16:56 +0200)]
Fixed bug #80186

Early exit in FE_RESET if get_properties() returns empty array,
as we cannot add HT iterators to zend_empty_array.

4 years agoUpdate to mime-db 1.45
Nikita Popov [Fri, 9 Oct 2020 14:22:04 +0000 (16:22 +0200)]
Update to mime-db 1.45

4 years agoRemove string length limit from levenshtein()
Nikita Popov [Tue, 6 Oct 2020 15:12:41 +0000 (17:12 +0200)]
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).

4 years agoAdd support for Solaris 11.4 openpty implementation.
Petr Sumbera [Tue, 6 Oct 2020 15:25:00 +0000 (17:25 +0200)]
Add support for Solaris 11.4 openpty implementation.

Closes GH-6287.

4 years agoKeep the same JIT code for PHP-8.0 and master (workaround against PHP-8.0 ABI freeze)
Dmitry Stogov [Fri, 9 Oct 2020 13:54:26 +0000 (16:54 +0300)]
Keep the same JIT code for PHP-8.0 and master (workaround against PHP-8.0 ABI freeze)

4 years agoEnable Azure pipeline builds on PHP-8.0
Nikita Popov [Fri, 9 Oct 2020 13:30:40 +0000 (15:30 +0200)]
Enable Azure pipeline builds on PHP-8.0

4 years agoMerge branch 'PHP-7.4' into PHP-8.0
Nikita Popov [Fri, 9 Oct 2020 13:25:23 +0000 (15:25 +0200)]
Merge branch 'PHP-7.4' into PHP-8.0

* PHP-7.4:
  Make iconv errno support test pass on Solaris.

4 years agoMerge branch 'PHP-7.3' into PHP-7.4
Nikita Popov [Fri, 9 Oct 2020 13:24:53 +0000 (15:24 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
  Make iconv errno support test pass on Solaris.

4 years agoMake iconv errno support test pass on Solaris.
Petr Sumbera [Wed, 7 Oct 2020 13:07:23 +0000 (15:07 +0200)]
Make iconv errno support test pass on Solaris.

Closes GH-6291.

4 years agoEliminate more dead type stores
Dmitry Stogov [Fri, 9 Oct 2020 13:15:07 +0000 (16:15 +0300)]
Eliminate more dead type stores

4 years agoRevert "Change calling convention of zval_update_constant[_ex]() to fastcall."
Nikita Popov [Fri, 9 Oct 2020 13:05:43 +0000 (15:05 +0200)]
Revert "Change calling convention of zval_update_constant[_ex]() to fastcall."

This reverts commit 5a447b086bba450d61c283adfecbdec657cc5f34.

Revert this ABI break from PHP-8.0, leaving it only on master.

4 years agoMerge branch 'PHP-7.4' into PHP-8.0
Nikita Popov [Fri, 9 Oct 2020 12:05:33 +0000 (14:05 +0200)]
Merge branch 'PHP-7.4' into PHP-8.0

* PHP-7.4:
  XFAIL test broken by timelib update

4 years agoMerge branch 'PHP-7.3' into PHP-7.4
Nikita Popov [Fri, 9 Oct 2020 12:05:23 +0000 (14:05 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
  XFAIL test broken by timelib update

4 years agoXFAIL test broken by timelib update
Nikita Popov [Fri, 9 Oct 2020 12:04:47 +0000 (14:04 +0200)]
XFAIL test broken by timelib update

I was expecting this to get fixed quickly, but it didn't.
XFAIL for now.

4 years agoEliminate more dead type stores
Dmitry Stogov [Fri, 9 Oct 2020 11:31:20 +0000 (14:31 +0300)]
Eliminate more dead type stores

4 years agoMore precise type information for datefmt_format()
Máté Kocsis [Fri, 9 Oct 2020 09:04:49 +0000 (11:04 +0200)]
More precise type information for datefmt_format()

4 years agoFix XmlParser classname in stubs
Máté Kocsis [Fri, 9 Oct 2020 08:42:43 +0000 (10:42 +0200)]
Fix XmlParser classname in stubs

4 years agoImprove parameter names in ext/oci8
Máté Kocsis [Sat, 3 Oct 2020 08:52:41 +0000 (10:52 +0200)]
Improve parameter names in ext/oci8

Closes GH-6267

4 years agoEliminate more dead type stores
Dmitry Stogov [Thu, 8 Oct 2020 20:26:31 +0000 (23:26 +0300)]
Eliminate more dead type stores

4 years agoEliminate dead type stores
Dmitry Stogov [Thu, 8 Oct 2020 16:14:38 +0000 (19:14 +0300)]
Eliminate dead type stores

4 years agoCleanup (expand and remove simple macros)
Dmitry Stogov [Thu, 8 Oct 2020 09:14:40 +0000 (12:14 +0300)]
Cleanup (expand and remove simple macros)

4 years agoUpdate ext/imap parameter names
Nikita Popov [Thu, 8 Oct 2020 10:08:59 +0000 (12:08 +0200)]
Update ext/imap parameter names

Closes GH-6299.

4 years agoUpdate ext/snmp parameter names
Nikita Popov [Thu, 8 Oct 2020 09:08:03 +0000 (11:08 +0200)]
Update ext/snmp parameter names

Closes GH-6298.

4 years agoMake compression_type nullable in a few more places
Nikita Popov [Thu, 8 Oct 2020 15:04:48 +0000 (17:04 +0200)]
Make compression_type nullable in a few more places

Missed that this was also used elsewhere...

4 years agoUpdate ext/soap parameter names
Nikita Popov [Tue, 6 Oct 2020 13:29:44 +0000 (15:29 +0200)]
Update ext/soap parameter names

Closes GH-6300.

4 years agoUpdated to version 2020.2 (2020b)
Derick Rethans [Thu, 8 Oct 2020 14:19:48 +0000 (15:19 +0100)]
Updated to version 2020.2 (2020b)

4 years agoEmpty merge
Derick Rethans [Thu, 8 Oct 2020 14:19:48 +0000 (15:19 +0100)]
Empty merge

4 years agoUpdated to version 2020.2 (2020b)
Derick Rethans [Thu, 8 Oct 2020 14:19:47 +0000 (15:19 +0100)]
Updated to version 2020.2 (2020b)

4 years agoEmpty merge
Derick Rethans [Thu, 8 Oct 2020 14:19:47 +0000 (15:19 +0100)]
Empty merge

4 years agoUpdated to version 2020.2 (2020b)
Derick Rethans [Thu, 8 Oct 2020 14:19:46 +0000 (15:19 +0100)]
Updated to version 2020.2 (2020b)

4 years agoUpdated to version 2020.2 (2020b)
Derick Rethans [Thu, 8 Oct 2020 14:05:40 +0000 (15:05 +0100)]
Updated to version 2020.2 (2020b)

4 years agoEmpty merge
Derick Rethans [Thu, 8 Oct 2020 14:05:40 +0000 (15:05 +0100)]
Empty merge

4 years agoUpdated to version 2020.2 (2020b)
Derick Rethans [Thu, 8 Oct 2020 14:05:39 +0000 (15:05 +0100)]
Updated to version 2020.2 (2020b)

4 years agoEmpty merge
Derick Rethans [Thu, 8 Oct 2020 14:05:39 +0000 (15:05 +0100)]
Empty merge

4 years agoUpdated to version 2020.2 (2020b)
Derick Rethans [Thu, 8 Oct 2020 14:05:38 +0000 (15:05 +0100)]
Updated to version 2020.2 (2020b)

4 years agoMake Phar $format and $compression arguments nullable
Nikita Popov [Thu, 8 Oct 2020 11:12:22 +0000 (13:12 +0200)]
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.

4 years agoAccept bool in SoapClient::__doRequest
Nikita Popov [Thu, 8 Oct 2020 10:35:47 +0000 (12:35 +0200)]
Accept bool in SoapClient::__doRequest

$one_way is a boolean argument.

4 years agoFix imap test expectation which is still too strict for Windows
Christoph M. Becker [Thu, 8 Oct 2020 10:32:30 +0000 (12:32 +0200)]
Fix imap test expectation which is still too strict for Windows

4 years agoMerge branch 'PHP-7.4' into master
Christoph M. Becker [Thu, 8 Oct 2020 10:11:28 +0000 (12:11 +0200)]
Merge branch 'PHP-7.4' into master

* PHP-7.4:
  Fix too strict imap test expectations

4 years agoMerge branch 'PHP-7.3' into PHP-7.4
Christoph M. Becker [Thu, 8 Oct 2020 10:08:35 +0000 (12:08 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
  Fix too strict imap test expectations

4 years agoFix too strict imap test expectations
Christoph M. Becker [Thu, 8 Oct 2020 10:04:02 +0000 (12:04 +0200)]
Fix too strict imap test expectations

4 years agoFix potential mail related segfault on Windows
Christoph M. Becker [Thu, 8 Oct 2020 09:43:22 +0000 (11:43 +0200)]
Fix potential mail related segfault on Windows

`rpath` may be `NULL` here, in which case we must not access its
members.

4 years agoUpdate ext/com_dotnet parameter names
Christoph M. Becker [Thu, 8 Oct 2020 09:04:29 +0000 (11:04 +0200)]
Update ext/com_dotnet parameter names

Closes GH-6296.

4 years agoAccept bool in snmp_set_(quick|enum)_print()
Nikita Popov [Thu, 8 Oct 2020 09:11:51 +0000 (11:11 +0200)]
Accept bool in snmp_set_(quick|enum)_print()

The integer parameter here is actually a boolean.
snmp_set_quick_print() already documented it as such, and
snmp_get_quick_print() was already returning a boolean.

4 years agoUpdate ext/xsl parameter names
Nikita Popov [Wed, 7 Oct 2020 15:55:46 +0000 (17:55 +0200)]
Update ext/xsl parameter names

Additionally normalize to using $namespace rather than $uri for
namespace parameters, including in XMLReader and XMLWriter. I went
with that one as it is currently used by DOM, SimpleXML and XSL --
and our DOM parameter names follow the DOM specification.

Closes GH-6295.

4 years agoUpdate ext/xml parameter names
Nikita Popov [Thu, 8 Oct 2020 08:01:23 +0000 (10:01 +0200)]
Update ext/xml parameter names

Closes GH-6297.