PHP - String Functions
Identify the error in the following PHP code that tries to print the length of a string:
$text = "PHP Rocks!";
echo strlen $text;
$text = "PHP Rocks!";
echo strlen $text;
strlen is called without parentheses.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions