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

Слідкуй за CodeGalaxy

Мобільний додаток Beta

Get it on Google Play
Зворотній Зв’язок
Продовжуйте вивчати
тести з PHP
Cosmo
Зареєструйся Зараз
або Підпишись на майбутні тести