PHP문자열strlen

strlen문자열

문자열의 바이트 길이를 반환합니다.

문법

strlen(string $string): int

예제

아래 값을 입력하면 예제에 즉시 반영됩니다.

echo
strlen
echo strlen("Hello"); // 5