Q. What will be the output of the following PHP code ?
Code:
<?php
define("VAR_NAME","test");
${VAR_NAME} = "value";
echo VAR_NAME;
echo ${VAR_NAME};
?>
β
Correct Answer: (C)
testvalue