120 Commits
Author SHA1 Message Date
Nora Dossche 7df7d267b8 Update IR (#24756)
So we can pull in https://github.com/dstogov/ir/pull/258 later to lower
branches.
2026-10-26 21:09:12 +01:00
Jorg Adam Sowa 0499935dfa Update IR (#24298)
* Update IR

IR commit: ed32c881a0d7c14ce7ace6ac00dead75647b69c6

* Update IR

IR commit: 563b51a8c2c07aadb13db897abc04b5cf08d151b

* Update IR

IR commit: a4d13e263dd3010de06cd05235e006bfefa927a5

* Update IR

IR commit: bb044213cc1bc835613d0172ee95c52360a00524
2026-10-24 21:28:45 +02:00
Michael Voříšek fe8fff8353 Verify bundled sources using CI - XSSE (#24070) 2026-10-15 15:16:28 +02:00
Michael Voříšek fabae63227 Verify bundled sources using CI - xxHash (#24243) 2026-10-15 15:15:28 +02:00
Gina Peter Banyard 3e458e5fdc Merge branch 'PHP-8.5' into PHP-8.6
* PHP-8.5:
  Update NEWS
  ext/standard/tests: work around Windows quoting with tempfiles.
  .github/scripts/windows: pass an extension_dir to the test runner.
  {ext/standard,sapi/cli}/tests: pass TEST_PHP_EXTRA_ARGS to php
  ext/standard/tests: pass TEST_PHP_EXTRA_ARGS to some proc_open() tests
  sapi/cli/tests/023.phpt: support TEST_PHP_EXTRA_ARGS
  std: Fix memory leak of the last response headers after a nested HTTP request (#24201)
  Fiber: hold the object a callable resolved to in the creating frame (#24134)
2026-10-14 18:43:37 +01:00
Gina Peter Banyard b1a3a4e082 Merge branch 'PHP-8.4' into PHP-8.5
* PHP-8.4:
  Update NEWS
  ext/standard/tests: work around Windows quoting with tempfiles.
  .github/scripts/windows: pass an extension_dir to the test runner.
  {ext/standard,sapi/cli}/tests: pass TEST_PHP_EXTRA_ARGS to php
  ext/standard/tests: pass TEST_PHP_EXTRA_ARGS to some proc_open() tests
  sapi/cli/tests/023.phpt: support TEST_PHP_EXTRA_ARGS
  std: Fix memory leak of the last response headers after a nested HTTP request (#24201)
  Fiber: hold the object a callable resolved to in the creating frame (#24134)
2026-10-14 18:39:38 +01:00
Michael Orlitzky e56aedb3f7 .github/scripts/windows: pass an extension_dir to the test runner.
In some cases, on Windows, we pass -dextension=mysqli to the test
runner, but omit the extension_dir. This works fine so long as that
extension_dir can be obtained from php.ini. However, we have at least
one test that loads some other (or no) php.ini file; when that
happens, the mysqli extension cannot be found. To solve that problem,
we now also specify an extension_dir whenever we specify an extension
to load.
2026-10-14 18:34:08 +01:00
Arnaud Le Blanc e16872ca81 Update IR (#24013)
IR commit: 93f92f5b5a49a02295685e340ebb0b83562cbe79
2026-09-30 14:27:07 +02:00
Michael Voříšek 4b2a397c51 Verify bundled sources using CI - Opcache JIT IR (#20179) 2026-09-29 15:49:33 +02:00
Matteo Beccati 5714009960 CI updates after forking 8.6 2026-09-22 14:57:33 +02:00
Matteo Beccati 742d4f6454 Merge branch 'PHP-8.5' into PHP-8.6
* PHP-8.5:
  CI updates after forking 8.6
2026-09-22 14:49:28 +02:00
Matteo Beccati 9a3e7f3ab2 Merge branch 'PHP-8.4' into PHP-8.5
* PHP-8.4:
  CI updates after forking 8.6
2026-09-22 14:49:12 +02:00
Matteo Beccati 95c29bbb27 CI updates after forking 8.6 2026-09-22 14:48:18 +02:00
Shivam Mathur 132c0ecc03 Merge branch 'PHP-8.5'
* PHP-8.5:
  Fix hMailServer URL in Windows CI (#23055)
2026-08-05 12:32:04 +05:30
Shivam Mathur 1fb0545d4c Merge branch 'PHP-8.4' into PHP-8.5
* PHP-8.4:
  Fix hMailServer URL in Windows CI (#23055)
2026-08-05 12:31:54 +05:30
Shivam Mathur 43f7a9752d Merge branch 'PHP-8.3' into PHP-8.4
* PHP-8.3:
  Fix hMailServer URL in Windows CI (#23055)
2026-08-05 12:31:24 +05:30
Shivam Mathur e0d6b21c59 Merge branch 'PHP-8.2' into PHP-8.3
* PHP-8.2:
  Fix hMailServer URL in Windows CI (#23055)
2026-08-05 12:28:16 +05:30
Shivam Mathur d3af7240d9 Fix hMailServer URL in Windows CI (#23055) 2026-08-05 12:27:48 +05:30
kn1g78 9cefeea7b1 Sync Boost.Context assembly with 1.91.0
Closes GH-22584
2026-07-06 11:02:28 +02:00
Shivam Mathur 900afbb315 Merge branch 'PHP-8.5'
* PHP-8.5:
  Switch to VS18 for the master branch (#22094)
2026-05-20 20:03:55 +05:30
Shivam Mathur 3ec06701d6 Merge branch 'PHP-8.4' into PHP-8.5
* PHP-8.4:
  Switch to VS18 for the master branch (#22094)
2026-05-20 20:03:43 +05:30
Shivam Mathur 8708c9d02e Merge branch 'PHP-8.3' into PHP-8.4
* PHP-8.3:
  Switch to VS18 for the master branch (#22094)
2026-05-20 20:02:44 +05:30
Shivam Mathur f3938c3285 Merge branch 'PHP-8.2' into PHP-8.3
* PHP-8.2:
  Switch to VS18 for the master branch (#22094)
2026-05-20 20:01:27 +05:30
Shivam Mathur a03961b187 Switch to VS18 for the master branch (#22094) 2026-05-20 20:01:06 +05:30
Tim Düsterhus 62b9ce9408 Merge branch 'PHP-8.5'
* PHP-8.5:
  uri: Update to uriparser-1.0.2 (#22070)
2026-05-18 16:49:21 +02:00
Daniel Scherzer 936f727106 CI: update download-bundled for uriparser 1.0.1
Follow-up to #21890
2026-04-27 11:14:56 -07:00
Marc 7cd8a0a0a4 [Windows] Improve clang-cl support (#21618)
* fix compiling (intl) C++ extensions --with-toolset=clang

* guard the double extern "C" { ... } for clang-only

* don't error on warnings with clang

* enable compiler intrinsics for clang too

* make --enable-compiler-intrinsics=no same as disabled

* add clang windows x64 ZTS test

* remove check if it's clang

* debloat logs from common warning

* @shivammathur feedback

* remove CI changes

* rebase on https://github.com/php/php-src/pull/21630

* fix default to asan => false

* bring back explicit error

* fix typo
2026-04-20 16:20:59 +02:00
Michael Voříšek 5330e7f59b Verify bundled sources using CI - boost.context & uriparser (#20438) 2026-02-11 20:24:08 +01:00
Michael Voříšek 7db647dd99 Verify bundled PCRE2 in CI
Closes GH-20354
2025-11-12 18:23:01 +01:00
Gina Peter Banyard 7c6affd617 Merge branch 'PHP-8.4' into PHP-8.5
* PHP-8.4:
  Update NEWS for recent pgsql bugfix
  ext/pgsql: Fix segfaults when attempting to fetch row into a non-instantiable class name (#20180)
2025-11-04 00:09:44 +00:00
Gina Peter Banyard afca514c3b Merge branch 'PHP-8.3' into PHP-8.4
* PHP-8.3:
  Update NEWS for recent pgsql bugfix
  ext/pgsql: Fix segfaults when attempting to fetch row into a non-instantiable class name (#20180)
2025-11-04 00:08:42 +00:00
Gina Peter BanyardandNiels Dossche 94dc6ae871 ext/pgsql: Fix segfaults when attempting to fetch row into a non-instantiable class name (#20180)
Also fix Windows CI with Postgres and CLEAN sections

---------

Co-authored-by: Niels Dossche <7771979+nielsdos@users.noreply.github.com>
2025-11-04 00:04:30 +00:00
Ilija Tovilo 08ccbc46aa Merge branch 'PHP-8.4' into PHP-8.5
* PHP-8.4:
  Change master branch check to 8.6
2025-09-28 11:56:26 +02:00
Ilija Tovilo a6b32bd8fc Merge branch 'PHP-8.3' into PHP-8.4
* PHP-8.3:
  Change master branch check to 8.6
2025-09-28 11:56:18 +02:00
Ilija Tovilo 8756ee034d Merge branch 'PHP-8.2' into PHP-8.3
* PHP-8.2:
  Change master branch check to 8.6
2025-09-28 11:56:11 +02:00
Ilija Tovilo 5dd764b1b3 Merge branch 'PHP-8.1' into PHP-8.2
* PHP-8.1:
  Change master branch check to 8.6
2025-09-28 11:56:01 +02:00
Shivam Mathur 107075605d Change master branch check to 8.6 2025-09-28 09:54:13 +05:30
Shivam Mathur 6147be32fc Merge branch 'PHP-8.3' into PHP-8.4 2025-08-06 00:05:28 +00:00
Shivam Mathur f08ac4f1c9 Merge branch 'PHP-8.2' into PHP-8.3 2025-08-06 00:04:58 +00:00
Shivam Mathur 871de14ceb Merge branch 'PHP-8.1' into PHP-8.2 2025-08-06 00:03:49 +00:00
Shivam Mathur 8199cad99f Fix master branch check in find-target-branch.bat (#19385) 2025-08-06 05:32:36 +05:30
Arnaud Le BlancandTim Düsterhus 7b3e68ff69 Fix error handling inconsistency with opcache
When opcache is enabled, error handling is altered in the following ways:

 * Errors emitted during compilation bypass the user-defined error handler
 * Exceptions emitted during class linking are turned into fatal errors

Changes here make the behavior consistent regardless of opcache being enabled or
not:

 * Errors emitted during compilation and class linking are always delayed and
   handled after compilation or class linking. During handling, user-defined
   error handlers are not bypassed. Fatal errors emitted during compilation or
   class linking cause any delayed errors to be handled immediately (without
   calling user-defined error handlers, as it would be unsafe).
 * Exceptions thrown by user-defined error handlers when handling class linking
   error are not promoted to fatal errors anymore and do not prevent linking.

Fixes GH-17422.
Closes GH-18541.
Closes GH-17627.

Co-authored-by: Tim Düsterhus <tim@bastelstu.be>
2025-07-27 11:01:49 +02:00
Arnaud Le BlancandTim Düsterhus 7b4c14dc10 Make OPcache non-optional
This removes the --enable-opcache/--disable-opcache configure switch. OPcache
is now always builtin. The default value of opcache.enable and
opcache.enable_cli is unchanged.

RFC: https://wiki.php.net/rfc/make_opcache_required

Closes GH-18961.

Co-authored-by: Tim Düsterhus <tim@tideways-gmbh.com>
2025-07-27 09:40:22 +02:00
Jakub Zelenka b9844b545f Merge branch 'PHP-8.4' 2025-07-16 17:32:20 +02:00
Jakub Zelenka a57f58253a Merge branch 'PHP-8.3' into PHP-8.4 2025-07-16 17:31:24 +02:00
Jakub Zelenka eade5c17ea Fix GH-18529: additional inheriting of TLS int options
This is for LDAP_OPT_X_TLS_PROTOCOL_MIN and LDAP_OPT_X_TLS_PROTOCOL_MAX

It also adds a test that uses LDAPCONF with TLS max version lower than
the minimum TLS server version so it should always fail. However it
does not fial for the second case without this change which confirms
that the change works as expected.

Closes GH-18676
2025-07-16 17:29:42 +02:00
Shivam Mathur 720917f39a Merge branch 'PHP-8.4' 2025-06-25 02:03:18 +05:30
Shivam Mathur d2a30acf33 Merge branch 'PHP-8.3' into PHP-8.4 2025-06-25 02:01:59 +05:30
Shivam Mathur dc79f4c8c6 Merge branch 'PHP-8.2' into PHP-8.3 2025-06-25 02:01:24 +05:30
Shivam Mathur 91f2458020 Merge branch 'PHP-8.1' into PHP-8.2 2025-06-25 02:00:11 +05:30