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 15 16 06 05 15 16 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$a = '12345';echo 'qwe{$a}rty'; qwe12345rty qwe{$a}rty error no output qwe12345rty qwe{$a}rty error no output 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_num() is_numeric() if_numeric is_number() is_num() is_numeric() if_numeric is_number() ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$var1 = 0;$var1 = ($var1 + 5)++;echo $var1; 6 7 error 5 6 7 error 5 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$x = 4;$y = 3;function fun($x = 3, $y = 4) {$z = $x+$y/$y+$x;echo "$z";}echo $x;echo $y;echo $z;fun($x, $y); 43 439 943 349 43 439 943 349 ANSWER DOWNLOAD EXAMIANS APP
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; 20 0 true0 true20 20 0 true0 true20 ANSWER DOWNLOAD EXAMIANS APP