Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<?php
if ($utf8) {
if (function_exists('mb_strtolower')) {
$strtolower = function ($string) { return mb_strtolower($string); }
} else {
require_once($sourcedir . '/Subs-Charset.php');
$strtolower = function ($string) { return utf8_strtolower($string); }
}
} else {
$strtolower = function ($string) { return strtolower($string); }
}
...
'strtolower' => $strtolower
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.