Skip to content

[Sync-En] ext/mbstring: mb_*code_numericentity Clarify the ValueError conditions (#4852) - #1220

Open
lacatoire wants to merge 1 commit into
php:masterfrom
lacatoire:sync-en/1206-mbstring-numericentity
Open

[Sync-En] ext/mbstring: mb_*code_numericentity Clarify the ValueError conditions (#4852)#1220
lacatoire wants to merge 1 commit into
php:masterfrom
lacatoire:sync-en/1206-mbstring-numericentity

Conversation

@lacatoire

Copy link
Copy Markdown
Member

Closes #1206

Updates the errors and changelog sections of mb_decode_numericentity and mb_encode_numericentity to accurately describe which values in map trigger a ValueError: not just non-integers but any value that cannot be implicitly converted to int (EN commit 3505aae96c190f3970e15bf3b7a12ead73b95662).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Sync EN] ext/mbstring: mb_*code_numericentity Clarify the ValueError conditions (#4852)

1 participant