1
0
mirror of https://github.com/php/php-src.git synced 2026-04-06 07:32:54 +02:00
Commit Graph

129646 Commits

Author SHA1 Message Date
Derick Rethans
53cefd4beb Merge branch 'PHP-8.2' 2022-09-09 09:16:29 +01:00
Derick Rethans
49c029858b Fixed error updating once more 2022-09-09 09:16:24 +01:00
Derick Rethans
47447891f7 Merge branch 'PHP-8.2' 2022-09-09 00:27:56 +01:00
Derick Rethans
2d2a1e39ac Merge remote-tracking branch 'derickr/fix-error-container-uninitialised-variable' into PHP-8.2 2022-09-09 00:27:46 +01:00
Derick Rethans
f799bc4eca Don't return existing error_container/NULL, but use by-ref instead 2022-09-09 00:25:30 +01:00
Derick Rethans
8cdfffb753 Fixed MemorySanitizer: use-of-uninitialized-value warning introduced by 932586c426 2022-09-09 00:25:30 +01:00
Ilija Tovilo
5cb9e72feb Fix pdeathsig test on FreeBSD
For FreeBSD a small usleep is required to make sure the processes have
time to terminate.

Closes GH-9506
2022-09-08 16:07:06 +02:00
Ilija Tovilo
5f526c1e18 Merge branch 'PHP-8.2'
* PHP-8.2:
  Skip oci tests that leak under asan
  Fix undefined left shift in oci
2022-09-08 15:58:28 +02:00
Ilija Tovilo
6af3f5d514 Merge branch 'PHP-8.1' into PHP-8.2
* PHP-8.1:
  Skip oci tests that leak under asan
  Fix undefined left shift in oci
2022-09-08 15:58:11 +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
Máté Kocsis
340b94e9ad Merge branch 'PHP-8.2'
* PHP-8.2:
  Declare ext/standard constants in stubs - part 7 (#9505)
2022-09-08 13:59:46 +02:00
Máté Kocsis
3227d04fa9 Declare ext/standard constants in stubs - part 7 (#9505) 2022-09-08 13:57:07 +02:00
Ilija Tovilo
ec6893e07e [skip ci] Add missing NEWS entry for GH-9476 2022-09-08 11:13:02 +02:00
Ilija Tovilo
4842edeae4 Improve magic __get and property type inconsistency error message
Fixes GH-9388
Closes GH-9436
2022-09-08 11:07:29 +02:00
Ilija Tovilo
e17a7ac54b Merge branch 'PHP-8.2'
* PHP-8.2:
  Fix lsp error in eval'd code referring to incorrect class for static type
2022-09-08 10:54:18 +02:00
Ilija Tovilo
580c29e1a2 Merge branch 'PHP-8.1' into PHP-8.2
* PHP-8.1:
  Fix lsp error in eval'd code referring to incorrect class for static type
2022-09-08 10:54:02 +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
ecc3fc180f Use PDEATHSIG to kill cli-server workers if parent exists
Closes GH-9476
2022-09-08 10:48:20 +02:00
Ilija Tovilo
c200623f28 Merge branch 'PHP-8.2'
* PHP-8.2:
  Private method incorrectly marked as "overwrites" in reflection
2022-09-08 10:44:50 +02:00
Ilija Tovilo
a85c757dcb Merge branch 'PHP-8.1' into PHP-8.2
* PHP-8.1:
  Private method incorrectly marked as "overwrites" in reflection
2022-09-08 10:44:32 +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
Ilija Tovilo
1435fc6262 Private method incorrectly marked as "overwrites" in reflection
Fix GH-9409
Closes GH-9469
2022-09-08 10:43:25 +02:00
David Carlier
e423cfb519 Merge branch 'PHP-8.2' 2022-09-08 09:11:24 +01:00
David CARLIER
4f2759525c Fix GH-9493: fix ancillary data build for FreeBSD prior to the 13 release. (#9496)
the legacy sockcred struct does not hold the process id, thus sockcred2
 had been added from FreeBSD 13 in conjunction with LOCAL_CREDS_PERSISTENT
 to address this thus we disable the feature for earlier releases.
2022-09-08 09:10:16 +01:00
Máté Kocsis
e9c0aa10d0 Merge branch 'PHP-8.2'
* PHP-8.2:
  Add support for validation of missing method synopses (#9491)
2022-09-07 17:41:10 +02:00
Máté Kocsis
ce058273ba Add support for validation of missing method synopses (#9491) 2022-09-07 17:40:36 +02:00
Dominic H
cb4e8ff2b8 [ci skip] Fix typo in configure.ac (build → built)
Closes GH-9495.
2022-09-07 17:17:58 +02:00
Máté Kocsis
f3d8f09720 Merge branch 'PHP-8.2'
* PHP-8.2:
  Upgrade PHP parser to 4.15.1
2022-09-06 14:10:21 +02:00
Máté Kocsis
05aa3b3e0a Upgrade PHP parser to 4.15.1
It contains some useful fixes
2022-09-06 14:09:47 +02:00
David CARLIER
d67df602a6 intl: use uspoof_check2UTF8 call when available. (#9478) 2022-09-06 13:07:07 +01:00
George Peter Banyard
163c0b5f4c Merge branch 'PHP-8.2' 2022-09-06 10:42:34 +01:00
George Peter Banyard
3e362f51ac Add zend_string INI validators
Currently we only have validators for char* which is rather annoying as INI settings are saved as zend_string* in the first place

Closes GH-9328
2022-09-06 10:41:47 +01:00
George Peter Banyard
5011a185b5 Update globals to use bool type 2022-09-06 10:34:10 +01:00
George Peter Banyard
1ad59b32c2 Update INI validator and displayers depending on INI type
Closes GH-9451
2022-09-06 10:33:34 +01:00
Tim Düsterhus
03fd405423 Use php_info_print_table_header for actual column headers only (#9485)
Using php_info_print_table_header() for "Foo: bar" looks odd and out of place,
because the whole line is colored. It is also questionable from a HTML
semantics point of view, because it does not described the columns that follow.

The use of this across extensions is inconsistent. It was part of the skeleton,
but ext/date or ext/json already use a regular row.
2022-09-06 08:48:22 +02:00
Mikhail Galanin
9bea5f443b Add "Start time", "Last restart time" and "Last force restart time" to phpinfo()
for opcache.

Closes GH-9475.
2022-09-05 17:54:47 +01:00
Tim Düsterhus
ebc4159dc0 Merge branch 'PHP-8.2'
* PHP-8.2:
  random: Validate that the arrays do not contain extra elements when unserializing (#9458)
2022-09-05 17:34:10 +02:00
Tim Düsterhus
ddf7a5d4d9 random: Validate that the arrays do not contain extra elements when unserializing (#9458)
* Apply `var_dump()` in 02_engine/all_serialize_error.phpt

This ensures that an undetected serialization error is clear identifiable in the output.

* random: Validate that the arrays do not contain extra elements when unserializing
2022-09-05 17:33:36 +02:00
Christoph M. Becker
669312df75 Merge branch 'PHP-8.2'
* PHP-8.2:
  Fix GH-9411: PgSQL large object resource is incorrectly closed
2022-09-05 17:29:36 +02:00
Christoph M. Becker
15405c60da Merge branch 'PHP-8.1' into PHP-8.2
* PHP-8.1:
  Fix GH-9411: PgSQL large object resource is incorrectly closed
2022-09-05 17:28:23 +02:00
Christoph M. Becker
b5cad508fe Merge branch 'PHP-8.0' into PHP-8.1
* PHP-8.0:
  Fix GH-9411: PgSQL large object resource is incorrectly closed
2022-09-05 17:26:13 +02:00
Yurun
6ac3f7c84d Fix GH-9411: PgSQL large object resource is incorrectly closed
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>

Closes GH-9411.
2022-09-05 16:37:54 +02:00
Christoph M. Becker
aff99f5c1f Support sapi/cli/tests/017.phpt on Windows, too
`escapeshellarg()` is pretty useless on Windows, and there is no way to
support multiple lines (i.e. line breaks).  Thus, we use `proc_open()`
instead of `shell_exec()`.

We also remove some apparently superfluous empty lines from the test
expectation; that seems to match libedit behavior on Linux.

Closes GH-9474.
2022-09-05 14:45:05 +02:00
Máté Kocsis
ce9077d8e0 Merge branch 'PHP-8.2'
* PHP-8.2:
  Add support for validation of missing class synopses (#9472)
2022-09-05 14:21:49 +02:00
Máté Kocsis
c547fc183c Add support for validation of missing class synopses (#9472) 2022-09-05 14:21:15 +02:00
Máté Kocsis
f311fe00b3 Merge branch 'PHP-8.2'
* PHP-8.1:
  Fix inexistent skipif.inc
2022-09-05 12:38:25 +02:00
Máté Kocsis
87862578cb Merge branch 'PHP-8.1' into PHP-8.2
* PHP-8.1:
  Fix inexistent skipif.inc
2022-09-05 12:38:09 +02:00