?
What will be the output of the following PHP code?
What will be the output of the following PHP code?
<?php
define("GREETING","Hello you! How are you today?");
echo constant("GREETING");
?>
<?php
define("GREETING","Hello you! How are you today?");
echo constant("GREETING");
?>
Answer & Solution
Correct Answer:
Option
A
The define() function defines a constant.
Join the Discussion
Login to post a comment or share your explanation.
Login