Skip to content

Commit dd6e738

Browse files
committed
[ci skip] NEWS for base64_encode
1 parent b5446e4 commit dd6e738

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

NEWS

+1
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,7 @@ PHP NEWS
221221
. Added the http_get_last_response_headers() and
222222
http_clear_last_response_headers() that allows retrieving the same content
223223
as the magic $http_response_header variable.
224+
. Add padding option to base64_encode. (Remi)
224225

225226
- XML:
226227
. Added XML_OPTION_PARSE_HUGE parser option. (nielsdos)

UPGRADING

+2
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,8 @@ PHP 8.4 UPGRADE NOTES
136136
PHP_ROUND_HALF_UP.
137137
. strcspn() with empty $characters now returns the length of the string instead
138138
of incorrectly stopping at the first NUL character. See GH-12592.
139+
. base64_encode now have a $padding option (true by default) to allow
140+
encoding without the padding character '='.
139141

140142
- XML:
141143
. The xml_set_*_handler() functions now declare and check for an effective

UPGRADING.INTERNALS

+5-1
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ PHP 8.4 INTERNALS UPGRADE NOTES
203203
php_date_initialize_from_ts_double() to initialize a php_date_obj with
204204
the given unix timestamp using GMT +00:00.
205205

206-
d. ext/pcre
206+
f. ext/pcre
207207
- php_pcre_match_impl() now no longer has a use_flags argument.
208208
When flags should be ignored, pass 0 to the flags argument.
209209
- php_pcre_match_impl() and pcre_get_compiled_regex_cache_ex() now use
@@ -212,6 +212,10 @@ PHP 8.4 INTERNALS UPGRADE NOTES
212212
options (from modifiers used in the expression, for example), and calls
213213
pcre2_set_compile_extra_options() with those options.
214214

215+
g. ext/standard
216+
- Added the base64_encode_ex() API with flag parameters, value can be
217+
PHP_BASE64_NO_PADDING to encode without the padding character '='.
218+
215219
========================
216220
4. OpCode changes
217221
========================

0 commit comments

Comments
 (0)