1
0
mirror of https://github.com/php/php-src.git synced 2026-04-23 07:58:20 +02:00
Commit Graph

130197 Commits

Author SHA1 Message Date
Ilija Tovilo 8e98473360 Merge branch 'PHP-8.2'
* PHP-8.2:
  [skip ci] Mark frequently failing hrtime test as XFAIL
2022-10-20 11:00:46 +02:00
Ilija Tovilo 182d297891 Merge branch 'PHP-8.1' into PHP-8.2
* PHP-8.1:
  [skip ci] Mark frequently failing hrtime test as XFAIL
2022-10-20 11:00:33 +02:00
Ilija Tovilo 2f225b3008 Merge branch 'PHP-8.0' into PHP-8.1
* PHP-8.0:
  [skip ci] Mark frequently failing hrtime test as XFAIL
2022-10-20 11:00:21 +02:00
Ilija Tovilo 4071e18620 [skip ci] Mark frequently failing hrtime test as XFAIL 2022-10-20 10:59:07 +02:00
Ilija Tovilo a5db83c3e2 Merge branch 'PHP-8.2'
* PHP-8.2:
  [skip ci] Mark frequently failing OCI test as XFAIL
2022-10-20 10:57:52 +02:00
Ilija Tovilo 75c06e869c [skip ci] Mark frequently failing OCI test as XFAIL 2022-10-20 10:57:13 +02:00
Ilija Tovilo 300dd9c65a Merge branch 'PHP-8.2'
* PHP-8.2:
  Fix failing date test
2022-10-20 10:51:39 +02:00
Ilija Tovilo 4ed73caf74 Merge branch 'PHP-8.1' into PHP-8.2
* PHP-8.1:
  Fix failing date test
2022-10-20 10:51:19 +02:00
Ilija Tovilo d0190532f3 Merge branch 'PHP-8.0' into PHP-8.1
* PHP-8.0:
  Fix failing date test
2022-10-20 10:50:03 +02:00
Ilija Tovilo 4e8a6554cb Fix failing date test
INCLUDE_END_DATE has only been introduced in PHP 8.2.
2022-10-20 10:48:57 +02:00
Derick Rethans e32d1d9017 Merge branch 'PHP-8.2' 2022-10-19 16:03:09 +01:00
Derick Rethans 0a1a9997c7 Merge branch 'PHP-8.1' into PHP-8.2 2022-10-19 16:03:02 +01:00
Derick Rethans df085f4678 Merge branch 'PHP-8.0' into PHP-8.1 2022-10-19 16:02:57 +01:00
Derick Rethans 011b7f9840 Test for bug #78055 (DatePeriod's getRecurrences and ->recurrences don't match) 2022-10-19 16:02:49 +01:00
Christoph M. Becker 87f1f5dc02 Merge branch 'PHP-8.2'
* PHP-8.2:
  Fix GH-9372: HY010 when binding overlong parameter
2022-10-19 11:37:30 +02:00
Christoph M. Becker f5aaa8f187 Fix GH-9372: HY010 when binding overlong parameter
If `SQLPutData()` *fails*, we should not call `SQLParamData()` again,
because that yields the confusing `HY010` (Function sequence error).
Instead we properly handle `SQLPutData()` errors.

For the given case (paramter length > column length), some drivers let
`SQLPutData()` fail, while others do not.  Either behavior seems to
conform to the ODBC specification.  Anyhow, we do not want to silently
truncate the given parameter, since that would break the behavior for
drivers which do not fail, but still don't simply truncate the given
parameter.  So it is finally up to userland to avoid passing overlong
parameters – with this patch they at least get useful information about
the actual issue.

Closes GH-9541.
2022-10-19 11:37:05 +02:00
Derick Rethans 54056769e9 Merge branch 'PHP-8.2' 2022-10-17 18:22:47 +01:00
Derick Rethans 2e6b317fe3 Merge branch 'PHP-8.1' into PHP-8.2 2022-10-17 18:22:42 +01:00
Derick Rethans 25744dd73c Merge branch 'PHP-8.0' into PHP-8.1 2022-10-17 18:22:36 +01:00
Derick Rethans 41a6a298d9 Update NEWS 2022-10-17 18:22:29 +01:00
Derick Rethans 47b9ea1957 Merge remote-tracking branch 'derickr/gh9763' into PHP-8.0 2022-10-17 18:21:35 +01:00
Derick Rethans 7b48053293 Fixed GH-9763: DateTimeZone ctr mishandles input and adds null byte if the argument is an offset larger than 100*60 minutes 2022-10-17 17:08:44 +01:00
Dmitry Stogov 5a68d991ad Merge branch 'PHP-8.2'
* PHP-8.2:
  Fix memory leak
2022-10-17 15:09:33 +03:00
Dmitry Stogov eecbb60db6 Fix memory leak
Fixes oss-fuzz #52479
2022-10-17 15:08:21 +03:00
Dmitry Stogov 61b2b3e99c Merge branch 'PHP-8.2'
* PHP-8.2:
  Reset JIT for dynamic functions on opcache restrart
2022-10-17 11:27:20 +03:00
Dmitry Stogov d282345e11 Merge branch 'PHP-8.1' into PHP-8.2
* PHP-8.1:
  Reset JIT for dynamic functions on opcache restrart
2022-10-17 11:27:12 +03:00
Dmitry Stogov 61e563ca40 Reset JIT for dynamic functions on opcache restrart 2022-10-17 11:26:30 +03:00
Dmitry Stogov 63c8ad4c7e Merge branch 'PHP-8.2'
* PHP-8.2:
  Discard disasm symbols on opcache restart
2022-10-17 11:24:20 +03:00
Dmitry Stogov 5e10aa4e5f Merge branch 'PHP-8.1' into PHP-8.2
* PHP-8.1:
  Discard disasm symbols on opcache restart
2022-10-17 11:24:08 +03:00
Dmitry Stogov 3e076ddf06 Merge branch 'PHP-8.0' into PHP-8.1
* PHP-8.0:
  Discard disasm symbols on opcache restart
2022-10-17 11:24:00 +03:00
Dmitry Stogov cefb228e15 Discard disasm symbols on opcache restart 2022-10-17 11:22:59 +03:00
Kévin Dunglas e6bfd7e089 Set SA_ONSTACK too when zend signals are disabled and in pcntl
Closes GH-9758.
2022-10-16 23:47:53 +01:00
Tim Düsterhus d368abb921 Merge branch 'PHP-8.2'
* PHP-8.2:
  Update to actions/checkout@v3 (PHP-8.1)
  Update to actions/checkout@v3 (#9759)
2022-10-16 15:37:47 +02:00
Tim Düsterhus e8f2fe6745 Merge branch 'PHP-8.1' into PHP-8.2
* PHP-8.1:
  Update to actions/checkout@v3 (PHP-8.1)
2022-10-16 15:36:30 +02:00
Tim Düsterhus 8cd1b837c1 Update to actions/checkout@v3 (PHP-8.1)
see 629fcb6a0f
2022-10-16 15:35:57 +02:00
Tim Düsterhus 0bde7c513b Merge branch 'PHP-8.1' into PHP-8.2
* PHP-8.1:
  Update to actions/checkout@v3 (#9759)
2022-10-16 15:33:48 +02:00
Tim Düsterhus 6c3b148d7a Merge branch 'PHP-8.0' into PHP-8.1
* PHP-8.0:
  Update to actions/checkout@v3 (#9759)
2022-10-16 15:33:22 +02:00
Tim Düsterhus 629fcb6a0f Update to actions/checkout@v3 (#9759)
The relevant difference is that the v3 uses a newer node.js version. GitHub
currently warns when using v2, as the node.js version used is deprecated:

> Node.js 12 actions are deprecated. For more information see:
> https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/.
> Please update the following actions to use Node.js 16: actions/checkout,
> actions/checkout
2022-10-16 15:33:07 +02:00
Jakub Zelenka 18fe337bae Fix bug #51056: fread() on blocking stream will block even if data is available
This is applied only on socket connection which already returns
immediately if there is no data in the buffer.
2022-10-16 12:17:47 +01:00
Arnaud Le Blanc 1c1481bbb5 Merge branch 'PHP-8.2'
* PHP-8.2:
  [ci skip] NEWS
  [ci skip] NEWS
  [ci skip] NEWS
  Restore extra_named_params when restoring frozen call stack
2022-10-16 12:48:26 +02:00
Arnaud Le Blanc 2c25dfb440 [ci skip] NEWS 2022-10-16 12:46:25 +02:00
Arnaud Le Blanc a1295cbfce Merge branch 'PHP-8.1' into PHP-8.2
* PHP-8.1:
  [ci skip] NEWS
  [ci skip] NEWS
  Restore extra_named_params when restoring frozen call stack
2022-10-16 12:45:41 +02:00
Arnaud Le Blanc e3c40c6829 [ci skip] NEWS 2022-10-16 12:44:05 +02:00
Arnaud Le Blanc 2831e0c624 Merge branch 'PHP-8.0' into PHP-8.1
* PHP-8.0:
  [ci skip] NEWS
  Restore extra_named_params when restoring frozen call stack
2022-10-16 12:43:34 +02:00
Arnaud Le Blanc f702f87f70 [ci skip] NEWS 2022-10-16 12:43:21 +02:00
Arnaud Le Blanc 86e1fea39a Restore extra_named_params when restoring frozen call stack 2022-10-16 12:40:09 +02:00
Kévin Dunglas c8c09b4aae opcache: add FrankenPHP to the allow list 2022-10-15 14:30:17 +02:00
David Carlier 35b5aceff3 SO_ATTACH_REUSEPORT_CBPF filter update. SDK_AD_QUEUE support to attach to a queue.
Closes #9690
2022-10-15 11:22:26 +01:00
Arnaud Le Blanc 69eb38b460 [ci skip] UPGRADING 2022-10-14 12:25:17 +02:00
Christoph M. Becker d758f58672 Merge branch 'PHP-8.2'
* PHP-8.2:
  Fix GH-9720: Null pointer dereference while serializing the response
2022-10-13 16:08:50 +02:00