A

Admin • 833.24K Points
Coach

Q. What will echo "Hello" . " World!"; output?

Code:
echo "Hello" . " World!";
  • (A) HelloWorld!
  • (B) Hello World!
  • (C) Hello.World!
  • (D) Error
  • Correct Answer - Option(B)
  • Views: 20
  • Filed under category PHP
  • Hashtags:

Explanation by: Admin

The dot (.) operator concatenates strings in PHP.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.