String Length in PHP

strlenmb_strlen
Задание 1

Given a string:

php<?php
  $str = 'abcde';
?>

Find the number of characters in this string.

Задание 2

Given a string:

php<?php
  $str = 'привет';
?>

Find the number of characters in this string.

Задание 3

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.