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

[5.4] Added second $encoding parameter to length #19047

Merged
merged 1 commit into from
May 5, 2017
Merged

[5.4] Added second $encoding parameter to length #19047

merged 1 commit into from
May 5, 2017

Conversation

itsa-sh
Copy link

@itsa-sh itsa-sh commented May 3, 2017

  • Laravel Version: 5.4.21
  • PHP Version: N/A
  • Database Driver & Version: N/A

Description:

I needed to use Str::length($string, '8bit') and whilst I could simply use mb_strlen() I thought it would be acceptable to also add this to the Str::length method.

@itsa-sh itsa-sh changed the title [5.4] Added second $encoding parameter to lenth [5.4] Added second $encoding parameter to length May 3, 2017
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.

2 participants