functions-online

strlen

description

The function strlen() returns the length of the given $string.

declaration of strlen

int strlen ( string $string )

test strlen online




share strlen

comments for strlen

On 05. Feb 2013 07:51 butzi wrote:

@mjb4: the charset is a general problem. PHP uses ISO, this site UTF-8. I plan to fix this, but in a way everyone can be happy with this, so it takes some time.

On 04. Feb 2013 19:57 mjb4 wrote:

Theres a problem this will not return the correct value for strings containing chars which are not in the charset, they will just be ommitted

On 14. Aug 2012 13:59 butzi wrote:

@ROCKESH RONITH: what are you testing? Results for me are correct. Maybe there is a multi-byte problem with the charset?

more comments for strlen

There are some more comments for strlen(). To see them all click here.

+

Leave your comment