Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

locale functions may fail and return null or false #883

Closed
wants to merge 1 commit into from

Conversation

PowerKiKi
Copy link
Contributor

INTL_MAX_LOCALE_LEN limits the length of accepted locale. Anything
longer than that will result in a failure and the value returned
will either be null or false. So documentation must reflect that
in the return types.

This originated from https://bugs.php.net/bug.php?id=81383

INTL_MAX_LOCALE_LEN limits the length of accepted locale. Anything
longer than that will result in a failure and the value returned
will either be `null` or `false`. So documentation must reflect that
in the return types.

This originated from https://bugs.php.net/bug.php?id=81383
@PowerKiKi
Copy link
Contributor Author

Return types of all functions are available on https://3v4l.org/1GlnB

@cmb69 cmb69 closed this in 235297d Aug 27, 2021
@cmb69
Copy link
Contributor

cmb69 commented Aug 27, 2021

Thank you! I've introduced a new XML entity to avoid repetition.

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.

None yet

2 participants