Bob Weinand
a814afb088
Fix crash reading module_entry after DL_UNLOAD() when module already loaded
...
This occurs when the handle is different from the current handle (e.g. copy of the .so file), hence the existing test did not catch that particular case.
2022-11-09 17:52:21 +01:00
Christoph M. Becker
3c102469de
Merge branch 'PHP-8.1' into PHP-8.2
...
* PHP-8.1:
Don't skip test on Windows due to missing ext/posix
2022-11-07 15:07:53 +01:00
Christoph M. Becker
31cdda2440
Merge branch 'PHP-8.0' into PHP-8.1
...
* PHP-8.0:
Don't skip test on Windows due to missing ext/posix
2022-11-07 15:07:09 +01:00
Christoph M. Becker
4c35d6440b
Don't skip test on Windows due to missing ext/posix
...
ext/posix is not available on Windows, but there is no need to check
for root (i.e. elevated privileges) on this platform, either.
Closes GH-9886.
2022-11-07 15:01:25 +01:00
Ilija Tovilo
f45c8bd34e
Merge branch 'PHP-8.1' into PHP-8.2
...
* PHP-8.1:
Really fix test this time
2022-11-03 16:34:03 +01:00
Ilija Tovilo
35167af771
Really fix test this time
2022-11-03 16:33:07 +01:00
Ilija Tovilo
46d693b82f
Merge branch 'PHP-8.1' into PHP-8.2
...
* PHP-8.1:
Fix ext section
2022-11-03 15:20:22 +01:00
Ilija Tovilo
bca1e1f557
Fix ext section
...
Ugh, sorry.
2022-11-03 15:19:44 +01:00
Ilija Tovilo
4382c092c2
Merge branch 'PHP-8.1' into PHP-8.2
...
* PHP-8.1:
Fix duplicate SKIPIF section
2022-11-03 15:18:44 +01:00
Ilija Tovilo
d2c663441d
Fix duplicate SKIPIF section
2022-11-03 15:18:13 +01:00
Ilija Tovilo
b08901b63f
Merge branch 'PHP-8.1' into PHP-8.2
...
* PHP-8.1:
Migrate i386 to GitHub actions
2022-11-03 14:37:59 +01:00
Ilija Tovilo
ed1e703716
Merge branch 'PHP-8.0' into PHP-8.1
...
* PHP-8.0:
Migrate i386 to GitHub actions
2022-11-03 14:37:17 +01:00
Ilija Tovilo
75970077b0
Migrate i386 to GitHub actions
...
Closes GH-9856
2022-11-03 14:34:54 +01:00
Jakub Zelenka
b732d80329
Fix bug GH-9779: stream_copy_to_stream fail when dest in append mode
2022-10-23 12:40:22 +01: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
Christoph M. Becker
6e0505bf27
Fix GH-9589: dl() segfaults when module is already loaded
...
As of PHP 8.2.0, `zend_module_entry` structures are no longer copied,
so when a module is permanently loaded, and users try to dynamically
load that module again, the structure is corrupted[1], causing a
segfault on shutdown.
We catch that by checking whether any dynamically loaded module is
already loaded, and bailing out in that case without modifying the
`zend_module_entry` structure.
[1] <https://github.com/php/php-src/issues/9589#issuecomment-1263718701 >
Closes GH-9689.
2022-10-10 13:36:57 +02:00
Dmitry Stogov
626e909877
Merge branch 'PHP-8.1' into PHP-8.2
...
* PHP-8.1:
Fix GH-9697: array_walk($ffiInstance, function () {}) crashes due to expecting mutable array
2022-10-10 11:25:33 +03:00
Dmitry Stogov
fa2c519544
Merge branch 'PHP-8.0' into PHP-8.1
...
* PHP-8.0:
Fix GH-9697: array_walk($ffiInstance, function () {}) crashes due to expecting mutable array
2022-10-10 11:25:23 +03:00
Dmitry Stogov
d9651a9419
Fix GH-9697: array_walk($ffiInstance, function () {}) crashes due to expecting mutable array
2022-10-10 11:21:05 +03:00
Ilija Tovilo
182c8acf43
Merge branch 'PHP-8.1' into PHP-8.2
...
* PHP-8.1:
Prepare for Windows CI with Github Actions
2022-10-09 18:48:07 +02:00
Ilija Tovilo
296a09549b
Merge branch 'PHP-8.0' into PHP-8.1
...
* PHP-8.0:
Prepare for Windows CI with Github Actions
2022-10-09 18:45:29 +02:00
Michael Voříšek
b43e49437c
Prepare for Windows CI with Github Actions
2022-10-09 18:44:59 +02:00
Christoph M. Becker
c5f53c4ef4
Merge branch 'PHP-8.1' into PHP-8.2
...
* PHP-8.1:
Use --EXTENSIONS-- section for newly added tests
2022-10-01 14:09:26 +02:00
Christoph M. Becker
47c79a97f5
Use --EXTENSIONS-- section for newly added tests
...
As of PHP 8.1.0, the `--EXTENSIONS-- section is properly supported, and
CIs may make use of that (our AppVeyor CI does). Thus it is important
to list required extensions there, since otherwise they may not be
loaded, causing the test to be skipped, or worse, to be borked.
2022-10-01 14:08:59 +02:00
Arnaud Le Blanc
246d13cd99
Merge branch 'PHP-8.1' into PHP-8.2
...
* PHP-8.1:
[ci skip] NEWS
[ci skip] NEWS
Return immediately when FD_SETSIZE is exceeded (#9602 )
2022-10-01 11:24:23 +02:00
Arnaud Le Blanc
d4b99542d5
Merge branch 'PHP-8.0' into PHP-8.1
...
* PHP-8.0:
[ci skip] NEWS
Return immediately when FD_SETSIZE is exceeded (#9602 )
2022-10-01 11:23:34 +02:00
Arnaud Le Blanc
80232de0e4
Return immediately when FD_SETSIZE is exceeded ( #9602 )
2022-10-01 11:20:43 +02:00
David Carlier
ed1d41465a
Merge branch 'PHP-8.1' into PHP-8.2
2022-09-29 20:40:45 +01:00
David Carlier
2440d29efd
Merge branch 'PHP-8.0' into PHP-8.1
2022-09-29 20:40:33 +01:00
David Carlier
257f108924
fix php_init_crypt_r/php_shutdown_crypt_r signatures warning.
2022-09-29 20:40:16 +01:00
Christoph M. Becker
3d2d7d1000
Merge branch 'PHP-8.1' into PHP-8.2
...
* PHP-8.1:
Revert unintended test expectation change
2022-09-28 12:14:39 +02:00
Christoph M. Becker
9caa71f94f
Merge branch 'PHP-8.0' into PHP-8.1
...
* PHP-8.0:
Revert unintended test expectation change
2022-09-28 12:13:39 +02:00
Athos Ribeiro
e6a822d437
Revert unintended test expectation change
...
Commit fbe3059 included an unintended change to the test which checks if
dns_get_record populates its additional parameter. This patch reverts
such change.
The issue was not detected by the CIs because their tests run in
the --offline mode, and the test in question needs internet connection.
Closes GH-9625.
2022-09-28 12:12:21 +02:00
Derick Rethans
25290cd25c
Merge branch 'PHP-8.1' into PHP-8.2
2022-09-27 14:11:40 +01:00
Derick Rethans
cfee252a95
Merge branch 'PHP-8.0' into PHP-8.1
2022-09-27 14:11:31 +01:00
Derick Rethans
def8c8d174
Merge branch 'PHP-7.4' into PHP-8.0
2022-09-27 14:11:14 +01: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
Christoph M. Becker
76dccd8207
Fix GH-9518: Disabling IPv6 support disables unrelated constants
...
We need to properly terminate the "conditional compilation" in stub
files.
Closes GH-9520.
2022-09-10 18:12:22 +02:00
Derick Rethans
0611be4e82
Fix #81727 : Don't mangle HTTP variable names that clash with ones that have a specific semantic meaning.
2022-09-09 17:10:04 +01:00
Máté Kocsis
3227d04fa9
Declare ext/standard constants in stubs - part 7 ( #9505 )
2022-09-08 13:57:07 +02:00
Máté Kocsis
c547fc183c
Add support for validation of missing class synopses ( #9472 )
2022-09-05 14:21:15 +02: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
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
6f2f228e4a
Declare ext/standard constants in stubs - part 5
...
Closes GH-9466
2022-09-02 15:04:49 +02:00
Máté Kocsis
64b962b241
Declare ext/standard constants in stubs - part 4
...
Closes GH-9465
2022-09-02 12:41:51 +02:00
Tim Düsterhus
c77bbf6fe5
Mark crypt()'s $string parameter as #[\SensitiveParameter]
2022-08-30 20:02:28 +02:00