[php-src] master: [ci skip] NEWS for base64_encode

From: Date: Tue, 26 Mar 2024 12:50:40 +0000
Subject: [php-src] master: [ci skip] NEWS for base64_encode
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-127858@lists.php.net to get a copy of this message
Author: Remi Collet (remicollet) Date: 2024-03-26T13:50:31+01:00 Commit: https://github.com/php/php-src/commit/dd6e738fe4c8d373e001800c752ad607567bc981 Raw diff: https://github.com/php/php-src/commit/dd6e738fe4c8d373e001800c752ad607567bc981.diff [ci skip] NEWS for base64_encode Changed paths: M NEWS M UPGRADING M UPGRADING.INTERNALS Diff: diff --git a/NEWS b/NEWS index 2bbec1c254fd..92385717b76c 100644 --- a/NEWS +++ b/NEWS @@ -221,6 +221,7 @@ PHP NEWS . Added the http_get_last_response_headers() and http_clear_last_response_headers() that allows retrieving the same content as the magic $http_response_header variable. + . Add padding option to base64_encode. (Remi) - XML: . Added XML_OPTION_PARSE_HUGE parser option. (nielsdos) diff --git a/UPGRADING b/UPGRADING index ee8b6fcbea1b..e6aacce4bc64 100644 --- a/UPGRADING +++ b/UPGRADING @@ -136,6 +136,8 @@ PHP 8.4 UPGRADE NOTES PHP_ROUND_HALF_UP. . strcspn() with empty $characters now returns the length of the string instead of incorrectly stopping at the first NUL character. See GH-12592. + . base64_encode now have a $padding option (true by default) to allow + encoding without the padding character '='. - XML: . The xml_set_*_handler() functions now declare and check for an effective diff --git a/UPGRADING.INTERNALS b/UPGRADING.INTERNALS index f6585f4b60f1..9abcbe57e83b 100644 --- a/UPGRADING.INTERNALS +++ b/UPGRADING.INTERNALS @@ -203,7 +203,7 @@ PHP 8.4 INTERNALS UPGRADE NOTES php_date_initialize_from_ts_double() to initialize a php_date_obj with the given unix timestamp using GMT +00:00. - d. ext/pcre + f. ext/pcre - php_pcre_match_impl() now no longer has a use_flags argument. When flags should be ignored, pass 0 to the flags argument. - php_pcre_match_impl() and pcre_get_compiled_regex_cache_ex() now use @@ -212,6 +212,10 @@ PHP 8.4 INTERNALS UPGRADE NOTES options (from modifiers used in the expression, for example), and calls pcre2_set_compile_extra_options() with those options. + g. ext/standard + - Added the base64_encode_ex() API with flag parameters, value can be + PHP_BASE64_NO_PADDING to encode without the padding character '='. + ======================== 4. OpCode changes ========================

« previous php.cvs (#127858) next »