<!--- Please keep this note for other contributors --> ### How to use GitHub * Please use the π [reaction](https://blog.github.com/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/) to show that you are affected by the same issue. * Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue. * Subscribe to receive notifications on status change and new comments. --- Code: https://github.com/nextcloud/password_policy/blob/04ed1480044aeadf0f4be5b78868ff57b8f0e063/lib/Validator/LengthValidator.php#L26 Sample: ```php <?php $a = '12345'; $b = 'ε―η ε―η '; var_dump( strlen($a), strlen($b), mb_strlen($a), mb_strlen($b), ); ``` Output: ``` int(5) int(12) int(5) int(4) ```
How to use GitHub
Code:
password_policy/lib/Validator/LengthValidator.php
Line 26 in 04ed148
Sample:
Output: