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 / manpreet
echo is a statement
while print is a function
we can't print whole array by using echo or print. For this
we have to use the print_r function
| Is This Answer Correct ? | 150 Yes | 16 No |
Post New Answer View All Answers
Php says that an array is an ordered map. But how the values are ordered in an array?
Why print_r is used in php?
Which database is best for php?
What is php artisan tinker?
What is the difference between file_get_contents() and file_put_contents() in php?
Is there an easy way to delete an element from a php array?
What is the method to register a variable into a session?
What is the use of inner join in mysql?
Explain the types of functions for Splitting String?
What is namespace and use in php?
what is constructor
What is session in c#?
What exactly is validating and sanitizing?
Which MySQL function would you use to select a database?
What is full form of php? Who is the father or inventor of php?