PHP Operators and Expressions What will be the output of the following PHP code ?$i = 10;$j = 0;if ($i || ($j = $i + 10)) {echo "true";}echo $j; true0 0 20 true20 true0 0 20 true20 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$cars = array("Volvo", "BMW", "Toyota");echo "My car is a {$cars[0]}"; My car is a BMW My car is a Toyota Error My car is a Volvo My car is a BMW My car is a Toyota Error My car is a Volvo ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$on_e = 1;$tw_o = 2;$thre_e = 3;$fou_r = 4;echo $on_e / $tw_o + $thre_e / $fou_r; 0.75 1.25 Error 0.05 0.75 1.25 Error 0.05 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$a = 'a';print $a * 2; 192 error 0 2 192 error 0 2 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What is the output of given statement?Print 17 % 3; 2 5.67 5.666667 none of above 2 5.67 5.666667 none of above ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$x = 5;$y = 10;function fun() {$y = $GLOBALS['x'] + $GLOBALS['y'];}fun();echo $y; Error 10 15 5 Error 10 15 5 ANSWER DOWNLOAD EXAMIANS APP