1
0
mirror of https://github.com/php/php-src.git synced 2026-04-26 01:18:19 +02:00
Commit Graph

129734 Commits

Author SHA1 Message Date
Ilija Tovilo 81f7ef4058 Merge branch 'PHP-8.1' into PHP-8.2
* PHP-8.1:
  Switch to sanitize CFLAGS for community build
2022-09-26 23:39:42 +02:00
Ilija Tovilo ebe4467a42 Merge branch 'PHP-8.0' into PHP-8.1
* PHP-8.0:
  Switch to sanitize CFLAGS for community build
2022-09-26 23:39:25 +02:00
Ilija Tovilo 12afd0cba8 Switch to sanitize CFLAGS for community build
PHP-8.0 doesn't support those flags, we can switch once we drop that
build.
2022-09-26 23:39:03 +02:00
Máté Kocsis e4f2376919 Improve string class constant code generation (#9577)
Using strlen() will make sure that non-constant values can also be used.
2022-09-26 23:12:34 +02:00
Dmitry Stogov 94b8c2da9f Fixed type inference
Fixes oss-fuzz #51640
2022-09-26 12:19:12 +03:00
Dmitry Stogov 2ed103f733 Merge branch 'PHP-8.1' into PHP-8.2
* PHP-8.1:
  Fix memory leak
2022-09-26 12:02:43 +03:00
Dmitry Stogov a4a9a69edb Merge branch 'PHP-8.0' into PHP-8.1
* PHP-8.0:
  Fix memory leak
2022-09-26 12:02:31 +03:00
Dmitry Stogov c083efb779 Fix memory leak
Fixes oss-fuzz #51622
2022-09-26 12:02:03 +03:00
Dmitry Stogov 5ad8b3bcfa Merge branch 'PHP-8.1' into PHP-8.2
* PHP-8.1:
  Fix memory leak
2022-09-26 11:47:32 +03:00
Dmitry Stogov b20568d4fa Merge branch 'PHP-8.0' into PHP-8.1
* PHP-8.0:
  Fix memory leak
2022-09-26 11:44:38 +03:00
Dmitry Stogov 8258b7731b Fix memory leak
Fixes oss-fuzz #51622
2022-09-26 11:43:38 +03:00
Ilija Tovilo 8c20ad1081 Add travis_wait to travis for test.sh
We no longer print skipped tests which can make travis fail due to no
output for longer than 20 minutes.
2022-09-25 21:51:32 +02:00
Anatol Belski 50fc9970f3 Merge branch 'PHP-8.1' into PHP-8.2 2022-09-25 20:44:16 +02:00
Anatol Belski cab2f05f5a fileinfo: tests: Disable times sensitive tests on debug build
Signed-off-by: Anatol Belski <ab@php.net>
2022-09-25 20:43:31 +02:00
Ilija Tovilo 2aa10a6c0e Merge branch 'PHP-8.1' into PHP-8.2
* PHP-8.1:
  Backport community build to PHP-8.0 branch
2022-09-25 17:23:25 +02:00
Ilija Tovilo f368ecab83 Merge branch 'PHP-8.0' into PHP-8.1
* PHP-8.0:
  Backport community build to PHP-8.0 branch
2022-09-25 17:23:20 +02:00
Ilija Tovilo b655451439 Backport community build to PHP-8.0 branch
It doesn't make sense to keep it on azure because it will be run for the
PHP-8.0 branch on nightly anyway, as the workflow is triggered on the
master branch which will then invoke it for each branch.
2022-09-25 17:22:45 +02:00
Ilija Tovilo cc1b4051e7 Merge branch 'PHP-8.1' into PHP-8.2
* PHP-8.1:
  Remove unused azure pipelines files from PHP-8.1 branch
2022-09-25 17:00:34 +02:00
Ilija Tovilo 1265115640 Remove unused azure pipelines files from PHP-8.1 branch 2022-09-25 16:57:47 +02:00
Ilija Tovilo ae2d377758 Merge branch 'PHP-8.1' into PHP-8.2
* PHP-8.1:
  Remove unused azure pipelines templates
2022-09-25 16:52:46 +02:00
Ilija Tovilo 575ca2bd97 Merge branch 'PHP-8.0' into PHP-8.1
* PHP-8.0:
  Remove unused azure pipelines templates
2022-09-25 16:52:38 +02:00
Ilija Tovilo a9c66f0064 Remove unused azure pipelines templates 2022-09-25 16:51:11 +02:00
Ilija Tovilo 31dbbc598e Merge branch 'PHP-8.1' into PHP-8.2
* PHP-8.1:
  Remove symfony and laravel from PHP-8.0 community job
2022-09-25 16:46:02 +02:00
Ilija Tovilo 5fc7eeb9de Merge branch 'PHP-8.0' into PHP-8.1
* PHP-8.0:
  Remove symfony and laravel from PHP-8.0 community job
2022-09-25 16:45:57 +02:00
Ilija Tovilo afcaf3bd86 Remove symfony and laravel from PHP-8.0 community job
These branches no longer support PHP-8.0.
2022-09-25 16:45:07 +02:00
Ilija Tovilo a11b05f9a6 Merge branch 'PHP-8.1' into PHP-8.2
* PHP-8.1:
  Migrate libmysqlclient job to GitHub actions
2022-09-25 16:40:35 +02:00
Ilija Tovilo 1ee5b65f09 Migrate libmysqlclient job to GitHub actions
Closes GH-9608
2022-09-25 16:37:36 +02:00
Ilija Tovilo f505457a6a Merge branch 'PHP-8.1' into PHP-8.2
* PHP-8.1:
  Migrate variation job to GitHub actions
  Migrate --repeat 2 job to GitHub actions
2022-09-25 16:30:57 +02:00
Ilija Tovilo 90b437229f Migrate variation job to GitHub actions 2022-09-25 16:29:54 +02:00
Ilija Tovilo 2cf7d70e53 Migrate --repeat 2 job to GitHub actions 2022-09-25 16:28:43 +02:00
Ilija Tovilo a107266e1c Merge branch 'PHP-8.1' into PHP-8.2
* PHP-8.1:
  Migrate MSAN build to GitHub actions
2022-09-25 16:23:48 +02:00
Ilija Tovilo 5c72029e60 Merge branch 'PHP-8.0' into PHP-8.1
* PHP-8.0:
  Migrate MSAN build to GitHub actions
2022-09-25 16:21:57 +02:00
Ilija Tovilo 9377c30577 Migrate MSAN build to GitHub actions 2022-09-25 16:18:58 +02:00
Ilija Tovilo b1e112f668 Merge branch 'PHP-8.1' into PHP-8.2
* PHP-8.1:
  Move Opcache variation job to GitHub actions
2022-09-25 16:06:08 +02:00
Ilija Tovilo 9820098363 Merge branch 'PHP-8.0' into PHP-8.1
* PHP-8.0:
  Move Opcache variation job to GitHub actions
2022-09-25 16:04:59 +02:00
Ilija Tovilo 1bef2e5108 Move Opcache variation job to GitHub actions
Closes GH-9606
2022-09-25 15:57:59 +02:00
Ilija Tovilo 7a8c1a2307 Merge branch 'PHP-8.1' into PHP-8.2
* PHP-8.1:
  Migrate community job to GitHub actions
2022-09-23 20:25:14 +02:00
Ilija Tovilo e10961b27f Migrate community job to GitHub actions 2022-09-23 20:23:54 +02:00
Andy Postnikov 2108d6983f Revert "Fix parse_url(): can not recognize port without scheme"
This reverts commit 72d83709d9.

Closes GH-9569
2022-09-23 19:44:29 +02:00
George Peter Banyard 85d10cc93d Use true return type for XML functions which always return true
And fix xml_parser_set_option() which didn't return false on failure.

Closes GH-9539
2022-09-23 13:22:13 +01:00
Dmitry Stogov 95d9e5157f Check "ssa_op" before dereference (it may be NULL for opcache.jit=51) 2022-09-23 13:14:07 +03:00
Patrick Allaert 18cd80c327 Fixed undefined macros warnings 2022-09-22 13:17:02 +02:00
David Carlier fd55b50833 Merge branch 'PHP-8.1' into PHP-8.2 2022-09-22 11:24:37 +01:00
wxue1 52f4ed16e0 Indirect call reduction for Jit code
Changing indirect call to direct call for Jit code
benefits the branch prediction, which gets 1% performance
gain in our workload.
Similarly, we change indirect jump to direct jump.

Signed-off-by: Su, Tao <tao.su@intel.com>
Signed-off-by: Wang, Xue <xue1.wang@intel.com>
2022-09-22 11:22:27 +01:00
Ilija Tovilo 3071d85a6b PS(mod_user_class_name) must not leak into next request
Fixes GH-9584
2022-09-22 11:37:37 +02:00
Dmitry Stogov bda449afe8 Merge branch 'PHP-8.1' into PHP-8.2
* PHP-8.1:
  Intern string values of internal classes to prevent their future interning during inheritance.
2022-09-20 20:46:44 +03:00
Dmitry Stogov 3a46f9fd1d Intern string values of internal classes to prevent their future interning during inheritance. 2022-09-20 20:43:29 +03:00
Joshua Rüsweg ca399841ad Remove superfluous helper variable in Randomizer::getBytes() (#9563)
* Remove superfluous helper variable in Randomizer::getBytes()

* Reduce the scope of `result` in Randomizer::getBytes()

Co-authored-by: Tim Düsterhus <tim@bastelstu.be>
2022-09-20 17:41:31 +02:00
Remi Collet 28a4d7676a declare random globals as public API 2022-09-20 13:20:23 +02:00
Dmitry Stogov 5a868022e7 Merge branch 'PHP-8.1' into PHP-8.2
* PHP-8.1:
  Reorder conditions to avoid valgrind "Conditional jump or move depends on uninitialised value" warning.
2022-09-19 17:19:28 +03:00