We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5188f22 commit 8093f49Copy full SHA for 8093f49
src/str.php
@@ -1,17 +1,15 @@
1
<?php
2
3
-use Illuminate\Support\Str;
4
-
5
if (!function_exists('str_lower')) {
6
function str_lower($string)
7
{
8
- return Str::lower($string);
+ return mb_strtolower($string, 'UTF-8');
9
}
10
11
12
if (!function_exists('str_upper')) {
13
function str_upper($string)
14
15
- return Str::upper($string);
+ return mb_strtoupper($string, 'UTF-8');
16
17
0 commit comments