You are here

public function Iconv::strlen in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/zendframework/zend-stdlib/src/StringWrapper/Iconv.php \Zend\Stdlib\StringWrapper\Iconv::strlen()

Returns the length of the given string

Parameters

string $str:

Return value

int|false

Overrides StringWrapperInterface::strlen

File

vendor/zendframework/zend-stdlib/src/StringWrapper/Iconv.php, line 230

Class

Iconv

Namespace

Zend\Stdlib\StringWrapper

Code

public function strlen($str) {
  return iconv_strlen($str, $this
    ->getEncoding());
}