Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. Iconv.php

function Iconv::iconv_strlen

3 calls to Iconv::iconv_strlen()
Iconv::iconv_strpos in vendor/symfony/polyfill-iconv/Iconv.php
Iconv::iconv_strrpos in vendor/symfony/polyfill-iconv/Iconv.php
Iconv::iconv_substr in vendor/symfony/polyfill-iconv/Iconv.php

File

vendor/symfony/polyfill-iconv/Iconv.php, line 431

Class

Iconv
iconv implementation in pure PHP, UTF-8 centric.

Namespace

Symfony\Polyfill\Iconv

Code

public static function iconv_strlen($s, $encoding = null) {
    static $hasXml = null;
    if (null === $hasXml) {
        $hasXml = \extension_loaded('xml');
    }
    if ($hasXml) {
        return self::strlen1($s, $encoding);
    }
    return self::strlen2($s, $encoding);
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal