Consider following code snippet:
print_r("Hello World", true);
What will return the function above?
mixed print_r ( mixed $expression [, bool $return = false ] ) If you would like to capture the output of print_r(), use the return parameter. When this parameter is set to TRUE, print_r() will return the information rather than print it.
Read more: PHP: print_r - Manual

@sinevor1346 thanks! fixed

2017 Dec 6, 11:26:41 AM

print_r("Hello World", true);- will be nothing

2017 Oct 1, 4:50:48 AM

not correct answer

2017 Oct 1, 4:50:29 AM

Следи за CodeGalaxy

Мобильное приложение Beta

Get it on Google Play
Обратная Связь
Продолжайте изучать
тесты по PHP
Зарегистрируйся сейчас
или Подпишись на будущие тесты