mb_strtolower

Fallback for mb_strtolower for users without multibyte support.

Description

(string) mb_strtolower( (string) $str, (string) $encoding = 'UTF-8' ); 

Returns (string)

the lowercase string

Parameters (2)

0. $str (string)
The string to change to lowercase
1. $encoding — Optional. (string) => 'UTF-8'
The encoding of the string

Usage

  1. if ( !function_exists( 'mb_strtolower' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'breadcrumb-navxt/includes/multibyte_supplicant.php'; 
  3.  
  4. // the string to change to lowercase 
  5. $str = ''; 
  6.  
  7. // the encoding of the string 
  8. $encoding = 'UTF-8'; 
  9.  
  10. // NOTICE! Understand what this does before running. 
  11. $result = mb_strtolower($str, $encoding); 
  12.  

Defined (1)

The function is defined in the following location(s).

/includes/multibyte_supplicant.php  
  1. function mb_strtolower($str, $encoding = 'UTF-8') 
  2. return strtolower($str);