Programming Languages PHP Objective
Mar 15, 2013

What is the difference between print() and echo()?

Choose the correct answer:
A) print() can be used as part of an expression, while echo() can’t
B) echo() can be used as part of an expression, while print() can’t
C) echo() can be used in the CLI version of PHP, while print() can’t
D) print() can be used in the CLI version of PHP, while echo() can’t
Detailed Explanation

Option A and B is the right answer.

Discussion (0)

No comments yet. Be the first to share your thoughts!

Share Your Thoughts
Feedback