Q.

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

A. print() can be used as part of an expression, while echo() can’t
B. echo() can be used in the CLI version of PHP, while print() can’t
C. print() can be used in the CLI version of PHP, while echo() can’t
D. There’s no difference: both functions print out some text!
Answer» A. print() can be used as part of an expression, while echo() can’t
561
0
Do you find this helpful?
9

View all MCQs in

Linux and PHP

Discussion

No comments yet