PHP Functions What will be the output of the following PHP code?echo "chr(52)"; 2 1 3 4 2 1 3 4 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); 49 Error 1 Sum 49 Error 1 Sum ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?$x = 75;$y = 25;function addition(){$GLOBALS['z'] = $GLOBALS['x'] + $GLOBALS['y'];}addition();echo $z; 25 75 error 100 25 75 error 100 ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?function calc($price, $tax="") {$total = $price + ($price * $tax);echo "$total";}calc(42); 42 84 0 Error 42 84 0 Error 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(); this works this works this too works this worksthis too works error this works this works this too works this worksthis too works error ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?function uppercase($string) {echo ucwords($string);}$wow = "uppercase";$wow("Time to live king size"); TIME TO LIVE KING SIZE Time to live king size Uppercase Time To Live King Size TIME TO LIVE KING SIZE Time to live king size Uppercase Time To Live King Size ANSWER DOWNLOAD EXAMIANS APP