1.

What will be the output of the following PHP code ?
<?php
define('ATTENTION_TEXT', 'Interview mania is good website.', true);
echo ATTENTION_TEXt;
$changing_var = 'text';
echo constant('ATTENTION_' . strtoupper($changing_var));
?>

A. Nothing
B. Interview mania is good website.
C. Interview mania is good website.Interview mania is good website.
D. Error
E. None of these
Answer» D. Error


Discussion

No Comment Found

Related MCQs