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.
PHP Quiz
Start Quiz

or Read more about PHP Quiz

Follow CodeGalaxy

Mobile Beta

Get it on Google Play
Send Feedback