PHP Operators and Expressions What will be the output of the following PHP code ?$y = 2;if ($y-- == ++$y) {echo $y;} 3 2 no output 1 3 2 no output 1 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?define('IF', 42);echo "IF: ", IF; IF: ERROR IF:42 No output IF: ERROR IF:42 No output ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$color = red;echo "$color" . red ; nothing error red red red nothing error red red red ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?print("this"."was"."a"."bad"."idea"); thiswasabadidea this was a bad idea error nothing thiswasabadidea this was a bad idea error nothing ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?echo "echo "Hello World""; Error echo “Hello world” Hello world echo Hello world Error echo “Hello world” Hello world echo Hello world ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?function fun() {$x = 0;echo $x;$x++;}fun();fun();fun(); 012 000 111 123 012 000 111 123 ANSWER DOWNLOAD EXAMIANS APP