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
PHP Operators and Expressions What will be the output of the following PHP code ?$x =4;$y = 3;function fun($x, $y) {$z = $x + $y / $y + $x;echo "$z";}echo $x;echo $y;echo $z;fun(3, 4); 347 437 439 349 347 437 439 349 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?echo "echo "Hello World""; echo Hello world echo “Hello world” Hello world Error echo Hello world echo “Hello world” Hello world Error ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?define("__LINE__", "PHP is a scripting language");echo __LINE__; 2 __LINE__ PHP is a scripting language ERROR 2 __LINE__ PHP is a scripting language ERROR ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?static $x = 0;function fun() {echo $x;$x++;}fun();fun();fun(); 123 Error 012 Nothing 123 Error 012 Nothing ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$y = 2;if (--$y == 2 || $y xor --$y) {echo $y;} 0 no output 1 2 0 no output 1 2 ANSWER DOWNLOAD EXAMIANS APP