1
0
mirror of https://github.com/php/php-src.git synced 2026-04-14 03:22:58 +02:00
Commit Graph

128629 Commits

Author SHA1 Message Date
Christoph M. Becker
cb3bc659bf Revert "Run PDO_Firebird tests on AppVeyor CI"
This reverts commit b2d1d1b47d, because
of many test failures which need closer investigation.
2022-06-09 12:00:15 +02:00
Christoph M. Becker
b2d1d1b47d Run PDO_Firebird tests on AppVeyor CI
Closes GH-8666.
2022-06-09 11:02:47 +02:00
Máté Kocsis
7601068f3d Declare ext/libxml constants in stubs (#8721) 2022-06-09 08:18:44 +02:00
Ben Ramsey
c83b57096a [ci skip] Add list of repositories for RMs to clone 2022-06-08 19:03:02 -05:00
Ben Ramsey
82d1684e33 [ci skip] Update example commit messsages in RM doc 2022-06-08 18:49:35 -05:00
Ben Ramsey
526ee44534 [ci skip] Update and clarify release process document 2022-06-08 18:37:20 -05:00
Christoph M. Becker
c451a9bddc Merge branch 'PHP-8.1'
* PHP-8.1:
  Fix recently broken test case
2022-06-08 18:34:25 +02:00
Christoph M. Becker
f768f3d60b Fix recently broken test case
This test was written to always use the sqlite PDO driver; however,
that driver may no longer be available[1], and actually the test is
supposed to work for all drivers – otherwise it should be placed in
ext/pdo_sqlite/tests.

[1] <938049b927>

Closes GH-8732.
2022-06-08 18:33:55 +02:00
Christoph M. Becker
b94452c269 Merge branch 'PHP-8.1'
* PHP-8.1:
  Fix test case
2022-06-08 17:07:32 +02:00
Christoph M. Becker
8e2378a4e0 Fix test case
This test case has apparently been overlooked, when the PDO result
bindings had been rewritten[1].

[1] <caa710037e>
2022-06-08 17:06:06 +02:00
George Peter Banyard
2958c7ccd8 [skip ci] Add missing UPGRADING.INTERNALS entries 2022-06-08 13:25:17 +01:00
Max Kellermann
c1a06704da Add ZEND_THREEWAY_COMPARE() macro to fix casting underflowed unsigned to signed (#8220)
Casting a huge unsigned value to signed is implementation-defined
behavior in C.  By introducing the ZEND_THREEWAY_COMPARE() macro, we
can sidestep this integer overflow/underflow/casting problem.
2022-06-08 13:24:18 +01:00
Joe Rowell
89688b115d Add function exposing HAVE_GCC_GLOBAL_REGS (#8359) 2022-06-08 12:32:30 +01:00
Sergey Panteleev
5f035dc75b [skip ci] Auto labeling for PRs (#8693) 2022-06-08 12:28:03 +01:00
George Peter Banyard
c28d1fb1a5 Merge branch 'PHP-8.1' 2022-06-08 11:45:03 +01:00
George Peter Banyard
f800c60f13 Merge branch 'PHP-8.0' into PHP-8.1 2022-06-08 11:43:22 +01:00
George Peter Banyard
52eb52d652 Backport fcba0a49fc
Forgot this file exists in lower branches
2022-06-08 11:43:12 +01:00
George Peter Banyard
306f8d282d Merge branch 'PHP-8.1' 2022-06-08 11:38:16 +01:00
George Peter Banyard
c05c96b3fe Fix GH-8691 Add required extensions for redirected tests 2022-06-08 11:37:07 +01:00
George Peter Banyard
938049b927 PDO Common tests should not require a driver 2022-06-08 11:37:07 +01:00
David Carlier
d677cc13ce Add SO_BPF_EXTENSIONS flag to socket.
Returns the supported bpf extensions from the kernel. Linux only.
Closes GH-8713.
2022-06-08 05:14:57 +01:00
Rowan Tommins
ed6dab2040 Avoid accessing undefined variables in run-tests.php (#8669)
The $php_cgi and $phpdbg cases here are definitely real bugs, and
caused the script to bail out under certain ini settings.

The other paths may actually be unreachable in practice, but were
highlighted by PhpStorm.
2022-06-08 00:00:03 +01:00
Ben Ramsey
5a6436f0d6 [ci skip] Update RM documentation with latest notes 2022-06-07 14:51:51 -05:00
Ben Ramsey
e2aa1fbc26 Merge branch 'PHP-8.1' 2022-06-07 11:54:01 -05:00
Ben Ramsey
59a3de3786 Fix date on PHP 8.1.7 release 2022-06-07 11:28:41 -05:00
Stanislav Malyshev
a0f479f0b6 Update NEWS 2022-06-07 11:26:04 -05:00
Ilija Tovilo
120b4f7ae6 Remove code duplication in zend_std_compare_objects (#8710) 2022-06-07 18:07:26 +02:00
Sergey Panteleev
418f7211f7 Update NEWS for PHP 8.2.0 alpha2 2022-06-07 18:47:44 +03:00
Ben Ramsey
7f78f661d0 Merge branch 'PHP-8.1' 2022-06-07 10:08:40 -05:00
Ben Ramsey
a6a13139db Fix #76452: Crash while parsing blob data in firebird_fetch_blob
This reapplies 286162e9b0 to the PHP-8.1 (and up)
branches, fixing what might have been caused by a bad merge conflict resolution.
2022-06-07 09:59:17 -05:00
George Peter Banyard
80fda5ff9e [skip ci] Update UPGRADING in regards to iterable compile time alias 2022-06-07 13:48:47 +01:00
George Peter Banyard
b40ae80804 Convert iterable into an internal alias for Traversable|array (#7309)
This does a compile time transformation of ``iterable`` into ``Traversable|array`` which simplifies some of the LSP variance handling.

The arginfo generation script from stubs is updated to produce a union type when it encounters the type ``iterable``
Extension functions which do not regenerate the arginfo, or write them manually are still supported by mimicking the compile time transformation while registering the function.

Type Reflection is preserved for single ``iterable`` (and ``?iterable``) to produce a ReflectionNamedType with name ``iterable``, however usage of ``iterable`` in union types will be converted to ``array|Traversable``
2022-06-07 13:35:34 +01:00
Tim Düsterhus
94183d3e8b [skip ci] Mark *_arginfo.h as linguist-generated (#8722)
The generated `*_arginfo.h` usually cannot be usefully reviewed within a PR.
Collapse them by default by adding the `linguist-generated` attribute to reduce
the visual noise.

see https://docs.github.com/en/repositories/working-with-files/managing-files/customizing-how-changed-files-appear-on-github
see https://github.com/github/linguist/blob/master/docs/overrides.md#summary
2022-06-07 12:35:09 +01:00
Derick Rethans
cd86423ac2 Merge branch 'PHP-8.1' 2022-06-07 09:48:38 +01:00
Derick Rethans
93eeec81f1 Merge branch 'PHP-8.0' into PHP-8.1 2022-06-07 09:48:29 +01:00
Derick Rethans
c15e160a65 Merge branch 'PHP-7.4' into PHP-8.0 2022-06-07 09:48:19 +01:00
Derick Rethans
8fbeadcd45 Bump version in 7.4 to 7.4.31-dev 2022-06-07 09:48:06 +01:00
Derick Rethans
74202fac91 Adding "git pull" to make sure local check out is in sync (I keep forgetting that) 2022-06-07 09:45:11 +01:00
David Carlier
6fe7ff95d9 Implements ancillary data on NetBSD.
With the couple LOCAL_CREDS/SCM_CREDS, in this system we get all the
infos needed (included the process id).
Closes GH-8700.
2022-06-06 23:06:01 +01:00
George Peter Banyard
8e00e8209b [ci skip] Drop ability to send QA reports by email (#8657)
This fails regularly and on top of that we don't look at these reports.
2022-06-06 20:48:38 +01:00
Máté Kocsis
e7c30c059c Declare ext/ldap constants in stubs (#8717) 2022-06-06 21:30:10 +02:00
Máté Kocsis
7d6ce85aa9 Declare ext/com_dotnet constants in stubs (#8675) 2022-06-06 15:56:24 +02:00
Máté Kocsis
deabd5a442 Declare ext/gmp constants in stubs (#8704)
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>
2022-06-06 14:38:03 +02:00
Máté Kocsis
7e6301cd31 Declare ext/iconv constants in stubs (#8714) 2022-06-06 14:16:47 +02:00
Máté Kocsis
e7d482d896 Declare ext/imap constants in stubs (#8715) 2022-06-06 13:08:32 +02:00
Máté Kocsis
34b1010abc Merge branch 'PHP-8.1'
* PHP-8.1:
  Add missing EXTENSIONS section to new test
2022-06-06 12:21:57 +02:00
Máté Kocsis
f17a8a5aed Add missing EXTENSIONS section to new test 2022-06-06 12:21:25 +02:00
Máté Kocsis
c5ffa0a1a7 Declare ext/json constants in stubs (#8716) 2022-06-06 12:13:12 +02:00
Máté Kocsis
7c2d1fda4a Add missing SKIPIF section to new test 2022-06-06 12:05:49 +02:00
Ilija Tovilo
3f557ebd77 Revert "JIT: Add IBT support (#8636)"
This reverts commit c1fcd45eeb.

Closes GH-8711
2022-06-06 11:59:26 +02:00