#
8094bd1b |
| 21-May-2024 |
Tim Düsterhus |
Make `ReflectionGenerator::getFunction()` legal after generator termination (#14167) * Make `ReflectionGenerator::getFunction()` legal after generator termination * Expose the gener
Make `ReflectionGenerator::getFunction()` legal after generator termination (#14167) * Make `ReflectionGenerator::getFunction()` legal after generator termination * Expose the generator function name via `Generator::__debugInfo()` * Allow creating `ReflectionGenerator` after termination * Reorder `struct _zend_generator` to avoid a hole * Adjust `ext/reflection/tests/028.phpt` This is legal now. * Fix Generator Closure collection * Add test to verify the Closure dies with the generator * NEWS / UPGRADING
show more ...
|
#
90e0ce7f |
| 20-May-2024 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Throw early when a non-stream-context resource is passed to libxml_set_streams_context() (#14279)
|
#
e5cb9d7d |
| 07-May-2024 |
Derick Rethans |
Force ffp-contract to off
|
#
b7bf846f |
| 20-May-2024 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Fix bug #81227: PDO::inTransaction reports false when in transaction (#14268)
|
#
9aa3a0d7 |
| 18-May-2024 |
David Carlier |
ext/pgsql: adding pg_change_password functionality. handy call to change an user password while taking care transparently of the password's encryption. close GH-14262
|
#
b7dd3d83 |
| 15-May-2024 |
武田 憲太郎 |
ext/pdo_pgsql: Retrieve the memory usage of the query result resource (#14260) `getAttribute()` can now retrieve the memory usage of query results. `PDO::PGSQL_ATTR_RESULT_MEMORY_SIZE` w
ext/pdo_pgsql: Retrieve the memory usage of the query result resource (#14260) `getAttribute()` can now retrieve the memory usage of query results. `PDO::PGSQL_ATTR_RESULT_MEMORY_SIZE` was added for this feature. closes #14260
show more ...
|
#
a59868ae |
| 16-May-2024 |
Kamil Tekiela |
Clear mysql error in fetch_into Closes GH-14256
|
#
ebd1a366 |
| 13-May-2024 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Fix GH-14215: Cannot use FFI::load on CRLF header file with apache2handler Some modules may reset _fmode, which causes mangling of line endings. Always be explicit like we do in other pl
Fix GH-14215: Cannot use FFI::load on CRLF header file with apache2handler Some modules may reset _fmode, which causes mangling of line endings. Always be explicit like we do in other places where the native open call is used. Closes GH-14218.
show more ...
|
#
77fa4c0f |
| 12-May-2024 |
武田 憲太郎 |
ext/pgsql: add `pg_result_memory_size` Close GH-14214
|
#
5b6cda65 |
| 08-May-2024 |
Benjamin Cremer |
Fix GH-14175: Use two digit float specifier for FPM systemd format req rate Close GH-14175
|
#
1e2a2d7d |
| 11-May-2024 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Fix crash in ParentNode::append() when dealing with a fragment containing text nodes Credits for test: https://github.com/PhpGt/Dom/pull/454. Closes GH-14206.
|
#
19c8a10f |
| 09-May-2024 |
David Carlier |
ext/pcntl: add pcntl_getcpu support for solaris. using getcpuid having similar signature too. close GH-14188
|
#
217b753a |
| 10-May-2024 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Fix GH-14189: PHP Interactive shell input state incorrectly handles quoted heredoc literals. Only `'` was handled, no handling case for `"` existed. Simply add it so the heredoc tag is s
Fix GH-14189: PHP Interactive shell input state incorrectly handles quoted heredoc literals. Only `'` was handled, no handling case for `"` existed. Simply add it so the heredoc tag is set up correctly. Closes GH-14195.
show more ...
|
#
15813d69 |
| 10-May-2024 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Fix GH-14183: XMLReader::open() can't be overridden We should only return the override if the internal static method is matched. Closes GH-14194.
|
#
12dc5197 |
| 10-May-2024 |
Saki Takamachi |
ext/hash: Swap the checking order of __has_builtin and __GNUC__ (#14185) closes #14185
|
#
42ede559 |
| 02-May-2024 |
Ilija Tovilo |
Fix persisting of inherited class constants Class constants are inherited to user classes without cloning. Thus, internal class constants should not be persisted at all. Simply keep poin
Fix persisting of inherited class constants Class constants are inherited to user classes without cloning. Thus, internal class constants should not be persisted at all. Simply keep pointing to the internal class constant. Fixes GH-14109 Closes GH-14114
show more ...
|
#
f8d1864b |
| 01-May-2024 |
Ilija Tovilo |
Delay #[Attribute] arg validation until runtime Fixes GH-13970 Closes GH-14105 We cannot validate at compile-time for multiple reasons: * Evaluating the argument naivel
Delay #[Attribute] arg validation until runtime Fixes GH-13970 Closes GH-14105 We cannot validate at compile-time for multiple reasons: * Evaluating the argument naively with zend_get_attribute_value can lead to code execution at compile time through the new expression, leading to possible reentrance of the compiler. * Even if the evaluation was possible, it would need to be restricted to the current file, because constant values coming from other files can change without affecting the current compilation unit. For this reason, validation would need to be repeated at runtime anyway. * Enums cannot be instantiated at compile-time (the actual bug report). This could be allowed here, because the value is immediately destroyed. But given the other issues, this won't be needed. Instead, we just move it to runtime entirely. It's only needed for ReflectionAttribute::newInstance(), which is not particularly a hot path. The checks are also simple.
show more ...
|
#
f97bd071 |
| 05-May-2024 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Implement SeekableIterator for SplObjectStorage (#13665)
|
#
b1bb9c34 |
| 01-May-2024 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
[ci skip] NEWS and UPGRADING
|
#
0540a421 |
| 01-May-2024 |
Saki Takamachi |
[skip ci] NEWS
|
#
10ae8796 |
| 01-May-2024 |
Saki Takamachi |
NEWS/UPGRADING
|
#
74843947 |
| 20-Apr-2024 |
David Carlier |
sapi/cgi: fix buffer limit on windows. MSDN recommends dropping the deprecated `read` in favor of `_read`. Also, the buffer size limit is INT_MAX. Close GH-14022
|
#
4167d750 |
| 30-Apr-2024 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
[ci skip] Fix typo in NEWS
|
#
2dbe2d62 |
| 30-Apr-2024 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Fix crash when calling childNodes next() when iterator is exhausted Closes GH-14091.
|
#
30a0b035 |
| 30-Apr-2024 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Fix references not handled correctly in C14N Closes GH-14090.
|