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
How to create an array in php?
What are some new features introduced in php7?
What are different types of Print Functions available in PHP?
When a conditional statement is ended with an endif?
Is php a dying language?
Why do you need php?
write a note on Testing the web site
How to open a file for reading?
What is namespace and use in php?
What is php beginner?
Explain some of the php array functions?
What is the method to register a variable into a session?
Is php object oriented?
How to find datatype of variable in php?
Difference between get and post method.