PHP - String Functions
What will this PHP code output?
$str = " PHP is fun ";
$trimmed = trim($str);
echo strlen($trimmed);
$str = " PHP is fun ";
$trimmed = trim($str);
echo strlen($trimmed);
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions