PHP Operators and Expressions What will be the output of the following PHP code ?$var1 = 1 + ++5;echo $var1; error 7 no output 6 error 7 no output 6 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?print_r "Hello world" Hello World Nothing Missing semicolon error Error Hello World Nothing Missing semicolon error Error ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?echo "This", "was", "a", "bad", "idea"; Thiswasabadidea Error This was a bad idea This, was, a, bad, idea Thiswasabadidea Error This was a bad idea This, was, a, bad, idea ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$color1 = "red";$color2 = "green";echo "$color1" . "$color2"; red green redgreen red green red green redgreen red green ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$a = 10;echo ++$a;echo $a++;echo $a;echo ++$a; 11111213 11111112 11111212 11121213 11111213 11111112 11111212 11121213 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; 1400 4100 104 410 1400 4100 104 410 ANSWER DOWNLOAD EXAMIANS APP