first commit

This commit is contained in:
sujan
2024-08-06 18:06:00 +05:45
commit a2fa49071a
2745 changed files with 391199 additions and 0 deletions

27
system/helper/utf8.php Normal file
View File

@ -0,0 +1,27 @@
<?php
namespace Opencart\System\Helper\Utf8;
mb_internal_encoding('UTF-8');
function strlen(string $string) {
return mb_strlen($string);
}
function strpos(string $string, string $needle, int $offset = 0) {
return mb_strpos($string, $needle, $offset);
}
function strrpos(string $string, string $needle, int $offset = 0) {
return mb_strrpos($string, $needle, $offset);
}
function substr(string $string, int $offset, ?int $length = null) {
return mb_substr($string, $offset, $length);
}
function strtoupper(string $string) {
return mb_strtoupper($string);
}
function strtolower(string $string) {
return mb_strtolower($string);
}