#
e3ef7bbb |
| 05-Feb-2022 |
Ilija Tovilo |
Adjust filename/lineno for constant expressions Closes GH-7771 Closes GH-8124 |
#
3a71fcf5 |
| 08-Mar-2022 |
Christoph M. Becker |
Merge branch 'PHP-8.0' into PHP-8.1 * PHP-8.0: Fix GH-8121: SplFileObject - seek and key with csv file inconsistent
|
#
1d9a1f9b |
| 28-Feb-2022 |
Christoph M. Becker |
Fix GH-8121: SplFileObject - seek and key with csv file inconsistent First, we must not free the current line before we call `spl_filesystem_file_read_csv()`, because then the `current_l
Fix GH-8121: SplFileObject - seek and key with csv file inconsistent First, we must not free the current line before we call `spl_filesystem_file_read_csv()`, because then the `current_line` will not be properly updated. Since the EOF check is superfluous here, we move that part of the code to the branch for subtypes. This issue has been introduced by the fix for bug 75917. Second, we only must increase the `current_line` if we're not reading ahead. This issue has been introduced by the fix for bug 62004. Closes GH-8138.
show more ...
|
#
a44d99fe |
| 07-Mar-2022 |
Bob Weinand |
Merge branch 'PHP-8.0' into PHP-8.1
|
#
0d7e10c1 |
| 07-Mar-2022 |
Tim Düsterhus |
Fix memory leak of function attribute hash table (#8070) ==109253== 280 (56 direct, 224 indirect) bytes in 1 blocks are definitely lost in loss record 4 of 4 ==109253== at 0x4
Fix memory leak of function attribute hash table (#8070) ==109253== 280 (56 direct, 224 indirect) bytes in 1 blocks are definitely lost in loss record 4 of 4 ==109253== at 0x483B7F3: malloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==109253== by 0x6D9FA2: __zend_malloc (zend_alloc.c:3068) ==109253== by 0x745138: zend_add_attribute (zend_attributes.c:226) ==109253== by 0x6680D1: zend_add_parameter_attribute (zend_attributes.h:102) ==109253== by 0x66B787: zm_startup_zend_test (test.c:478) ==109253== by 0x7224CD: zend_startup_module_ex (zend_API.c:2202) ==109253== by 0x72252C: zend_startup_module_zval (zend_API.c:2217) ==109253== by 0x734288: zend_hash_apply (zend_hash.c:2011) ==109253== by 0x722C30: zend_startup_modules (zend_API.c:2328) ==109253== by 0x67409B: php_module_startup (main.c:2256) ==109253== by 0x88EDDE: php_cli_startup (php_cli.c:409) ==109253== by 0x890F61: main (php_cli.c:1334)
show more ...
|
#
f095d2c9 |
| 07-Mar-2022 |
Bob Weinand |
Fix freeing of internal attribute arguments |
#
cbbf3502 |
| 07-Mar-2022 |
Bob Weinand |
Fix GH-8176: Fix leaking enum values in property initializers |
#
4b90eef9 |
| 04-Mar-2022 |
Christoph M. Becker |
Merge branch 'PHP-8.0' into PHP-8.1 * PHP-8.0: Fix GH-8142: Compilation error on cygwin
|
#
8b15858c |
| 23-Feb-2022 |
David Carlier |
Fix GH-8142: Compilation error on cygwin * pcntl: SIGPOLL/si_band is unsupported * intl: enable the signal apis with `_POSIX_C_SOURCE` Closes GH-8146. |
#
81048b9f |
| 04-Mar-2022 |
Christoph M. Becker |
Merge branch 'PHP-8.0' into PHP-8.1 * PHP-8.0: Fix GH-8048: disk_*_space wrong for some filesystems on macOS
|
#
57ef16bb |
| 07-Feb-2022 |
risner |
Fix GH-8048: disk_*_space wrong for some filesystems on macOS A macOS bug in libc statvfs(3) call truncates 64 bit elements (e.g. f_blocks) to 32 bits. Thus, we force macOS to use statf
Fix GH-8048: disk_*_space wrong for some filesystems on macOS A macOS bug in libc statvfs(3) call truncates 64 bit elements (e.g. f_blocks) to 32 bits. Thus, we force macOS to use statfs. Closes GH-8056.
show more ...
|
#
67440096 |
| 04-Mar-2022 |
Patrick Allaert |
Added: [zend_]memory_reset_peak_usage() (#8151) |
#
925a3097 |
| 18-Feb-2022 |
Ilija Tovilo |
Allowing catching arg type deprecations in intl classes Closes GH-8115 Closes GH-8117 |
#
723058c3 |
| 02-Mar-2022 |
Patrick Allaert |
Bump for 8.1.5-dev |
#
85b669e5 |
| 01-Mar-2022 |
Bob Weinand |
Merge branch 'PHP-8.0' into PHP-8.1
|
#
e6cf5831 |
| 12-Feb-2022 |
Bob Weinand |
Fix GH-8082: Prevent leaking memory on observed transient run_time_caches This is achieved by tracking the observers on the run_time_cache (with a fixed amount of slots, 2 for each observer)
Fix GH-8082: Prevent leaking memory on observed transient run_time_caches This is achieved by tracking the observers on the run_time_cache (with a fixed amount of slots, 2 for each observer). That way round, if the run_time_cache is freed all associated observer data is as well. This approach has been chosen, as to avoid any ABI or API breakage. Future versions may for example choose to provide a hookable API for run_time_cache freeing or similar.
show more ...
|
#
05f2fb3a |
| 01-Mar-2022 |
Gabriel Caruso |
Fix NEWS format |
#
5507201a |
| 01-Mar-2022 |
Gabriel Caruso |
Prepare for PHP 8.0.18 |
#
27d2fddf |
| 28-Feb-2022 |
Christoph M. Becker |
Merge branch 'PHP-8.0' into PHP-8.1 * PHP-8.0: Fix GH-8080: ReflectionClass::getConstants() depends on def. order
|
#
0d266a24 |
| 16-Feb-2022 |
Christoph M. Becker |
Fix GH-8080: ReflectionClass::getConstants() depends on def. order When we need to evaluate constant ASTs, we always have to do that in the scope where the constant has been defined, whi
Fix GH-8080: ReflectionClass::getConstants() depends on def. order When we need to evaluate constant ASTs, we always have to do that in the scope where the constant has been defined, which may be a parent of the `ReflectionClass`'s scope. Closes GH-8106.
show more ...
|
#
33cd61c9 |
| 23-Feb-2022 |
Christoph M. Becker |
Fix GH-8140: Wrong first class callable by name optimization When optimizing by name function calls, we must not replace `CALLABLE_CONVERT` opcodes, but have to keep them. Close
Fix GH-8140: Wrong first class callable by name optimization When optimizing by name function calls, we must not replace `CALLABLE_CONVERT` opcodes, but have to keep them. Closes GH-8144.
show more ...
|
#
bbc111ed |
| 23-Feb-2022 |
Alex Dowad |
Add NEWS entry for recent MBString bugfix (re: '7bit' encoding) Thanks to Kamil Tekiela for mentioning that this should be done. |
#
7ea3b193 |
| 22-Feb-2022 |
Christoph M. Becker |
Merge branch 'PHP-8.0' into PHP-8.1 * PHP-8.0: Fix GH-8074: Wrong type inference of range() result
|
#
ef80dcb8 |
| 21-Feb-2022 |
Christoph M. Becker |
Fix GH-8074: Wrong type inference of range() result If either the first or second operand of `range()` may be a string, we must not exclude the possibility that the result may be an arra
Fix GH-8074: Wrong type inference of range() result If either the first or second operand of `range()` may be a string, we must not exclude the possibility that the result may be an array of longs. Closes GH-8131.
show more ...
|
#
dfd2a80b |
| 17-Feb-2022 |
Calvin Buckley |
Fix #80909: crash with persistent connections in PDO_ODBC When we have a complex connection string (more than a DSN), PHP appends a UID and PWD if none are present and a username and pas
Fix #80909: crash with persistent connections in PDO_ODBC When we have a complex connection string (more than a DSN), PHP appends a UID and PWD if none are present and a username and password are called, so SQLDriverConnect works as expected. However, it seems spprintf doesn't allocate with persistence if required. As a result, it'll be considering leaking and crash PHP on free when a persistent connection is used. Closes GH-8110.
show more ...
|