PHP Operators and Expressions What will be the output of the following PHP code ?echo $red; Error Nothing True 0 Error Nothing True 0 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$i = 0;while ((--$i > ++$i) - 1) {print $i;} -1-1-1-1-1-1-1-1-1-1…infinitely 00000000000000000000….infinitely error no output -1-1-1-1-1-1-1-1-1-1…infinitely 00000000000000000000….infinitely error no output ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$x =4;$y = 3;function fun($x, $y) {$z = $x + $y / $y + $x;echo "$z";}echo $x;echo $y;echo $z;fun(3, 4); 347 439 437 349 347 439 437 349 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions In order to find if a variable holds an actual number or a string containing characters that can be translated into a number you can use: is_number() is_num() is_numeric() if_numeric is_number() is_num() is_numeric() if_numeric ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$x = 5;function fun(){$x = 10;echo "$x";}fun();echo "$x"; 105 510 Error 0 105 510 Error 0 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$a = 1;$b = 3;$d = $a++ + ++$b;echo $d; 4 3 5 error 4 3 5 error ANSWER DOWNLOAD EXAMIANS APP