Q. What will be the output of the following PHP code?
Code:<?php
function constant()
{
define("GREETING", "Welcome to Narnia",true);
echo greeting;
}
?>
β
Correct Answer: (C)
Welcome to Narnia
<?php
function constant()
{
define("GREETING", "Welcome to Narnia",true);
echo greeting;
}
?>
You must be Logged in to update hint/solution