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 / ajay
echo is a statement where print_r,print are the functions
which is prints all the variable result..
If the variable is an Array, then Print_r will prints the
array in details (Array[0]-> " the array values")...
where as the other two(echo and print) only prints as ARRAY().
| Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
What is difference between sql and php?
Is php still used?
What is split function in php?
How does php work with apache?
Tell me what does the array operator '===' means?
What is __ construct in php?
What is api laravel?
How do I run a php script?
Tell me how can we pass the variable through the navigation between the pages?
What is the difference between public, protected and private?
What are the advantages of stored procedures in php?
Is python better than php?
Explain about the data types in PHP?
What are the new features in php 7?
Explain what is smarty?