PHP Operators and Expressions What will be the output of the following PHP code ?echo $red; Error True 0 Nothing Error True 0 Nothing ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$x = 5;$y = 10;function fun() {$y = $GLOBALS['x'] + $GLOBALS['y'];}fun();echo $y; 5 Error 10 15 5 Error 10 15 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; 11111112 11111212 11121213 11111213 11111112 11111212 11121213 11111213 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?function fun() {static $x = 0;echo $x;$x++;}fun();fun();fun(); 012 Error 123 111 012 Error 123 111 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?print("this"."was"."a"."bad"."idea"); this was a bad idea error thiswasabadidea nothing this was a bad idea error thiswasabadidea nothing ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?echo "This"."was"."a"."bad"."idea"; This was a bad idea This, was, a, bad, idea Error Thiswasabadidea This was a bad idea This, was, a, bad, idea Error Thiswasabadidea ANSWER DOWNLOAD EXAMIANS APP