PHP Operators and Expressions What will be the output of the following PHP code ?$x=0; function fun() {echo $GLOBALS['x'];$GLOBALS['x']++;}fun();fun();fun(); 012 Error 000 123 012 Error 000 123 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$4four = 4;$3three = 3;$2two = 2;echo $4four + $3three / $2two - 1; 7 4.5 3.5 Error 7 4.5 3.5 Error ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$one = "one";$two = "one";print($one == $two); error false 1 true error false 1 true 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() if_numeric is_numeric() is_number() is_num() if_numeric is_numeric() ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$i = 2;while (++$i) {while ($i --> 0)print $i;} infinite loop 10 no output 210 infinite loop 10 no output 210 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?function fun($x,$y) {$x = 4;$y = 3;$z = $x + $y / $y + $x;echo "$z";}fun(3, 4); 9 7 0 Error 9 7 0 Error ANSWER DOWNLOAD EXAMIANS APP