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?”
Answers
Answered by
0
<?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?”
View Answer
Answer: A✔
Explanation: The define() function defines a constant.
By Choudhary21
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?”
View Answer
Answer: A✔
Explanation: The define() function defines a constant.
By Choudhary21
Attachments:
Answered by
0
(^_-)(^_-)(^_-)(^_-)(^_-)(^_-)(^_-)(^_-)(^_-)
╭╼╾╼╾╼╾╼╾╼╾╼╾╼╾╮
┃ ┈┈ [_Hɪ Mᴀᴛᴇ_] ┈┈┈ ┃
╰╼╾╼╾╼╾╼╾╼╾╼╾╼╾╯
╔═══❁═❀═✪═❀═❁════╗
......Here You Go Ur Answer......
╚═══❁═❀═✪═❀═❁════╝
ıllıllıllıllıllıllı[ Your Answer ]ıllıllıllıllıllıllı
◆━━━━━◆♤◆━━━━━◆
☆Correct | ♤ | Option☆
◆━━━━━◆♤◆━━━━━◆
▂▃▅▇█▓▒░[ Hope It Helps You Dear ]░▒▓█▇▅▃▂
╭╼╾╼╾╼╾╼╾╼╾╼╾╼╾╮
┃ ┈┈ [_Hɪ Mᴀᴛᴇ_] ┈┈┈ ┃
╰╼╾╼╾╼╾╼╾╼╾╼╾╼╾╯
╔═══❁═❀═✪═❀═❁════╗
......Here You Go Ur Answer......
╚═══❁═❀═✪═❀═❁════╝
ıllıllıllıllıllıllı[ Your Answer ]ıllıllıllıllıllıllı
◆━━━━━◆♤◆━━━━━◆
☆Correct | ♤ | Option☆
◆━━━━━◆♤◆━━━━━◆
▂▃▅▇█▓▒░[ Hope It Helps You Dear ]░▒▓█▇▅▃▂
Similar questions
Math,
6 months ago
Physics,
6 months ago
India Languages,
6 months ago
Computer Science,
1 year ago
Computer Science,
1 year ago
Economy,
1 year ago
Physics,
1 year ago