-
What will be the output of the following PHP code?
<?php
function First()
{
define("const","Interview mania is awesome!");
echo constant("const");
}
First();
?>
-
- Error
- Interview mania is awesome!
- const, Interview mania is awesome!
- Nothing
- None of these
Correct Option: B
Using the define function to define the constant “const”.