PHP Operators and Expressions What will be the output of the following PHP code ?$var1 = 3;print $var = ++$var; 1 0 2 3 1 0 2 3 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$i = "";while ($i = 10) {print "hi";}print "hello"; infinite loop hihello hello error infinite loop hihello hello error ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$a = 'a';print $a * 2; 192 0 error 2 192 0 error 2 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$x = 5;$y = 10;$z = "$x + $y";echo "$z"; 10 + 5 15 $x + $y $z 10 + 5 15 $x + $y $z ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?function fun() {static $x = 0;echo $x;$x++;}fun();fun();fun(); 111 012 Error 123 111 012 Error 123 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$cars = array("Volvo", "BMW", "Toyota");print $cars[2]; Error BMW Volvo Toyota Error BMW Volvo Toyota ANSWER DOWNLOAD EXAMIANS APP