Home »
MCQs »
PHP MCQs
What is the correct syntax of echo statement in PHP?
26. What is the correct syntax of echo statement in PHP?
- echo
- echo()
- echo = ()
- Both A. and B.
Answer: D) Both A. and B.
Explanation:
The echo statement can be used with or without parentheses.