Home
Subscribe TechModgy to learn about new technologies!

What will be the output of the following PHP code ?
 <?php  define(VAR_NAME,test);
${VAR_NAME} = value;
echo VAR_NAME;
echo ${VAR_NAME};
?>

A. test

B. testtest

C. testvalue

D. error, constant value cannot be changed

Please do not use chat terms. Example: avoid using "grt" instead of "great".