Computer Science, asked by bishantnayak7274, 1 year ago

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 choudhary21
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
Attachments:
Answered by Anonymous
0
&lt;b&gt;&lt;font size = "4"&gt;(^_-)(^_-)(^_-)(^_-)(^_-)(^_-)(^_-)(^_-)(^_-)
╭╼╾╼╾╼╾╼╾╼╾╼╾╼╾╮
┃ ┈┈ [_Hɪ Mᴀᴛᴇ_] ┈┈┈ ┃
╰╼╾╼╾╼╾╼╾╼╾╼╾╼╾╯

╔═══❁═❀═✪═❀═❁════╗
......Here You Go Ur Answer......
╚═══❁═❀═✪═❀═❁════╝

ıllıllıllıllıllıllı[ Your Answer ]ıllıllıllıllıllıllı

◆━━━━━◆♤◆━━━━━◆
☆Correct | ♤ | Option☆
◆━━━━━◆♤◆━━━━━◆

\huge\boxed{\texttt{\fcolorbox{aqua}{grey}{B}}} {\bf{\underline{Answer}}}

&lt;marquee&gt;

▂▃▅▇█▓▒░[ Hope It Helps You Dear ]░▒▓█▇▅▃▂
Similar questions