What will be printed after executing following code?
   $str = "\n\t\x44";
   echo strlen('$str');
We are passing the string '$ str' to function, not the value of $str, because we used single qoutes.

Follow CodeGalaxy

Mobile Beta

Get it on Google Play
Send Feedback
Keep exploring
PHP quizzes
Sign Up Now
or Subscribe for future quizzes