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 / saurabh kumar
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 ? | 1 Yes | 0 No |
Post New Answer View All Answers
Differentiate between php5 and php7?
What is the use of header() function in PHP? What the Limitation of HEADER()?
What are php filters?
What is the difference between php and java?
How can you get the size of an image in PHP?
Which method do you follow to get a record from a million records? (Searching not from database, from an array in php)?
What is an example of a variable?
Is null in php?
How does one prevent the following warning ‘warning: cannot modify header information – headers already sent' and why does it occur in the first place?
What is difference between include,require,include_once and require_once()?
Tell me what are the correct and the most two common way to start and finish a php block of code?
What is psr in php?
What is isset and unset in php?
How can you submit a form without a submit button?
Explain Type hinting in PHP?