-
What will be the output of the following PHP code ?
<?php
define("ATTENTION", "Interview mania is good website.", true);
echo $ATTENTION;
?>
-
- Interview mania is good website.
- Error
- $ATTENTION
- ATTENTION
- None of these
Correct Option: B
Constants do not need a $ before them, they are referenced by their variable names itself.