1.

What will be the output of the following PHP code ?
<?php
define("STR_VAR","Interview");
${STR_VAR} = "Mania";
echo STR_VAR;
echo ${STR_VAR};
?>

A. Interview
B. InterveiwMania
C. Error
D. Mania
E. None of these
Answer» C. Error


Discussion

No Comment Found

Related MCQs