PHP Functions What will be the output of the following PHP code ?function start($string){if ($string < 45)return 20;elsereturn 40;}$t = start(90);if ($t < 20){echo "Have a good day!";}else{echo "Have a good night!";} Have a good night! Have a good day! None of the mentioned ERROR Have a good night! Have a good day! None of the mentioned ERROR ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?define("GREETING","Hello you! How are you today?");echo constant("GREETING"); “GREETING”,”Hello you! How are you today?” GREETING GREETING, Hello you! How are you today? Hello you! How are you today? “GREETING”,”Hello you! How are you today?” GREETING GREETING, Hello you! How are you today? Hello you! How are you today? ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?$str = addslashes('What does "yolo" mean?');echo($str); What does ”yolo” mean? What does ”yolo” mean? What does /”yolo/” mean? What does ”yolo” mean? What does ”yolo” mean? What does ”yolo” mean? What does /”yolo/” mean? What does ”yolo” mean? ANSWER DOWNLOAD EXAMIANS APP
PHP Functions . . . . . converts the keys of an array into values and the values into keys. array_trans() array_flip() array_transpose() array_flips() array_trans() array_flip() array_transpose() array_flips() ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?function movie($int){$movies = array("Fight Club", "Kill Bill", "Pulp Fiction");echo "You Do Not Talk About ". $movie[$integer];}movie(0); I You Do Not Talk About Fight Club You Do Not Talk About Pulp Fiction None of the mentioned I You Do Not Talk About Fight Club You Do Not Talk About Pulp Fiction None of the mentioned ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?function mine($num){$num = 2 + $num;echo $num;}mine(3); 5 3 $num None of the mentioned 5 3 $num None of the mentioned ANSWER DOWNLOAD EXAMIANS APP