PHP Functions What will be the output of the following PHP code ?function mine($num){$num = 2 + $num;echo $num;}mine(3); None of the mentioned 3 $num 5 None of the mentioned 3 $num 5 ANSWER DOWNLOAD EXAMIANS APP
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); Sum Error 1 49 Sum Error 1 49 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 one() {echo " this works";function two() {echo "this too works";}}one();two(); error this works this too works this worksthis too works this works error this works this too works this worksthis too works this works ANSWER DOWNLOAD EXAMIANS APP
PHP Functions Above usleep() function pauses PHP for .usleep(1000000); 1 microseconds 100 microseconds 1 second 10 seconds 1 microseconds 100 microseconds 1 second 10 seconds ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?$str = "Hello World";echo wordwrap($str,5,"n"); Hell 0 Wo rld HelloWorld Hello World World Hell 0 Wo rld HelloWorld Hello World World ANSWER DOWNLOAD EXAMIANS APP