?
What will be the output of the following PHP code ?
What will be the output of the following PHP code ?
<?php
define('IF', 42);
echo "IF: ", IF;
?>
<?php
define('IF', 42);
echo "IF: ", IF;
?>
Answer & Solution
Correct Answer:
Option
D
Keyword like IF cannot be used as constant names.
Join the Discussion
Login to post a comment or share your explanation.
Login