mb_strlen

Compat function to mimic mb_strlen().

Description

(int) mb_strlen( (string) $string ); 

Returns (int)

the number of characters in the string

Parameters (1)

0. $string (string)
The string to determine the lenght of

Usage

  1. if ( !function_exists( 'mb_strlen' ) ) { 
  2. require_once '/includes/multibyte_supplicant.php'; 
  3.  
  4. // the string to determine the lenght of 
  5. $string = ''; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = mb_strlen($string); 
  9.  

Defined (1)

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

/includes/multibyte_supplicant.php  
  1. function mb_strlen($string) 
  2. return strlen($string);