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
Зарегистрируйся сейчас
или Подпишись на будущие тесты