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; true20 20 true0 0 true20 20 true0 0 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$y = 2;if ($y-- == ++$y) {echo $y;} no output 1 3 2 no output 1 3 2 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?define("VAR_NAME","test");${VAR_NAME} = "value";echo VAR_NAME;echo ${VAR_NAME}; testvalue test error, constant value cannot be changed testtest testvalue test error, constant value cannot be changed testtest ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$a = 'a';print $a * 2; 0 error 192 2 0 error 192 2 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$a = 5;$b = -7;$c =0;$d = ++$a && ++$b || ++$c;print $d;print $a; 16 06 15 05 16 06 15 05 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 0.05 Error 1.25 0.75 0.05 Error 1.25 ANSWER DOWNLOAD EXAMIANS APP