Ben Ramsey
9b0e391cf7
[ci skip] Mention selection of a veteran + 1 or 2 rookies
2022-05-03 19:38:24 -05:00
Derick Rethans
d54bcbb43b
Add DatePeriod's __serialize and __unserialize methods ( #8464 )
2022-05-03 22:06:17 +01:00
Máté Kocsis
da857c94a4
Merge branch 'PHP-8.1'
...
* PHP-8.1:
Fix get_function_or_method_name when included file is scoped
2022-05-03 21:38:32 +02:00
Máté Kocsis
510061b595
Merge branch 'PHP-8.0' into PHP-8.1
...
* PHP-8.0:
Fix get_function_or_method_name when included file is scoped
2022-05-03 21:36:42 +02:00
vajexal
74924ada93
Fix get_function_or_method_name when included file is scoped ( #8467 )
2022-05-03 21:34:01 +02:00
Máté Kocsis
fc04a6ebdd
Throw when calling ReflectionAttribute::__construct()
...
ReflectionAttribute::__construct() accepted any number of parameters until now, because parameter validation was missing. Even though this was unlikely to be an issue in practice (since the method is private), the problem is fixed by always throwing an exception.
2022-05-03 21:23:22 +02:00
Máté Kocsis
ef5478b823
Reorder param parsing and reflection object retrieval
2022-05-03 20:34:00 +02:00
Christoph M. Becker
251cb46dfb
[ci skip] Merge branch 'PHP-8.1'
...
* PHP-8.1:
Fix test for curl 7.83.0
2022-05-03 15:09:19 +02:00
Christoph M. Becker
59272266ee
Merge branch 'PHP-8.0' into PHP-8.1
...
* PHP-8.0:
Fix test for curl 7.83.0
2022-05-03 15:08:43 +02:00
Christoph M. Becker
722e9b9fa5
Fix test for curl 7.83.0
...
libcurl 7.83.0 removed some trailing exclamation marks from error
messages[1]; we have to cater to that.
[1] <6968fb9d54
>
(cherry picked from commit a4179e4c92
)
2022-05-03 15:07:50 +02:00
Christoph M. Becker
e5d9859b50
Merge branch 'PHP-8.1'
...
* PHP-8.1:
Fix GH-8235: iterator_count() may run indefinitely
2022-05-03 12:59:59 +02:00
Christoph M. Becker
e004e1a93b
Merge branch 'PHP-8.0' into PHP-8.1
...
* PHP-8.0:
Fix GH-8235: iterator_count() may run indefinitely
2022-05-03 12:59:39 +02:00
Christoph M. Becker
ad7b9f4e50
Fix GH-8235: iterator_count() may run indefinitely
...
We need to prevent integer overflow to eventually stop the iteration.
A test case doesn't appear sensible for this, because even on 32bit
architectures a respective test easily runs for a few minutes.
Closes GH-8447.
2022-05-03 12:57:58 +02:00
Christoph M. Becker
e7a79719cc
Merge branch 'PHP-8.1'
...
* PHP-8.1:
Fix PDO URI test
2022-05-03 12:44:32 +02:00
Christoph M. Becker
7612ea8121
Merge branch 'PHP-8.0' into PHP-8.1
...
* PHP-8.0:
Fix PDO URI test
2022-05-03 12:43:14 +02:00
Michael Voříšek
136ef6f129
Fix PDO URI test
...
Especially for remote servers, the respective part of the test may fail
for a lot of different reasons; instead of trying to catch all, we
rewrite to not fail, still testing for the contained NUL byte.
Closes GH-8451.
2022-05-03 12:12:41 +02:00
Remi Collet
6672a5ecfe
bump zip version
2022-05-02 15:18:02 +02:00
Remi Collet
882ad27ad2
Merge branch 'PHP-8.1'
...
* PHP-8.1:
[ci skip] NEWS
[ci skip] NEWS
2022-05-02 14:52:47 +02:00
Remi Collet
861b81b8f3
[ci skip] NEWS
2022-05-02 14:51:54 +02:00
Remi Collet
8ed93dab9d
Merge branch 'PHP-8.0' into PHP-8.1
...
* PHP-8.0:
[ci skip] NEWS
bug: Fix type for $index in ZipArchive::replaceFile
2022-05-02 14:51:38 +02:00
Remi Collet
2d4cc0eb83
[ci skip] NEWS
2022-05-02 14:50:16 +02:00
Remi Collet
c4a37c58d2
Merge branch 'PHP-8.1'
...
* PHP-8.1:
bug: Fix type for $index in ZipArchive::replaceFile
2022-05-02 14:23:34 +02:00
Martin Rehberger
62a650ab7d
bug: Fix type for $index in ZipArchive::replaceFile
2022-05-02 14:22:17 +02:00
Remi Collet
a13b94c5d1
Merge branch 'PHP-8.1'
...
* PHP-8.1:
Fix test XFAIL, update phar to use spl_autoload_register
bug: Fix type for $index in ZipArchive::replaceFile
2022-05-02 14:19:52 +02:00
Remi Collet
0e9c7c16aa
Merge branch 'PHP-8.0' into PHP-8.1
...
* PHP-8.0:
bug: Fix type for $index in ZipArchive::replaceFile
Fix test XFAIL, update phar to use spl_autoload_register
2022-05-02 14:16:01 +02:00
Michael Voříšek
bf46bc8718
Fix test XFAIL, update phar to use spl_autoload_register
...
Closes GH-8449.
2022-05-02 14:13:55 +02:00
Martin Rehberger
389d11308c
bug: Fix type for $index in ZipArchive::replaceFile
2022-05-02 14:08:19 +02:00
Christoph M. Becker
af40f06d5b
Merge branch 'PHP-8.1'
...
* PHP-8.1:
Fix test XFAIL, update phar to use spl_autoload_register
2022-05-02 14:02:46 +02:00
Christoph M. Becker
c9fba10242
Merge branch 'PHP-8.0' into PHP-8.1
...
* PHP-8.0:
Fix test XFAIL, update phar to use spl_autoload_register
2022-05-02 14:00:19 +02:00
Michael Voříšek
60487621c1
Fix test XFAIL, update phar to use spl_autoload_register
...
Closes GH-8449.
2022-05-02 13:58:25 +02:00
Arnaud Le Blanc
9e74e58bcf
Fix whitespaces
2022-04-29 23:37:57 +02:00
Cristian Rodríguez
be04769c9a
main: set IP_BIND_ADDRESS_NO_PORT if available when connecting to remote host
...
When you choose to bind() to a local address and connect to a remote host
the kernel does not know if socket is listener or whatnot and has to reserve
a port within a ~32k range on which you are also competing with other
applications bound to the same address, this is easy to exhaust and get a
EADDRINUSE.
The linux kernel implemented IP_BIND_ADDRESS_NO_PORT on
90c337da15
which delays the port allocation until the 4-tuple is known in case source port
is 0.
2022-04-29 23:36:10 +02:00
David CARLIER
31692a16af
Support zend alloc USE_ZEND_ALLOC_HUGE_PAGES option on MacOS
...
ZEND_MM_CHUNK_SIZE fits the VM_FLAGS_SUPERPAGE_SIZE_2MB special
file descriptor for mmap call.
2022-04-29 22:12:25 +01:00
Jakub Zelenka
5147f4c6f3
Merge branch 'PHP-8.1'
2022-04-29 20:49:07 +01:00
Jakub Zelenka
1e4dcbfc0b
Merge branch 'PHP-8.0' into PHP-8.1
2022-04-29 20:47:56 +01:00
Jakub Zelenka
82dae61c04
Move FPM ACS fix NEWS entry to 8.0.20
2022-04-29 20:46:38 +01:00
Jakub Zelenka
6e0a378c8b
Merge branch 'PHP-8.1'
2022-04-29 20:44:35 +01:00
Jakub Zelenka
e28e0ad35e
Update NEWS entry with correct version for FPM ACL fix
2022-04-29 20:43:50 +01:00
Jakub Zelenka
0332b62c35
Merge branch 'PHP-8.0' into PHP-8.1
2022-04-29 20:41:13 +01:00
David CARLIER
ef06f0f50b
Fix FPM ACL build check on MacOS
...
MacOS has got ACL support but without user/group support.
2022-04-29 20:39:22 +01:00
Derick Rethans
0bcffa6be2
Merged pull request #8460
2022-04-29 16:39:31 +01:00
Derick Rethans
f7a5353531
Turn off "Expect" header in test
...
Without this explicitly set, curl might decide to add a
`Expect: 100-continue` header if it deems the request too large.
See also: https://gms.tf/when-curl-sends-100-continue.html
2022-04-29 16:39:01 +01:00
Derick Rethans
fb3cba494e
Fix multi-same-name-fields in Curl for old (> 7.56.0) versions
2022-04-29 16:39:01 +01:00
Derick Rethans
27685972dc
Merged pull request #8459
2022-04-29 16:34:18 +01:00
Derick Rethans
c1ad706b82
Fixed reference count issue with zend_string
2022-04-29 14:33:16 +01:00
Derick Rethans
ef30c9ed98
Update 32-bit only test
2022-04-29 14:19:27 +01:00
Derick Rethans
8a67d7c363
Update related test in ext/standard
2022-04-29 11:25:55 +01:00
Derick Rethans
d57b05249c
Extended tests
2022-04-29 10:27:40 +01:00
Derick Rethans
5fb36414a3
Fixed cloning DateInterval
2022-04-29 10:27:40 +01:00
Derick Rethans
cae1d4adde
Add support for serialising all DateInterval objects
2022-04-29 10:27:40 +01:00