PHP Functions What will be the output of the following PHP code?function sum($num1, $num2) {$total = $num1 + $num2;echo "chr($total)";}$var1 = "sum";$var1(5, 44); Error 49 Sum 1 Error 49 Sum 1 ANSWER DOWNLOAD EXAMIANS APP
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! ERROR None of the mentioned Have a good night! Have a good day! ERROR None of the mentioned ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?function a() {function b() {echo 'I am b';}echo 'I am a';}a();a(); I am a Error I am bI am a I am b Error I am a Error I am bI am a I am b Error 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 Pulp Fiction None of the mentioned You Do Not Talk About Fight Club I You Do Not Talk About Pulp Fiction None of the mentioned You Do Not Talk About Fight Club ANSWER DOWNLOAD EXAMIANS APP
PHP Functions Which one of the following functions can be used to compress a string? zip() compress() zip_compress() gzcompress() zip() compress() zip_compress() gzcompress() ANSWER DOWNLOAD EXAMIANS APP
PHP Functions Above usleep() function pauses PHP for .usleep(1000000); 1 microseconds 10 seconds 1 second 100 microseconds 1 microseconds 10 seconds 1 second 100 microseconds ANSWER DOWNLOAD EXAMIANS APP