Computer Science, asked by tulikajain9872, 1 year ago

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

Answers

Answered by choudhary21
0
B. 0✔✔✔

Home / PHP ...

<?php define("GREETING1","Hello you! How are you today?");

define("GREETING2"," Hello you! How are you today?");

define("GREETING3","Hello you! How are you ...

The defined() function checks whether a constant exists. ...

<?php echo ord ("hi "); ?>.


Attachments:
Answered by afruja70
1
Hello mate

here's your answer

¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤

The output of the above mentioned PHP code would be-
Option B✔✔
-0

¤¤¤¤¤¤¤¤¤¤¤¤¤¤

Hope it helps you
Similar questions