PHP » GoLang |
login |
register |
about
|
GoLang grapheme_strlen
request it (465)
GoLang replacement for PHP's grapheme_strlen
[edit | history]
grapheme_strlen(PHP 5 >= 5.3.0, PHP 7, PECL intl >= 1.0.0) grapheme_strlen — Get string length in grapheme units DescriptionProcedural style
int grapheme_strlen
( string
$input
)Get string length in grapheme units (not bytes or characters) Parameters
Return ValuesThe length of the string on success, and 0 if the string is empty. ExamplesExample #1 grapheme_strlen() example
<?php The above example will output: 6 See Also
|
more
Recently updated
more
Most requested
more
Last requests
|