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 / madhavan
echo is a pure string statement, print is a formatted
function like C language by these two we cannot print whole
objects. We can print the whole object like array using print_r.
| Is This Answer Correct ? | 12 Yes | 18 No |
Post New Answer View All Answers
Explain me what are the main error types in php and how do they differ?
What are the php functions?
What is an abstract class in php?
When to use inquire vs enquire?
How can you pass a variable by reference?
how to use http headers inside php? Write the statement through which it can be added?
Write down the code for save an uploaded file in php.
How is it possible to remove escape characters from a string?
How do you access a get requests url parameter with php?
Tell me how is it possible to know the number of rows returned in result set?
How to create a session? How to set a value in session? How to remove data from a session?
How many types of session are there?
How to read the entire file into a single string?
Is ruby on rails php?
How to access a specific character in a string using php?