Zend
200-530 · Question #60
Which of the following statements explains the difference between print() and echo()?
The correct answer is B. You can use print() as part of an expression while you cannot use echo(). See the full explanation below for the reasoning.
Question
Which of the following statements explains the difference between print() and echo()?
Options
- AYou can use print() to print numbers while you cannot use echo for this.
- BYou can use print() as part of an expression while you cannot use echo().
- CThere is no difference between echo() and print() functions.
- DYou cannot use echo() with bitwise operators but you can use print() for this.
How the community answered
(52 responses)- A6% (3)
- B83% (43)
- C2% (1)
- D10% (5)
Community Discussion
No community discussion yet for this question.