1.What are the difference between echo , print , print_r ?
else this 3 can we show output to a client in some other
way?

Answer Posted / suja

echo is a language construct.print is a function.print_r
used to display the contents and structure of objects such
as array.

Is This Answer Correct ?    74 Yes 16 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the interface in php?

536


Does wordpress run on php 7?

513


What is the correct php command to use to catch any error messages within the code?

578


What does $_env means?

553


How is it possible to propagate a session id?

511






Tell me what is mean by an associative array?

523


Which method do you follow to get a record from a million records? (Searching not from database, from an array in php)?

550


What are the differences between mysqli_connect and mysqli_pconnect?

537


What is php's mysqli extension?

569


Is it possible to protect special characters in a query string?

539


Does php class need constructor?

485


What is php limit?

522


How failures in execution are handled with include() and require() functions?

593


What is php explain?

513


Are php sessions cookies?

509