Q. What will be the output of the following PHP code ?
Code:
<?php
define('ATTENTION_TEXT', 'MCQ Buddy is good website.', true);
echo ATTENTION_TEXt;
$changing_var = 'text';
echo constant('ATTENTION_' . strtoupper($changing_var));
?>
β
Correct Answer: (C)
MCQ Buddy is good website.MCQ Buddy is good website.