[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/vendor/joomla/string/src/phputf8/ -> utf8.php (summary)

This is the dynamic loader for the library. It checks whether you have the mbstring extension available and includes relevant files on that basis, falling back to the native (as in written in PHP) version if mbstring is unavailabe. It's probably easiest to use this, if you don't want to understand the dependencies involved, in conjunction with PHP versions etc. At the same time, you might get better performance by managing loading yourself. The smartest way to do this, bearing in mind performance, is probably to "load on demand" - i.e. just before you use these functions in your code, load the version you need.

File Size: 81 lines (3 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 4 files
 libraries/vendor/joomla/string/src/phputf8/mbstring/core.php
 libraries/vendor/joomla/string/src/phputf8/substr_replace.php
 libraries/vendor/joomla/string/src/phputf8/native/core.php
 libraries/vendor/joomla/string/src/phputf8/utils/unicode.php



Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer