Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Enable intl.use_exceptions in debug mode#46871

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Closed
nicolas-grekas wants to merge1 commit intosymfony:6.2fromnicolas-grekas:intl-x

Conversation

@nicolas-grekas
Copy link
Member

QA
Branch?6.2
Bug fix?no
New feature?no
Deprecations?no
Tickets-
LicenseMIT
Doc PR-

Let's be stricter by default in debug mode.

@nicolas-grekas
Copy link
MemberAuthor

Hum, not sure about this on second thought: when enabled in dev, ppl will write try/catch. But in prod, intl will likely behave with no exceptions and the code should be written differently to handle that. The correct way to use intl in a portable way is to handle both situations, like we did in#36149
But there is no way to force ppl to handle both cases so most of the time they will stick to one mode, and then, prod&dev should be aligned.
PHP'd better deprecate this ini setting altogether and stick to one and only one mode.

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

Reviewers

@stofstofstof approved these changes

@ycerutoycerutoyceruto approved these changes

@chalasrchalasrchalasr approved these changes

Assignees

No one assigned

Projects

None yet

Milestone

6.2

Development

Successfully merging this pull request may close these issues.

5 participants

@nicolas-grekas@stof@yceruto@chalasr@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp