<html>
<body>
echo strlen("Hello world!");
<p><b>Note:</b> Whitespaces and exclamation marks are also a part of the string ("HelloWorld" would return 10).</p>
</body>
</html>
Note: Whitespaces and exclamation marks are also a part of the string ("HelloWorld" would return 10).