PHP Functions What will be the output of the following PHP code?function foo($msg) {echo "$msg";}$var1 = "foo";$var1("will this work"); Will this work 0 Error $msg Will this work 0 Error $msg ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?function sum($num1, $num2) {$total = $num1 + $num2;echo "cos($total)";}sum(5,-5); 0 1 0.5 -0.5 0 1 0.5 -0.5 ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?echo hex2bin("48656c6c6f20576f726c6421"); welcome to india Hello World! This is PHP! MCQ questons welcome to india Hello World! This is PHP! MCQ questons ANSWER DOWNLOAD EXAMIANS APP
PHP Functions . . . . . converts the keys of an array into values and the values into keys. array_transpose() array_trans() array_flips() array_flip() array_transpose() array_trans() array_flips() array_flip() ANSWER DOWNLOAD EXAMIANS APP
PHP Functions . . . . returns a new DateTime object. date() date_create() date_sunrise() getdate() date() date_create() date_sunrise() getdate() 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); Error 1 49 Sum Error 1 49 Sum ANSWER DOWNLOAD EXAMIANS APP