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 / pravendra
echo is a statement used to print the line.
while print and print_r is a function.
if take the example of array then
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 ? | 20 Yes | 6 No |
Post New Answer View All Answers
Why is php used?
What is PECL?
How to write in a file in php?
What does $_env mean?
Why use php artisan serve?
How do you identify independent and dependent variables in regression analysis?
What are the differences between echo and print?
How to protect special characters in query string?
Explain what is the difference between session and cookie?
Is facebook still written in php?
How do you find the length of a string in php?
What is isset function in php?
What is difference between web service and api?
Name some of the functions in php.
What is the default time in seconds for which session data is considered valid?