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 / dheeraj
echo is not a function, but a statement which outputs one or
more strings, it cannot display the array contents where as
the print() and print_r() are functions. print() can even
display the array contents as an array . print_r() Prints
human-readable information about a
variable
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
What is array filter php?
Is php easier than javascript?
What are the steps involved to run php?
What is return in php function?
Is apache needed for php?
What is php in simple words?
How to make a class in php?
What is the php function that removes the first element of the array and returns it?
Why do we use query?
How can we destroy the cookie in php?
Why use php artisan serve?
How do you destroy a session?
Why php 7 is faster?
What is the use of the function htmlentities?
How do you destroy a particular or all Sessions?