PHP Operators and Expressions What will be the output of the following PHP code ?int $one = 1;echo "$one"; $one 1 0 Error $one 1 0 Error 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}; testtest error, constant value cannot be changed testvalue test testtest error, constant value cannot be changed testvalue test ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$4four = 4;$3three = 3;$2two = 2;echo $4four + $3three / $2two - 1; 3.5 7 Error 4.5 3.5 7 Error 4.5 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$i = 0;$x = $i++;$y = ++$i;print $x;print $y; 02 21 12 01 02 21 12 01 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$y = 2;$w = 4;$y *= $w /= $y;echo $y, $w; 82 42 44 80.5 82 42 44 80.5 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 16 15 05 06 16 15 05 ANSWER DOWNLOAD EXAMIANS APP