Zend
200-550 · Question #208
What is the difference between "print" and "echo"?
The correct answer is B. Print has a return value, echo does not. See the full explanation below for the reasoning.
Question
What is the difference between "print" and "echo"?
Options
- AThere is no difference.
- BPrint has a return value, echo does not
- CEcho has a return value, print does not
- DPrint buffers the output, while echo does not
- ENone of the above
How the community answered
(35 responses)- A3% (1)
- B77% (27)
- D6% (2)
- E14% (5)
Community Discussion
No community discussion yet for this question.