1.

What will be the output of the following PHP code?
<?php
function First()
{
define("const","Interview mania is awesome!");
echo constant("const");
}
First();
?>

A. Error
B. Interview mania is awesome!
C. const, Interview mania is awesome!
D. Nothing
E. None of these
Answer» C. const, Interview mania is awesome!


Discussion

No Comment Found

Related MCQs