mb_strrpos

The Simple Calendar mb strrpos function.

Description

mb_strrpos( $s, $needle, (int) $offset = 0, (constant) $enc = null ); 

Parameters (4)

0. $s
The s.
1. $needle
The needle.
2. $offset — Optional. (int)
The offset.
3. $enc — Optional. (constant) => null
The enc.

Usage

  1. if ( !function_exists( 'mb_strrpos' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'simple-calendar/vendor/symfony/polyfill-mbstring/bootstrap.php'; 
  3.  
  4. // The s. 
  5. $s = null; 
  6.  
  7. // The needle. 
  8. $needle = null; 
  9.  
  10. // The offset. 
  11. $offset = -1; 
  12.  
  13. // The enc. 
  14. $enc = null; 
  15.  
  16. // NOTICE! Understand what this does before running. 
  17. $result = mb_strrpos($s, $needle, $offset, $enc); 
  18.  

Defined (1)

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

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