PHP Operators and Expressions What will be the output of the following PHP code ?define('IF', 42);echo "IF: ", IF; No output IF: ERROR IF:42 No output IF: ERROR IF:42 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$x = 5;{$x = 10;echo "$x";}echo "$x"; 105 510 error 1010 105 510 error 1010 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;print $a; 06 05 16 15 06 05 16 15 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$a = 10;$b = 4;$c = fun(10,4);function fun($a,$b) {$b = 3;return $a - $b + $b - $a;}echo $a;echo $b;echo $c; 104 4100 410 1400 104 4100 410 1400 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$a = '12345';print "qwe{$a}rty"; no output qwe12345rty qwe{$a}rty error no output qwe12345rty qwe{$a}rty error 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;} 3 1 no output 2 3 1 no output 2 ANSWER DOWNLOAD EXAMIANS APP