mb_check_encoding

The Simple Calendar mb check encoding function.

Description

mb_check_encoding( (constant) $var = null, (constant) $encoding = null ); 

Parameters (2)

0. $var — Optional. (constant) => null
The var.
1. $encoding — Optional. (constant) => null
The encoding.

Usage

  1. if ( !function_exists( 'mb_check_encoding' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'simple-calendar/vendor/symfony/polyfill-mbstring/bootstrap.php'; 
  3.  
  4. // The var. 
  5. $var = null; 
  6.  
  7. // The encoding. 
  8. $encoding = null; 
  9.  
  10. // NOTICE! Understand what this does before running. 
  11. $result = mb_check_encoding($var, $encoding); 
  12.  

Defined (1)

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

/vendor/symfony/polyfill-mbstring/bootstrap.php