String Length in PHP
Given a string:
<?php
$str = 'abcde';
?>
Find the number of characters in this string.
Given a string:
<?php
$str = 'привет';
?>
Find the number of characters in this string.
Given a variable $password, which
stores the user's password. If the number
of password characters is greater than 5 and less
than 10, then output a message
to the user that the password is suitable, otherwise a message
that they need to come up with a different password.