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
Dmitry Stogov
7451b8b6b0
Merge branch 'PHP-8.1'
...
* PHP-8.1:
Fix memory leak
2022-06-06 11:38:37 +03:00
Dmitry Stogov
74744f3c0d
Merge branch 'PHP-8.0' into PHP-8.1
...
* PHP-8.0:
Fix memory leak
2022-06-06 11:38:29 +03:00
Dmitry Stogov
088e5677fb
Fix memory leak
...
This fixes oss-fuzz #47791
2022-06-06 11:35:01 +03:00
Dmitry Stogov
faf3410957
Merge branch 'PHP-8.1'
...
* PHP-8.1:
Fix type inference
2022-06-06 11:14:33 +03:00
Dmitry Stogov
b86c6245cc
Fix type inference
...
This fixes oss-fuzz #47777
2022-06-06 11:13:53 +03:00
Stanislav Malyshev
70d03423c7
Merge branch 'PHP-8.1'
2022-06-06 01:11:49 -06:00
Stanislav Malyshev
98e1291b7e
Merge branch 'PHP-8.0' into PHP-8.1
2022-06-06 01:11:44 -06:00
Stanislav Malyshev
e864cb61a7
Merge branch 'PHP-7.4' into PHP-8.0
2022-06-06 01:11:13 -06:00
Stanislav Malyshev
d1be9369ad
Update NEWS
2022-06-06 01:00:38 -06:00
Stanislav Malyshev
58006537fc
Fix bug #81719 : mysqlnd/pdo password buffer overflow
2022-06-06 00:56:51 -06:00
Christoph M. Becker
55f6895f4b
Fix #81720 : Uninitialized array in pg_query_params() leading to RCE
...
We must not free parameters which we haven't initialized yet.
We also fix the not directly related issue, that we checked for the
wrong value being `NULL`, potentially causing a segfault.
2022-06-06 00:34:23 -06:00
Máté Kocsis
b2ed625de1
A few cleanup changes for gen_stub.php
2022-06-06 07:43:56 +02:00
Máté Kocsis
debd38f851
Add support for sensitive parameters in stubs
2022-06-04 18:15:05 +02:00
Tim Düsterhus
49951165f0
Add zend_mark_function_parameter_as_sensitive()
2022-06-04 18:15:05 +02:00
Ben Ramsey
d9de36398c
[ci skip] add example build commands to RM documentation
2022-06-04 10:04:16 -05:00
Máté Kocsis
4976483960
Declare ext/ftp constants in stubs ( #8703 )
2022-06-04 11:59:37 +02:00
Máté Kocsis
fd049e8385
Declare ext/filter constants in stubs ( #8702 )
2022-06-04 11:40:54 +02:00
Máté Kocsis
59ae6a9ff3
Declare HASH_HMAC in stubs
2022-06-04 11:22:44 +02:00
Máté Kocsis
d457519b65
Declare ext/fileinfo constants in stubs ( #8701 )
2022-06-04 10:22:09 +02:00
Máté Kocsis
413cbdf72f
Declare FFI::__BIGGEST_ALIGNMENT__ in stubs as well
2022-06-04 09:59:29 +02:00
Máté Kocsis
d476da7818
Declare ext/ffi constants in stubs ( #8695 )
2022-06-04 09:51:27 +02:00
David Carlier
271b723915
Merge branch 'PHP-8.1'
2022-06-03 15:15:46 +01:00
David Carlier
4a1c50b9be
Merge branch 'PHP-8.0' into PHP-8.1
2022-06-03 15:15:30 +01:00
Yurun
bfe63f565f
Fix dblib ghtest8626 test.
...
Follow-up of GH-8628.
Closes GH-9694.
2022-06-03 15:12:09 +01:00
David Carlier
0b6f58d907
Merge branch 'PHP-8.1'
2022-06-03 08:05:13 +01:00
David Carlier
7f70911cbe
Merge branch 'PHP-8.0' into PHP-8.1
2022-06-03 08:04:58 +01:00