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