adplus-dvertising
frame-decoration

Question

What will be the output of the following PHP code?
<?php
       define("GREETING","Hello you! How are you today?");
       echo constant("GREETING");
   ?>

a.

Hello you! How are you today?

b.

GREETING

c.

GREETING, Hello you! How are you today?

d.

“GREETING”,”Hello you! How are you today?”

Posted under PHP

Answer: (a).Hello you! How are you today?

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What will be the output of the following PHP code?

Similar Questions

Discover Related MCQs