Skip to content

[pull] master from php:master#619

Open
pull[bot] wants to merge 10000 commits intoDithn:masterfrom
php:master
Open

[pull] master from php:master#619
pull[bot] wants to merge 10000 commits intoDithn:masterfrom
php:master

Conversation

@pull
Copy link

@pull pull bot commented Dec 4, 2021

See Commits and Changes for more details.


Created by pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

iluuu1994 and others added 20 commits February 27, 2026 15:05
* PHP-8.3:
  Add RUN_RESOURCE_HEAVY_TESTS env var
* PHP-8.4:
  Add RUN_RESOURCE_HEAVY_TESTS env var
* PHP-8.5:
  Add RUN_RESOURCE_HEAVY_TESTS env var
Also fix typo (missing and), and align message with rest of the doc.
* PHP-8.4:
  Fix GH-20906: Assertion failure when messing up output buffers
* PHP-8.5:
  Fix GH-20906: Assertion failure when messing up output buffers
Newer PCRE2 rejects \K in lookarounds at compile time, so the
negative-length match code path can no longer be triggered from
userland PHP. The PCRE2_EXTRA_ALLOW_LOOKAROUND_BSK flag that would
re-enable it is only settable via the C compile context API.
* PHP-8.5:
  ext/pcre: drop negative-length match tests
Mirror the mdata_used protection pattern from php_pcre_replace_func_impl
in php_pcre_match_impl, php_pcre_replace_impl, php_pcre_split_impl,
and php_pcre_grep_impl.

close GH-21291
* PHP-8.4:
  ext/pcre: fix mdata_used race conditions in PCRE functions
* PHP-8.5:
  ext/pcre: fix mdata_used race conditions in PCRE functions
Also switch to uint64_t as that's used on master and makes the code
simpler to fix.

Closes GH-20807.

Co-authored-by: Arnaud Le Blanc <arnaud.lb@gmail.com>
* PHP-8.4:
  bz2: Fix truncation of total output size causing erroneous errors
* PHP-8.5:
  bz2: Fix truncation of total output size causing erroneous errors
* PHP-8.4:
  [ci skip] Tweak SKIPIFs
* PHP-8.5:
  [ci skip] Tweak SKIPIFs
from pcntl_sigprocmask(), pcntl_sigwaitinfo(), and pcntl_sigtimedwait().

close GH-21297
DanielEScherzer and others added 30 commits March 20, 2026 14:44
… present

So far, the gen_stub.php --replace-classsynopses subcommand didn't take the packagesynopsis element into account, causing some bugs: the wrong element was tried to be replaced (classynopsis instead of packagesynopsis) with the wrong content (the classname without the namespace: e.g. \Exception instead of \FFI\Exception).
* PHP-8.5:
  Fix replacement of class signatures when a packagesynopsis element is present
This silences some reports about the equivalence to array_merge()'s
issue. However, this is different as no packed fill is used in this
code, so it doesn't have the same bug that array_merge() had.

Closes GH-21449.
Since these go through a file, this can fail.
For some of these, the error is already checked but not propagated to
userland, causing a "true" return value but an incomplete file.
For others, the error is not checked and can also lead to an incomplete
file.
Solve this by always propagating failure, especially as the other write
calls are already checked for failure.

Closes GH-21360.
* PHP-8.4:
  openssl: Fix missing error propagation for BIO_printf() calls
* PHP-8.5:
  openssl: Fix missing error propagation for BIO_printf() calls
* PHP-8.5:
  use lexbor version from library
The implementation of it is simple whereas spl_dual_it_construct() is extremely convoluted
push.yml has been unified with nightly.yml into test.yml.
extract1/ is not created by this test, but by phar_extract.phpt, which can lead
to a very rare race condition.
* PHP-8.2:
  [skip ci] Fix CLEAN for phar_extract2.phpt
* PHP-8.3:
  [skip ci] Fix CLEAN for phar_extract2.phpt
* PHP-8.4:
  [skip ci] Fix CLEAN for phar_extract2.phpt
* PHP-8.5:
  [skip ci] Fix CLEAN for phar_extract2.phpt
Rarely fails with "Maximum execution time of 1 seconds exceeded" due to being
too fast. Increase the compared arrays and mark as FLAKY, given this is
inherently dependent on processing speed.
* PHP-8.2:
  [skip ci] Harden bug74093.phpt
* PHP-8.3:
  [skip ci] Harden bug74093.phpt
* PHP-8.4:
  [skip ci] Harden bug74093.phpt
* PHP-8.5:
  [skip ci] Harden bug74093.phpt
* PHP-8.4:
  Fix GH-21486: Dom\HTMLDocument parser mangles xml:space and xml:lang attributes
* PHP-8.5:
  Fix GH-21486: Dom\HTMLDocument parser mangles xml:space and xml:lang attributes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.