File tree 3 files changed +8
-1
lines changed
3 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -221,6 +221,7 @@ PHP NEWS
221
221
. Added the http_get_last_response_headers() and
222
222
http_clear_last_response_headers() that allows retrieving the same content
223
223
as the magic $http_response_header variable.
224
+ . Add padding option to base64_encode. (Remi)
224
225
225
226
- XML:
226
227
. Added XML_OPTION_PARSE_HUGE parser option. (nielsdos)
Original file line number Diff line number Diff line change @@ -136,6 +136,8 @@ PHP 8.4 UPGRADE NOTES
136
136
PHP_ROUND_HALF_UP.
137
137
. strcspn() with empty $characters now returns the length of the string instead
138
138
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 '='.
139
141
140
142
- XML:
141
143
. The xml_set_*_handler() functions now declare and check for an effective
Original file line number Diff line number Diff line change @@ -203,7 +203,7 @@ PHP 8.4 INTERNALS UPGRADE NOTES
203
203
php_date_initialize_from_ts_double() to initialize a php_date_obj with
204
204
the given unix timestamp using GMT +00:00.
205
205
206
- d . ext/pcre
206
+ f . ext/pcre
207
207
- php_pcre_match_impl() now no longer has a use_flags argument.
208
208
When flags should be ignored, pass 0 to the flags argument.
209
209
- php_pcre_match_impl() and pcre_get_compiled_regex_cache_ex() now use
@@ -212,6 +212,10 @@ PHP 8.4 INTERNALS UPGRADE NOTES
212
212
options (from modifiers used in the expression, for example), and calls
213
213
pcre2_set_compile_extra_options() with those options.
214
214
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
+
215
219
========================
216
220
4. OpCode changes
217
221
========================
You can’t perform that action at this time.
0 commit comments