adplus-dvertising
frame-decoration

Question

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

a.

1

b.

0

c.

3

d.

4

Posted under Functions in PHP PHP

Answer: (b).0

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