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!";}

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

ANSWER DOWNLOAD EXAMIANS APP