Skip to content

[Sync-En] mbstring: clarify the mb_*_numericentity ValueError conditions and reformat the examples - #1296

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

[Sync-En] mbstring: clarify the mb_*_numericentity ValueError conditions and reformat the examples#1296
lacatoire wants to merge 1 commit into
php:masterfrom
lacatoire:sync-en/1206-numericentity-valueerror

Conversation

@lacatoire

Copy link
Copy Markdown
Member

Translation of php/doc-en#4852 (commit 3505aae): the ValueError is raised when
map holds a value that cannot be converted to int, not merely when it is not a
list of integers.

It also carries php/doc-en#4708 (commit 0bb8d1a), which reformats the code
examples in the same two files. The EN-Revision check forces both files to the
latest doc-en commit, so the two changes cannot be split. EN-Revision updated.

Fixes: #1206
Fixes: #1257

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] mb_*_numericentity Fix a code example (#4708) [Sync EN] ext/mbstring: mb_*code_numericentity Clarify the ValueError conditions (#4852)

1 participant