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
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 "); ?>.
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
1
Hello mate
here's your answer
¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤
The output of the above mentioned PHP code would be-
Option B✔✔
-0
¤¤¤¤¤¤¤¤¤¤¤¤¤¤
Hope it helps you
here's your answer
¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤
The output of the above mentioned PHP code would be-
Option B✔✔
-0
¤¤¤¤¤¤¤¤¤¤¤¤¤¤
Hope it helps you
Similar questions
Math,
6 months ago
English,
6 months ago
Math,
6 months ago
Computer Science,
1 year ago
Computer Science,
1 year ago
Science,
1 year ago
Science,
1 year ago