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 / navanee
$a=array("ford","benz","bmw","maruthi");
echo ($a);//output Array
$a=array("ford","benz","bmw","maruthi");
print_r ($a);//output Array ( [0] => ford [1] => benz [2] =>
bmw [3] => maruthi )
$a=array("ford","benz","bmw","maruthi");
print ($a);//output Array
| Is This Answer Correct ? | 30 Yes | 5 No |
Post New Answer View All Answers
What is the Pipe Symbol represented?
What is json php?
What is a query in a database?
What is the difference between explode () and split () functions in php?
What are magic methods?
What are sql functions?
What enctype is required for file uploads to work?
Tell me how do I check if a given variable is empty?
What is memcache?
How many types of functions are there in php?
Please explain is it possible to use com component in php?
What is artisan in php?
Is multilevel inheritance possible in php?
Echo is used to Display message on screen. Which is used with echo to not output the trailing newline?
How to get ip address of clients machine?