Skip to content

Commit 1d5f539

Browse files
committed
Add UPGRADING note for sscanf %c whitespace
1 parent ff5fd50 commit 1d5f539

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

UPGRADING

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,9 @@ PHP 8.6 UPGRADE NOTES
102102
- Standard:
103103
. Form feed (\f) is now added in the default trimmed characters of trim(),
104104
rtrim() and ltrim(). RFC: https://wiki.php.net/rfc/trim_form_feed
105+
. sscanf() and fscanf() now make the %c conversion consume whitespace.
106+
Previously, the conversion stopped at whitespace even though %c does not
107+
skip leading whitespace.
105108
. array_filter() now raises a ValueError when an invalid $mode
106109
argument value is passed.
107110
. array_change_key_case() now raises a ValueError when an invalid $case

0 commit comments

Comments
 (0)