Discussion :: PHP - CS
-
What will be the output of the following PHP code ?
<?php
define("GREETING", "PHP is a scripting language");
echo $GREETING;
?>
Answer : Option B
Explanation :
Constants do not need a $ before them, they are referenced by their variable names itself.
Be The First To Comment