File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,10 @@ PHP 8.4 UPGRADE NOTES
26
26
Consult sections 2. New Features and 6. New Functions for a list of
27
27
newly implemented methods and constants.
28
28
29
+ - MBString:
30
+ . mb_http_output() now checks that the $encoding parameter does not
31
+ contain any null bytes. If it does, a ValueError is now thrown.
32
+
29
33
- PDO_PGSQL:
30
34
. The DSN's credentials, when set, are given priority over their PDO
31
35
constructor counterparts, being closer to the documentation states.
Original file line number Diff line number Diff line change @@ -1330,7 +1330,7 @@ PHP_FUNCTION(mb_http_output)
1330
1330
1331
1331
ZEND_PARSE_PARAMETERS_START (0 , 1 )
1332
1332
Z_PARAM_OPTIONAL
1333
- Z_PARAM_STRING_OR_NULL (name , name_len )
1333
+ Z_PARAM_PATH_OR_NULL (name , name_len ) /* For null byte check */
1334
1334
ZEND_PARSE_PARAMETERS_END ();
1335
1335
1336
1336
if (name == NULL ) {
You can’t perform that action at this time.
0 commit comments