i make this code but i have the problem the error and i don't know what is it
"Oops, try again. The random output you printed from your name should be just one character."
// Use rand() to print a random number to the screen
$random = rand();
// Use your knowledge of strlen(), substr(), and rand() to
// print a random character from your name to the screen.
$name = "santiago";
$strlen = strlen($name-1);
$random = rand(0,$strlen);
$substring = substr($name,$random,1);