PHP Functions
What will be the output of the following PHP code ?
function start($string)
{
if ($string < 45)
return 20;
else
return 40;
}
$t = start(90);
if ($t < 20)
{
echo "Have a good day!";
}
else
{
echo "Have a good night!";}

Have a good day!
ERROR
None of the mentioned
Have a good night!

ANSWER DOWNLOAD EXAMIANS APP