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
Máté Kocsis
59180b50b3
Fix inexistent skipif.inc
2022-09-05 12:37:53 +02:00
Dmitry Stogov
94e27baf99
Merge branch 'PHP-8.2'
...
* PHP-8.2:
Fix type inference
2022-09-05 13:01:12 +03:00
Dmitry Stogov
c151e9b75b
Merge branch 'PHP-8.1' into PHP-8.2
...
* PHP-8.1:
Fix type inference
2022-09-05 13:01:04 +03:00
Dmitry Stogov
c852e0fff9
Merge branch 'PHP-8.0' into PHP-8.1
...
* PHP-8.0:
Fix type inference
2022-09-05 12:56:34 +03:00
Dmitry Stogov
81cb005ef7
Fix type inference
...
Fixes oss-fuzz #50792
2022-09-05 12:55:50 +03:00
Tim Düsterhus
14f22e9294
[ci skip] Fix formatting in UPGRADING
...
- Remove `k` typo that was accidentally added in a headline separator.
- Remove premature hard break after very short line length.
- Remove dots at the end of constant lists (not used in 8.2).
2022-09-04 21:01:28 +02:00
David Carlier
25311214e7
[ci skip] UPGRADING striping name.
2022-09-04 19:54:16 +01:00
David Carlier
6d5770c250
[ci skip] NEWS UPGRADING
2022-09-04 19:52:21 +01:00
David Carlier
a5a8b5ff7e
posix add sysconf call.
...
providing handful of common and most used constants.
Closes GH-9481.
2022-09-04 17:11:25 +01:00
Tim Düsterhus
181ac4617b
Remove obsolete checks for random-related functionality from ext/standard/config.m4 ( #9482 )
...
The users of these checks have been moved to ext/random. ext/standard does not
reference the resulting defines.
2022-09-04 15:00:43 +02:00
David Carlier
79ac6e0485
Merge branch 'PHP-8.2'
2022-09-04 02:14:14 +01:00
David Bohman
f098193d15
GH-9464: Fix build on older macOs releases.
...
A simple check for CommonCrypto/CommonRandom.h does not work on earlier macOS.
Must also pull in sys/types.h for size_t, Availability.h for __OSX_AVAILABLE_STARTING,
and CommonCrypto/CommonCryptoError.h for CCCryptorStatus.
Closes GH-9479.
2022-09-04 02:12:28 +01:00
Arnaud Le Blanc
745db44022
Merge branch 'PHP-8.2'
...
* PHP-8.2:
[ci skip] NEWS
Log the cause of error when opcache cannot write to file cache (#9258 )
Fix high opcache.interned_strings_buffer causing shm corruption (#9260 )
2022-09-03 11:28:34 +02:00
Arnaud Le Blanc
349fdc9042
[ci skip] NEWS
2022-09-03 11:28:18 +02:00
Arnaud Le Blanc
ea1287b015
Log the cause of error when opcache cannot write to file cache ( #9258 )
2022-09-03 11:23:43 +02:00
Arnaud Le Blanc
fb242f41ba
Fix high opcache.interned_strings_buffer causing shm corruption ( #9260 )
2022-09-03 11:23:10 +02:00
Máté Kocsis
e2bdf4dc6c
Merge branch 'PHP-8.2'
...
* PHP-8.2:
Regenerate optimizer func info after preprocessor condition changes
2022-09-02 17:19:08 +02:00
Máté Kocsis
5210872747
Regenerate optimizer func info after preprocessor condition changes
2022-09-02 17:18:42 +02:00
Máté Kocsis
b22e23676e
Merge branch 'PHP-8.2'
...
* PHP-8.2:
Fix memory leak triggered by unsuccessful dynamic property unserialization
Declare ext/standard constants in stubs - part 6
Add parenthesis around preprocessor conditions in stubs
2022-09-02 16:26:10 +02:00
Máté Kocsis
e733ebf30e
Add parenthesis around preprocessor conditions in stubs
...
gen_stub.php concatenates nested #ifs into one #if so let's make sure the semantics remain the same.
2022-09-02 16:21:28 +02:00
Máté Kocsis
cfa72ff3af
Declare ext/standard constants in stubs - part 6
...
Closes GH-9467
2022-09-02 16:07:25 +02:00
Máté Kocsis
5c3559464b
Fix memory leak triggered by unsuccessful dynamic property unserialization
...
Closes GH-9468
2022-09-02 15:07:19 +02:00
Máté Kocsis
bbcd4481d5
Merge branch 'PHP-8.2'
...
* PHP-8.2:
Declare ext/standard constants in stubs - part 5
2022-09-02 15:05:18 +02:00
Máté Kocsis
6f2f228e4a
Declare ext/standard constants in stubs - part 5
...
Closes GH-9466
2022-09-02 15:04:49 +02:00
Arnaud Le Blanc
257d16edc3
Merge branch 'PHP-8.2'
...
* PHP-8.2:
[ci skip] NEWS
[ci skip] NEWS
[ci skip] NEWS
Add tests
Fix GH-8932: Provide a way to get the called-scope of closures (#9299 )
2022-09-02 13:57:33 +02:00
Arnaud Le Blanc
840ea641b1
[ci skip] NEWS
2022-09-02 13:57:11 +02:00
Arnaud Le Blanc
dcde9b85a6
Merge branch 'PHP-8.1' into PHP-8.2
...
* PHP-8.1:
[ci skip] NEWS
[ci skip] NEWS
Add tests
Fix GH-8932: Provide a way to get the called-scope of closures (#9299 )
2022-09-02 13:55:57 +02:00
Arnaud Le Blanc
6deddd3950
[ci skip] NEWS
2022-09-02 13:53:20 +02:00
Arnaud Le Blanc
409baac29c
Merge branch 'PHP-8.0' into PHP-8.1
...
* PHP-8.0:
[ci skip] NEWS
Add tests
Fix GH-8932: Provide a way to get the called-scope of closures (#9299 )
2022-09-02 13:53:14 +02:00