#
2f27e0b2 |
| 05-Aug-2024 |
Ilija Tovilo |
Fix missing variance check for abstract set with asymmetric type (#15157) Fixes GH-15140
|
#
0b25e26b |
| 05-Aug-2024 |
Peter Kokot |
Fix bug #51558: shared readline build fails (#15242) The 'rl_pending_input' is a variable in Readline library and checking it with PHP_CHECK_LIBRARY wouldn't find it on some systems.
Fix bug #51558: shared readline build fails (#15242) The 'rl_pending_input' is a variable in Readline library and checking it with PHP_CHECK_LIBRARY wouldn't find it on some systems. Library check works on most systems but not on the mentioned AIX in the bug as it exports variables and functions differently whereas the linker couldn't resolve the variable as a function. This should fix the build on systems where this caused issues, such as AIX. The <readline/readline.h> is not self-contained header and needs to also have <stdio.h> included before to have FILE type available. This fixes the issue on unpatched default readline installations, such as macOS. Checking this variable ensures that the found library is the correct library and also that it is of minimum version needed by current PHP code (https://bugs.php.net/48608). The library check: ```c | char rl_pending_input (); | int main (void) { | return rl_pending_input (); | } ``` The declaration check: ```c | #include <stdio.h> | #include <readline/readline.h> | int main (void) { | #ifndef rl_pending_input | #ifdef __cplusplus | (void) rl_pending_input; | #else | (void) rl_pending_input; | #endif | #endif | ; | return 0; | } ``` Closes https://bugs.php.net/51558
show more ...
|
#
43f688e1 |
| 05-Aug-2024 |
Ilija Tovilo |
Fix zend_function.prop_info pointer for trait hooks (#15245) Fixes GH-15240
|
#
d9eb3783 |
| 04-Aug-2024 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Remove DOMImplementation::getFeature() (#15233) RFC: https://wiki.php.net/rfc/deprecations_php_8_4#remove_domimplementationgetfeature_feature_version
|
#
0aec0faa |
| 04-Aug-2024 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Deprecate DOM_PHP_ERR (#15234) * Deprecate DOM_PHP_ERR RFC: https://wiki.php.net/rfc/deprecations_php_8_4#deprecate_dom_php_err_constant * Apply suggestions from code revie
Deprecate DOM_PHP_ERR (#15234) * Deprecate DOM_PHP_ERR RFC: https://wiki.php.net/rfc/deprecations_php_8_4#deprecate_dom_php_err_constant * Apply suggestions from code review Co-authored-by: Tim Düsterhus <timwolla@googlemail.com> --------- Co-authored-by: Tim Düsterhus <timwolla@googlemail.com>
show more ...
|
#
b9fef523 |
| 04-Aug-2024 |
Jorg Adam Sowa |
Deprecate date_sunrise and date_sunset constants (#12978) RFC: https://wiki.php.net/rfc/deprecations_php_8_4
|
#
e8ff7c70 |
| 04-Aug-2024 |
Tim Düsterhus |
session: Deprecate `session.sid_length` and `session.sid_bits_per_character` (#15213) RFC: https://wiki.php.net/rfc/deprecations_php_8_4
|
#
f5f92941 |
| 04-Aug-2024 |
Tim Düsterhus |
random: Deprecate `lcg_value()` (#15211) RFC: https://wiki.php.net/rfc/deprecations_php_8_4
|
#
ecd11b96 |
| 04-Aug-2024 |
Tim Düsterhus |
unserialize: Deprecate the 'S' tag (#12309) RFC: https://wiki.php.net/rfc/deprecations_php_8_4
|
#
67ce8759 |
| 02-Aug-2024 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Fix GH-15179: Segmentation fault (null pointer dereference) in ext/standard/url_scanner_ex.re Based on analysis by Ilija: https://github.com/php/php-src/issues/15179#issuecomment-2261546902
Fix GH-15179: Segmentation fault (null pointer dereference) in ext/standard/url_scanner_ex.re Based on analysis by Ilija: https://github.com/php/php-src/issues/15179#issuecomment-2261546902 * Apply suggestions from code review Closes GH-15206. Co-authored-by: Ilija Tovilo <ilija.tovilo@me.com>
show more ...
|
#
20ea4ead |
| 02-Aug-2024 |
Peter Kokot |
[skip ci] Fix NEWS entry for config.* scripts
|
#
e02fa5f8 |
| 02-Aug-2024 |
Peter Kokot |
Autotools: Update config.guess to 2024-07-27 and config.sub to 2024-05-27 (#15190) ``` wget -O build/config.guess https://git.savannah.gnu.org/cgit/config.git/plain/config.guess wget
Autotools: Update config.guess to 2024-07-27 and config.sub to 2024-05-27 (#15190) ``` wget -O build/config.guess https://git.savannah.gnu.org/cgit/config.git/plain/config.guess wget -O build/config.sub https://git.savannah.gnu.org/cgit/config.git/plain/config.sub ```
show more ...
|
#
76ad89cc |
| 01-Aug-2024 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Fix GH-15192: Segmentation fault in dom extension (html5_serializer) When cloning a document, doc will not be equal to the actual new document clone->doc. clone->doc will always point to
Fix GH-15192: Segmentation fault in dom extension (html5_serializer) When cloning a document, doc will not be equal to the actual new document clone->doc. clone->doc will always point to the correct document so use that instead when comparing document nodes. Closes GH-15198.
show more ...
|
#
dc670cb7 |
| 02-Aug-2024 |
Peter Kokot |
Fix GH-13199: Redundant prompt in phpdbg with libedit/readline When using libedit/readline integration in phpdbg: ./configure --with-libedit --enable-phpdbg-readline EO
Fix GH-13199: Redundant prompt in phpdbg with libedit/readline When using libedit/readline integration in phpdbg: ./configure --with-libedit --enable-phpdbg-readline EOF makes editline write prompt again in local console mode. For example, this can be noticed when reading phpt test files from STDIN and running phpdbg: ./sapi/cli/php run-tests.php sapi/phpdbg Closes GH-13199
show more ...
|
#
3c36c730 |
| 24-Jul-2024 |
David Carlier |
sapi/phpdbg: windows update exception type falling into segfault. close GH-15098
|
#
0f2f7c6f |
| 01-Aug-2024 |
Saki Takamachi |
[skip ci] Update NEWS for PHP 8.4.0alpha4
|
#
b282dd74 |
| 28-Jul-2024 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Fix UAF when removing doctype and using foreach iteration This is an old bug, but this is pretty easy to fix. It's basically applying the same fix as I did for e878b9f. Reported by Y
Fix UAF when removing doctype and using foreach iteration This is an old bug, but this is pretty easy to fix. It's basically applying the same fix as I did for e878b9f. Reported by YuanchengJiang. Closes GH-15143.
show more ...
|
#
60afeb55 |
| 30-Jul-2024 |
Saki Takamachi <34942839+SakiTakamachi@users.noreply.github.com> |
RFC: Change GMP bool cast behavior (#15151) Implementation of "RFC: Change GMP bool cast behavior" https://wiki.php.net/rfc/fix_up_bcmath_number_class Co-authored-by: Tim D
RFC: Change GMP bool cast behavior (#15151) Implementation of "RFC: Change GMP bool cast behavior" https://wiki.php.net/rfc/fix_up_bcmath_number_class Co-authored-by: Tim Düsterhus <tim@bastelstu.be>
show more ...
|
#
0e33b8da |
| 30-Jul-2024 |
Saki Takamachi |
Update NEWS for PHP 8.4.0alpha3
|
#
c7b65508 |
| 30-Jul-2024 |
Arnaud Le Blanc |
[ci skip] NEWS
|
#
e077186a |
| 30-Jul-2024 |
Arnaud Le Blanc |
[ci skip] NEWS
|
#
58cf903a |
| 30-Jul-2024 |
Arnaud Le Blanc |
[ci skip] NEWS
|
#
9083ce4d |
| 29-Jul-2024 |
Tim Düsterhus |
[skip ci] Add missing name in NEWS for GH-15121
|
#
e0a2e2e5 |
| 28-Jul-2024 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Fix GH-15123: var_dump doesn't actually work on XMLReader (#15130)
|
#
a7d856d9 |
| 27-Jul-2024 |
David Carlier |
ext/readline: fix global readline vars when updating rl_line_buffer. if the new value was larger, rl_line_buffer_length was never updated. neither was rl_end (on unixes). close
ext/readline: fix global readline vars when updating rl_line_buffer. if the new value was larger, rl_line_buffer_length was never updated. neither was rl_end (on unixes). close GH-15120
show more ...
|