Gets the string length. Multibyte enabled version of `strlen()`.

Parameters

  • string $string The string being measured for length.
  • array $options Allows for selecting the adapter to use via the `name` options. Will use the `'default'` adapter by default.

Returns

integer The length of the string on success.

Source

						public static function strlen($string, array $options = array()) {
		$defaults = array('name' => 'default');
		$options += $defaults;
		return static::adapter($options['name'])->strlen($string);
	}