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
How do I find environment variables?
What is composer used for?
Tell me how can we change the maximum size of the files to be uploaded?
What backslash character will match whitespace?
How to increase the execution time of a PHP script?
Which function(s) in PHP computes the difference of arrays?
What is the mysql injection?
What is php dependency injection?
Tell me how can we pass the variable through the navigation between the pages?
Tell me how to initiate a session in php?
Are objects passed by value or by reference?
What are the encryption functions in php?
Which function is used to strip whitespace?
Is echo a function in php?
How do I make a reset button in html?