Commit Graph

127421 Commits

Author SHA1 Message Date
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
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
1265115640
Remove unused azure pipelines files from PHP-8.1 branch 2022-09-25 16:57:47 +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
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
1ee5b65f09
Migrate libmysqlclient job to GitHub actions
Closes GH-9608
2022-09-25 16:37:36 +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
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
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
e10961b27f
Migrate community job to GitHub actions 2022-09-23 20:23:54 +02: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
Dmitry Stogov
3a46f9fd1d Intern string values of internal classes to prevent their future interning during inheritance. 2022-09-20 20:43:29 +03:00
Dmitry Stogov
20d1d234ca Merge branch 'PHP-8.0' into PHP-8.1
* PHP-8.0:
  Reorder conditions to avoid valgrind "Conditional jump or move depends on uninitialised value" warning.
2022-09-19 17:19:19 +03:00
Dmitry Stogov
e488f7b0eb Reorder conditions to avoid valgrind "Conditional jump or move depends on uninitialised value" warning. 2022-09-19 17:17:53 +03:00
Dmitry Stogov
8a1f7fa721 Fix memory leak
Fixes oss-fuzz #51451
2022-09-19 13:03:24 +03:00
Anatol Belski
54701ea3e7 NEWS: Add entry for GH-8805
[ci skip]

Signed-off-by: Anatol Belski <ab@php.net>
2022-09-18 15:39:07 +02:00
Anatol Belski
34fa65a6c2 fileinfo: magic: Backport mime type support for woff/woff2 fonts
Upstream patch: 7a821aedc1

Fixes GH-8805.

Signed-off-by: Anatol Belski <ab@php.net>
(cherry picked from commit 8a2ebe069148909a00739c83e9bcc031734bf826)
2022-09-18 14:39:12 +02:00
Christoph M. Becker
bfb4ee7c98
Work around dl(mysqli) issue with OPcache on AppVeyor
As described in #8508, if OPcache is enabled, ext/mysqli can't be
dl()'d; we work around that by loading the extension on startup.

Closes GH-9557.
2022-09-17 12:05:35 +02:00
Ilija Tovilo
308ad7f017
Merge branch 'PHP-8.0' into PHP-8.1
* PHP-8.0:
  Skip nightly coverage job in forks
2022-09-15 10:41:53 +02:00
Ilija Tovilo
0451eded79
Skip nightly coverage job in forks 2022-09-15 10:41:17 +02:00
Derick Rethans
0dcd098dfa Merge remote-tracking branch 'derickr/timelib-2021-17-integration' into PHP-8.1 2022-09-14 16:25:43 +01:00
Derick Rethans
dd365b044a Add 'const' to match actual API 2022-09-14 11:02:26 +01:00
Derick Rethans
e5b4624b8b Fixed #9165: strtotime translates a date-time with DST/non-DST hour differently based on default timezone 2022-09-14 10:42:42 +01:00
Derick Rethans
4a5202293b Merge timelib 2021.17 2022-09-14 10:40:59 +01:00
Sara Golemon
50dc7a8634 Merge branch 'PHP-8.0' into PHP-8.1
* PHP-8.0:
  Bump for 8.0.25
2022-09-13 23:47:32 +00:00
Sara Golemon
559da529a0
Bump for 8.0.25 2022-09-13 23:46:26 +00:00
Patrick Allaert
0f575aa698
PHP-8.1 is now for PHP 8.1.12-dev 2022-09-13 23:09:47 +02:00
Michael Voříšek
7fd14eb08b
Fix oci_success_with_info.phpt test random failures
Closes GH-9525.
2022-09-13 17:15:36 +02:00
Christoph M. Becker
cd927ef634
Merge branch 'PHP-8.0' into PHP-8.1
* PHP-8.0:
  Always skip randomly failing OCI8 extauth tests
2022-09-13 14:25:11 +02:00
Michael Voříšek
9a73ec0367
Always skip randomly failing OCI8 extauth tests
This might be caused by an issue with the Oracle Instant Client
libraries[1]; we skip the tests for the time being.

[1] <https://github.com/php/php-src/pull/9524#issuecomment-1244409815>

Closes GH-9524.
2022-09-13 14:21:23 +02:00
George Peter Banyard
71e198be25 Merge branch 'PHP-8.0' into PHP-8.1 2022-09-13 12:45:42 +01:00
George Peter Banyard
47500f3300 Fix GH-9421 Incorrect argument number for ValueError in NumberFormatter
Closes GH-9489
2022-09-13 12:42:58 +01:00
George Peter Banyard
3d5df064ca Merge branch 'PHP-8.0' into PHP-8.1 2022-09-13 11:33:09 +01:00
George Peter Banyard
293e69179d Fix GH-9308 GMP throws the wrong error when a GMP object is passed to gmp_init()
Closes GH-9490
2022-09-13 11:24:19 +01:00
Ilija Tovilo
9af98cd465
Fix ZEND_RC_MOD_CHECK() for thread local ini parser strings 2022-09-12 23:31:26 +02:00
Dmitry Stogov
f4afa9adc6 Merge branch 'PHP-8.0' into PHP-8.1
* PHP-8.0:
  Reset FG(user_stream_current_filename) at the end of request
2022-09-12 11:39:18 +03:00
Dmitry Stogov
d0b3096ff0 Reset FG(user_stream_current_filename) at the end of request
Attempt to fix oss-fuzz #51047
2022-09-12 11:38:31 +03:00
Arnaud Le Blanc
466e4dc2a2
Check return value of zend_jit_trace_get_exit_addr() (#9097) 2022-09-09 10:50:03 +02:00
Ilija Tovilo
f8d62b4c4b
Merge branch 'PHP-8.0' into PHP-8.1
* PHP-8.0:
  Skip oci tests that leak under asan
  Fix undefined left shift in oci
2022-09-08 15:57:53 +02:00
Ilija Tovilo
4a8cca241f
Skip oci tests that leak under asan 2022-09-08 15:56:13 +02:00
Ilija Tovilo
aa7f4497bf
Fix undefined left shift in oci
The bit is shifted into the signed bit which is undefined. Make the
integer explicitly unsigned before shifting.
2022-09-08 15:56:10 +02:00
Ilija Tovilo
15ee9d2686
Merge branch 'PHP-8.0' into PHP-8.1
* PHP-8.0:
  Fix lsp error in eval'd code referring to incorrect class for static type
2022-09-08 10:53:45 +02:00
Ilija Tovilo
d5373eac46
Fix lsp error in eval'd code referring to incorrect class for static type
Fixes GH-9407
Closes GH-9471
2022-09-08 10:52:27 +02:00
Ilija Tovilo
a795f3ebc6
Merge branch 'PHP-8.0' into PHP-8.1
* PHP-8.0:
  Private method incorrectly marked as "overwrites" in reflection
2022-09-08 10:44:13 +02:00