

McqMate
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 |
View all MCQs in
Linux and PHPNo comments yet