Home / APIs / mb_strlen() – Compat function to mimic mb_strlen().

Description

Compat function to mimic mb_strlen().

Usage

$int = mb_strlen( $str, $encoding );

Parameters

$str
( string ) required – The string to retrieve the character length from.
$encoding
( string|null ) optional – Optional. Character encoding to use. Default null.

Returns

int String length of `$str`.

Source

File name: wordpress/wp-includes/compat.php


Lines: 1 to 4 of 4

  function mb_strlen( $str, $encoding = null ) {
    return _mb_strlen( $str, $encoding );
  }
 

 View on GitHub View on Trac

Called by

    Invoked by

      Calls

      1 to 1 of 1

      • _mb_strlen() – Internal compat function to mimic mb_strlen().

      Call hooks

      Function name: mb_strlen
      Plugin ref: WordPress
      Version: 4.9
      Sourcefile: wp-includes/compat.php
      File ref: wp-includes/compat.php
      Deprecated?: No
      API Letters: M,S

      Published: 14th March 2017 | Last updated: 17th November 2017

      Information

      Function name: mb_strlen
      Plugin ref: WordPress
      Version: 4.9
      Sourcefile: wp-includes/compat.php
      File ref: wp-includes/compat.php
      Deprecated?: No
      API Letters: M,S

      • Plugins
      • Themes
      • Shortcodes
      • APIs
      • Files
      • Hooks
      • Classes
      • Home
      • Sites
      • Sitemap
      • Blog
      Genesis a2z Genesis Theme Framework a2z
      WordPress Dynamic API Reference

      Site:  genesis.wp-a2z.org
      © Copyright Genesis a2z 2014-2018. All rights reserved.


      Website designed and developed by Herb Miller
      Proudly powered by WordPress and oik plugins