str::length($str)

An UTF-8 safe version of strlen()

  • $str (string)
  • return (string)

Example

<?php
$string = 'kirby';
echo str::length($string);
// 5

Is something missing or incorrect? Edit this page on Github…