]> granicus.if.org Git - php/log
php
5 years agoMerge branch 'PHP-7.4'
Joe Watkins [Sat, 25 May 2019 07:04:37 +0000 (09:04 +0200)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Use PKG_CHECK_MODULES to detect valgrind, and share build config with pcre

5 years agoUse PKG_CHECK_MODULES to detect valgrind, and share build config with pcre
Hugh McMaster [Thu, 23 May 2019 13:01:04 +0000 (23:01 +1000)]
Use PKG_CHECK_MODULES to detect valgrind, and share build config with pcre

5 years agoMerge branch 'PHP-7.4'
Joe Watkins [Sat, 25 May 2019 06:12:43 +0000 (08:12 +0200)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Define minimum required libffi version

5 years agoDefine minimum required libffi version
Peter Kokot [Wed, 8 May 2019 21:32:20 +0000 (23:32 +0200)]
Define minimum required libffi version

5 years agoMerge branch 'PHP-7.4'
Nikita Popov [Fri, 24 May 2019 09:02:03 +0000 (11:02 +0200)]
Merge branch 'PHP-7.4'

5 years agoAdd UPGRADING/NEWS entries
Nikita Popov [Fri, 24 May 2019 08:58:33 +0000 (10:58 +0200)]
Add UPGRADING/NEWS entries

5 years agoDeprecate use of parent where no parent exists
Nikita Popov [Fri, 24 May 2019 07:49:44 +0000 (09:49 +0200)]
Deprecate use of parent where no parent exists

This deprecation is part of the covariance RFC.

5 years agoMerge branch 'PHP-7.4'
Christoph M. Becker [Fri, 24 May 2019 08:23:12 +0000 (10:23 +0200)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  list net/interfaces, trying to get the error on windows when possible

5 years agolist net/interfaces, trying to get the error on windows when possible
David Carlier [Wed, 22 May 2019 22:04:56 +0000 (00:04 +0200)]
list net/interfaces, trying to get the error on windows when possible

5 years agoSplit up "parent" test cases
Nikita Popov [Fri, 24 May 2019 07:37:39 +0000 (09:37 +0200)]
Split up "parent" test cases

As the warnings are fatal errors in PHP 8, we can't test all of this
in a single file anymore.

5 years agoMerge branch 'PHP-7.4'
Nikita Popov [Fri, 24 May 2019 07:33:58 +0000 (09:33 +0200)]
Merge branch 'PHP-7.4'

5 years agoImplement basic variance support
Nikita Popov [Wed, 8 May 2019 10:30:16 +0000 (12:30 +0200)]
Implement basic variance support

This is a minimal variance implementation: It does not support any
cyclic type dependencies. Additionally the preloading requirements
are much more restrictive than necessary. Hopefully we can relax
these in the future.

5 years agoAvoid early-binding on unresolved types
Nikita Popov [Thu, 9 May 2019 08:41:06 +0000 (10:41 +0200)]
Avoid early-binding on unresolved types

Fixes bug #76451, and more importantly lays necessary groundwork for
covariant/contravariant types. Bug #76451 is just an edge case, but
once covariance is introduced this will become a common problem instead.

5 years agoMerge branch 'PHP-7.4'
Nikita Popov [Thu, 23 May 2019 11:41:26 +0000 (13:41 +0200)]
Merge branch 'PHP-7.4'

5 years agoMerge branch 'PHP-7.3' into PHP-7.4
Nikita Popov [Thu, 23 May 2019 11:41:17 +0000 (13:41 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4

5 years agoFix bug #77955
Nikita Popov [Thu, 23 May 2019 10:29:08 +0000 (12:29 +0200)]
Fix bug #77955

Free metadata before freeing the arena. I don't have a repro script,
but the added assertion fails for many existing tests prior to this
change.

5 years agoMerge branch 'PHP-7.4'
Christoph M. Becker [Thu, 23 May 2019 11:14:38 +0000 (13:14 +0200)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Prevent further potential test conflicts

5 years agoPrevent further potential test conflicts
Christoph M. Becker [Thu, 23 May 2019 11:09:14 +0000 (13:09 +0200)]
Prevent further potential test conflicts

These tests partially use the same resource names; as a quick-fix we're
marking them all as conflicting.

5 years agoMerge branch 'PHP-7.4'
Joe Watkins [Thu, 23 May 2019 11:09:33 +0000 (13:09 +0200)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  fix notice in run-tests

5 years agofix notice in run-tests
Joe Watkins [Thu, 23 May 2019 11:09:18 +0000 (13:09 +0200)]
fix notice in run-tests

5 years agoMerge branch 'PHP-7.4'
Christoph M. Becker [Thu, 23 May 2019 09:41:18 +0000 (11:41 +0200)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Prevent potential test conflict

5 years agoPrevent potential test conflict
Christoph M. Becker [Thu, 23 May 2019 09:40:39 +0000 (11:40 +0200)]
Prevent potential test conflict

bug48746_tmp.lnk is also created by bug48746_2.phpt which might clash,
if both are run simultaneouly.

5 years agoMerge branch 'PHP-7.4'
Nikita Popov [Thu, 23 May 2019 09:13:22 +0000 (11:13 +0200)]
Merge branch 'PHP-7.4'

5 years agoMerge branch 'PHP-7.3' into PHP-7.4
Nikita Popov [Thu, 23 May 2019 09:13:14 +0000 (11:13 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4

5 years agoMerge branch 'PHP-7.2' into PHP-7.3
Nikita Popov [Thu, 23 May 2019 09:12:34 +0000 (11:12 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3

5 years agoFixed bug #78038 socket_select with references
Nikita Popov [Thu, 23 May 2019 09:11:54 +0000 (11:11 +0200)]
Fixed bug #78038 socket_select with references

5 years agoMerge branch 'PHP-7.4'
Joe Watkins [Thu, 23 May 2019 08:59:03 +0000 (10:59 +0200)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  run-tests improvements:   Add XLEAK section, this is made necessary by the support   for valgrind tools other than memcheck.   XLEAK is to a leaking test what XFAIL is to a failing test.   Tidy up summary a little to exclude Expected Fail and Expected Leak   when there are no expected fail/leaks

5 years agorun-tests improvements:
Joe Watkins [Thu, 23 May 2019 08:55:25 +0000 (10:55 +0200)]
run-tests improvements:
  Add XLEAK section, this is made necessary by the support
  for valgrind tools other than memcheck.
  XLEAK is to a leaking test what XFAIL is to a failing test.
  Tidy up summary a little to exclude Expected Fail and Expected Leak
  when there are no expected fail/leaks

5 years agoMerge branch 'PHP-7.4'
Nikita Popov [Thu, 23 May 2019 08:41:27 +0000 (10:41 +0200)]
Merge branch 'PHP-7.4'

5 years agoForbid use of not fully linked classes
Nikita Popov [Wed, 22 May 2019 09:13:28 +0000 (11:13 +0200)]
Forbid use of not fully linked classes

5 years agoMerge branch 'PHP-7.4'
Dmitry Stogov [Thu, 23 May 2019 08:21:15 +0000 (11:21 +0300)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Fixed double mutex unlock

5 years agoFixed double mutex unlock
Dmitry Stogov [Thu, 23 May 2019 08:20:46 +0000 (11:20 +0300)]
Fixed double mutex unlock

5 years agoMerge branch 'PHP-7.4'
Nikita Popov [Thu, 23 May 2019 08:01:46 +0000 (10:01 +0200)]
Merge branch 'PHP-7.4'

5 years agoDon't require NO_ESCAPE for partial arrays in SCCP
Nikita Popov [Wed, 15 May 2019 13:27:17 +0000 (15:27 +0200)]
Don't require NO_ESCAPE for partial arrays in SCCP

5 years agoMerge branch 'PHP-7.4'
Dmitry Stogov [Wed, 22 May 2019 21:21:26 +0000 (00:21 +0300)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Fixed race condition in opcache restart

5 years agoMerge branch 'PHP-7.3' into PHP-7.4
Dmitry Stogov [Wed, 22 May 2019 21:21:15 +0000 (00:21 +0300)]
Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
  Fixed race condition in opcache restart

5 years agoMerge branch 'PHP-7.2' into PHP-7.3
Dmitry Stogov [Wed, 22 May 2019 21:21:04 +0000 (00:21 +0300)]
Merge branch 'PHP-7.2' into PHP-7.3

* PHP-7.2:
  Fixed race condition in opcache restart

5 years agoFixed race condition in opcache restart
Dmitry Stogov [Wed, 22 May 2019 21:20:35 +0000 (00:20 +0300)]
Fixed race condition in opcache restart

5 years agoMerge branch 'PHP-7.4'
Dmitry Stogov [Wed, 22 May 2019 20:02:18 +0000 (23:02 +0300)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Fixed dump of constant flags

5 years agoMerge branch 'PHP-7.3' into PHP-7.4
Dmitry Stogov [Wed, 22 May 2019 20:00:26 +0000 (23:00 +0300)]
Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
  Fixed dump of constant flags

5 years agoFixed dump of constant flags
Dmitry Stogov [Wed, 22 May 2019 19:59:40 +0000 (22:59 +0300)]
Fixed dump of constant flags

5 years agoMerge branch 'PHP-7.4'
Joe Watkins [Wed, 22 May 2019 18:20:36 +0000 (20:20 +0200)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  add support for valgrind tools to run-tests.php

5 years agoadd support for valgrind tools to run-tests.php
Joe Watkins [Wed, 22 May 2019 18:20:13 +0000 (20:20 +0200)]
add support for valgrind tools to run-tests.php

5 years agoMerge branch 'PHP-7.4'
Nikita Popov [Wed, 22 May 2019 10:45:33 +0000 (12:45 +0200)]
Merge branch 'PHP-7.4'

5 years agoMerge branch 'PHP-7.3' into PHP-7.4
Nikita Popov [Wed, 22 May 2019 10:45:25 +0000 (12:45 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4

5 years agoMerge branch 'PHP-7.2' into PHP-7.3
Nikita Popov [Wed, 22 May 2019 10:45:05 +0000 (12:45 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3

5 years agoFix #77956 - When mysqli.allow_local_infile = Off, return a client error
Sjon Hortensius [Sat, 18 May 2019 15:14:21 +0000 (17:14 +0200)]
Fix #77956 - When mysqli.allow_local_infile = Off, return a client error

5 years agoMerge branch 'PHP-7.4'
Christoph M. Becker [Wed, 22 May 2019 10:03:10 +0000 (12:03 +0200)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Fix test case for cURL 7.65.0

5 years agoMerge branch 'PHP-7.3' into PHP-7.4
Christoph M. Becker [Wed, 22 May 2019 10:02:43 +0000 (12:02 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
  Fix test case for cURL 7.65.0

5 years agoMerge branch 'PHP-7.2' into PHP-7.3
Christoph M. Becker [Wed, 22 May 2019 10:02:03 +0000 (12:02 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3

* PHP-7.2:
  Fix test case for cURL 7.65.0

5 years agoFix test case for cURL 7.65.0
Christoph M. Becker [Wed, 22 May 2019 10:00:06 +0000 (12:00 +0200)]
Fix test case for cURL 7.65.0

Reported and patch provided by @Jan-E.

5 years agoMerge branch 'PHP-7.4'
Nikita Popov [Wed, 22 May 2019 09:45:31 +0000 (11:45 +0200)]
Merge branch 'PHP-7.4'

5 years agoMark bug44811.phpt as an online test
Nikita Popov [Wed, 22 May 2019 09:43:56 +0000 (11:43 +0200)]
Mark bug44811.phpt as an online test

For some reason this was checked on PHP-7.2 and PHP-7.3, but not
on PHP-7.4. Bad merge?

5 years agoMerge branch 'PHP-7.3' into PHP-7.4
Nikita Popov [Wed, 22 May 2019 09:43:40 +0000 (11:43 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4

5 years agoMerge branch 'PHP-7.2' into PHP-7.3
Nikita Popov [Wed, 22 May 2019 09:43:26 +0000 (11:43 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3

5 years agoUse a different URL in bug44811.phpt
Nikita Popov [Wed, 22 May 2019 09:41:51 +0000 (11:41 +0200)]
Use a different URL in bug44811.phpt

5 years agoMerge branch 'PHP-7.4'
Dmitry Stogov [Wed, 22 May 2019 09:21:07 +0000 (12:21 +0300)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  .text segment may be not the first one

5 years ago.text segment may be not the first one
Dmitry Stogov [Wed, 22 May 2019 09:20:34 +0000 (12:20 +0300)]
.text segment may be not the first one

5 years agoMerge branch 'PHP-7.4'
Nikita Popov [Wed, 22 May 2019 07:35:49 +0000 (09:35 +0200)]
Merge branch 'PHP-7.4'

5 years agoFix bug #78034
Nikita Popov [Wed, 22 May 2019 07:34:35 +0000 (09:34 +0200)]
Fix bug #78034

Don't def non-cv variables in assign_obj_ref data operand.

5 years agoMerge branch 'PHP-7.4'
Nikita Popov [Wed, 22 May 2019 07:06:23 +0000 (09:06 +0200)]
Merge branch 'PHP-7.4'

5 years agoFixed some arg infos to match documentation
Jaroslav Hanslík [Thu, 9 May 2019 19:58:46 +0000 (21:58 +0200)]
Fixed some arg infos to match documentation

5 years agoUse PKG_CHECK_MODULES to detect unixODBC
Hugh McMaster [Mon, 20 May 2019 12:48:14 +0000 (22:48 +1000)]
Use PKG_CHECK_MODULES to detect unixODBC

5 years agoMerge branch 'PHP-7.4'
Rasmus Lerdorf [Tue, 21 May 2019 21:47:28 +0000 (14:47 -0700)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Fix precedence issue causing sub-second timeouts to be 0 in curl_multi_select

5 years agoMerge branch 'PHP-7.3' into PHP-7.4
Rasmus Lerdorf [Tue, 21 May 2019 21:46:44 +0000 (14:46 -0700)]
Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
  Fix precedence issue causing sub-second timeouts to be 0 in curl_multi_select

5 years agoMerge branch 'PHP-7.2' into PHP-7.3
Rasmus Lerdorf [Tue, 21 May 2019 21:46:24 +0000 (14:46 -0700)]
Merge branch 'PHP-7.2' into PHP-7.3

* PHP-7.2:
  Fix precedence issue causing sub-second timeouts to be 0 in curl_multi_select

5 years agoFix precedence issue causing sub-second timeouts to be 0 in
Rasmus Lerdorf [Tue, 21 May 2019 21:44:11 +0000 (14:44 -0700)]
Fix precedence issue causing sub-second timeouts to be 0 in
curl_multi_select

5 years agoMerge branch 'PHP-7.4'
Nikita Popov [Tue, 21 May 2019 15:35:33 +0000 (17:35 +0200)]
Merge branch 'PHP-7.4'

5 years agoMerge branch 'PHP-7.3' into PHP-7.4
Nikita Popov [Tue, 21 May 2019 15:35:28 +0000 (17:35 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4

5 years agoDon't evaluate functions with partial array arguments
Nikita Popov [Tue, 21 May 2019 15:35:03 +0000 (17:35 +0200)]
Don't evaluate functions with partial array arguments

5 years agoMerge branch 'PHP-7.4'
Nikita Popov [Tue, 21 May 2019 15:18:01 +0000 (17:18 +0200)]
Merge branch 'PHP-7.4'

5 years agoMerge branch 'PHP-7.3' into PHP-7.4
Nikita Popov [Tue, 21 May 2019 15:17:30 +0000 (17:17 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4

5 years agoFix null check in sccp add_array_elem chain handling
Nikita Popov [Tue, 21 May 2019 15:15:07 +0000 (17:15 +0200)]
Fix null check in sccp add_array_elem chain handling

We need to check result_use rather than result_def for a null zval.
Previously we were later assuming that the null zval is really a
partial array, which does not go well.

5 years agoMerge branch 'PHP-7.4'
Nikita Popov [Tue, 21 May 2019 15:04:17 +0000 (17:04 +0200)]
Merge branch 'PHP-7.4'

5 years agoMerge branch 'PHP-7.3' into PHP-7.4
Nikita Popov [Tue, 21 May 2019 15:03:52 +0000 (17:03 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4

5 years agoFix partial array handling in FE_RESET edge feasibility
Nikita Popov [Tue, 21 May 2019 14:59:27 +0000 (16:59 +0200)]
Fix partial array handling in FE_RESET edge feasibility

5 years agoHandle partial arrays in zend_is_true() checks
Nikita Popov [Tue, 21 May 2019 14:51:35 +0000 (16:51 +0200)]
Handle partial arrays in zend_is_true() checks

5 years agoExtract ct_eval_binary_op()
Nikita Popov [Tue, 21 May 2019 14:43:41 +0000 (16:43 +0200)]
Extract ct_eval_binary_op()

And use it in more places, though some of them are currently not
reachable by partial arrays to the best of my knowledge.

5 years agoImprove SCCP debug code
Nikita Popov [Tue, 21 May 2019 14:40:18 +0000 (16:40 +0200)]
Improve SCCP debug code

In particular properly dump partial arrays when tracing execution.

5 years agoMerge branch 'PHP-7.4'
Remi Collet [Tue, 21 May 2019 14:15:08 +0000 (16:15 +0200)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  sodium: fix shared build
  enchant: fix shared build

5 years agosodium: fix shared build
Remi Collet [Tue, 21 May 2019 14:14:42 +0000 (16:14 +0200)]
sodium: fix shared build

5 years agoenchant: fix shared build
Remi Collet [Tue, 21 May 2019 14:14:12 +0000 (16:14 +0200)]
enchant: fix shared build

5 years agoMerge branch 'PHP-7.4'
Christoph M. Becker [Tue, 21 May 2019 12:34:55 +0000 (14:34 +0200)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Fix ASLR related invalid opline handler issues

5 years agoFix ASLR related invalid opline handler issues
Christoph M. Becker [Mon, 20 May 2019 13:59:54 +0000 (15:59 +0200)]
Fix ASLR related invalid opline handler issues

Opcache stores `opline->handler`s in shared memory.  These pointers are
invalid, if the main PHP DLL is loaded at another base address due to
ASLR.  We therefore store the address of `execute_ex` in the mmap base
file, and check on startup whether it matches its current address.  If
not, we fall back on the file cache if enabled, and bail out otherwise.

This still does not address cases where the opline handler is located
inside of another DLL (e.g. for some profilers, debuggers), but there
seems to be no general solution for now.

5 years agoMerge branch 'PHP-7.4'
Remi Collet [Tue, 21 May 2019 12:26:08 +0000 (14:26 +0200)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  fix typo breaking shared build

5 years agofix typo breaking shared build
Remi Collet [Tue, 21 May 2019 12:25:55 +0000 (14:25 +0200)]
fix typo breaking shared build

5 years agoMerge branch 'PHP-7.4'
Christoph M. Becker [Tue, 21 May 2019 09:19:35 +0000 (11:19 +0200)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Prevent test case failure

5 years agoMerge branch 'PHP-7.3' into PHP-7.4
Christoph M. Becker [Tue, 21 May 2019 09:19:05 +0000 (11:19 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
  Prevent test case failure

5 years agoMerge branch 'PHP-7.2' into PHP-7.3
Christoph M. Becker [Tue, 21 May 2019 09:18:32 +0000 (11:18 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3

* PHP-7.2:
  Prevent test case failure

5 years agoPrevent test case failure
Christoph M. Becker [Tue, 21 May 2019 09:17:28 +0000 (11:17 +0200)]
Prevent test case failure

If opcache.log_verbosity_level is greater than 1, opcache will raise
warnings, which will be written to stderr in the default case.  These
warnings are actually to be expected, but would break the test, so we
make sure that the log_verbosity_level is 1 when running this test.

5 years agoMerge branch 'PHP-7.4'
Nikita Popov [Tue, 21 May 2019 08:05:12 +0000 (10:05 +0200)]
Merge branch 'PHP-7.4'

5 years agoMerge branch 'PHP-7.3' into PHP-7.4
Nikita Popov [Tue, 21 May 2019 08:05:03 +0000 (10:05 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4

5 years agoMerge branch 'PHP-7.2' into PHP-7.3
Nikita Popov [Tue, 21 May 2019 08:04:51 +0000 (10:04 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3

5 years agoSupport content_type stream context option in soap
Vincent JARDIN [Tue, 23 Apr 2019 21:10:38 +0000 (23:10 +0200)]
Support content_type stream context option in soap

Allows overriding the HTTP header using the HTTP context:

    $client = new SoapClient('http://url.wsdl&v=latest', [
      'stream_context' => stream_context_create([
        'http' => [
          'content_type' => 'foobarX',
        ],
      ]),
    ]);

This is a backport of c55af3c65ac116bbd935bd3d695869d88056c49c
to the PHP 7.2 branch.

5 years agoMerge branch 'PHP-7.4'
Christoph M. Becker [Tue, 21 May 2019 07:03:51 +0000 (09:03 +0200)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  use {TMP} placeholder in phpt tests

5 years agoMerge branch 'PHP-7.3' into PHP-7.4
Christoph M. Becker [Tue, 21 May 2019 07:03:20 +0000 (09:03 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
  use {TMP} placeholder in phpt tests

5 years agoMerge branch 'PHP-7.2' into PHP-7.3
Christoph M. Becker [Tue, 21 May 2019 07:03:01 +0000 (09:03 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3

* PHP-7.2:
  use {TMP} placeholder in phpt tests

5 years agouse {TMP} placeholder in phpt tests
Holly Li (WIPRO LIMITED) [Tue, 21 May 2019 05:53:08 +0000 (07:53 +0200)]
use {TMP} placeholder in phpt tests

5 years agoMerge branch 'PHP-7.4'
Dmitry Stogov [Mon, 20 May 2019 21:08:22 +0000 (00:08 +0300)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Prevent race condition in opcache_reset()

5 years agoMerge branch 'PHP-7.3' into PHP-7.4
Dmitry Stogov [Mon, 20 May 2019 21:08:12 +0000 (00:08 +0300)]
Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
  Prevent race condition in opcache_reset()