UPPERCASE/lowercase validations with mbstring or not? #81
Closed
rinodrummer
started this conversation in
Ideas
Replies: 1 comment
-
You can definitely use the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Right now these two validation rules (UPPERCASE/lowercase) are still not implemented (see #3) and I was thinking to work on them, but double-checked online just to be sure to not over-simplify the logic and there is a problem with
strtoupper()/strtolower()
: they don't match for special character variants.I found out that
mb_strtoupper()/mb_strtolower()
may solve the issue, but will add an extension dependency (ext-mbstring
).What's your opinion on it?
Beta Was this translation helpful? Give feedback.
All reactions