Y
Q. What will be the output of the following PHP code?
<?php 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!"; } ?>
No solution found for this question.
Add Solution and get +2 points.
You must be Logged in to update hint/solution
Be the first to start discuss.
Q. What will be the output of the following PHP code ?
Q. Which function converts a string of ASCII characters to hexadecimal values?
Q. Which function is used for testing the type of PHP variable?
Q. Controller functions are used to access and update the database in php framework.
Q. In PHP all variables must begin with a dollar sign character?
Q. What will be the output of the following PHP code?
Q. What will be the output of the following PHP code ?
Q. What will be the output of the following PHP code ?
Discusssion
Login to discuss.