PHP Operators and Expressions What will be the output of the following PHP code ?$x = 4;$y = 3;$z = 1;echo "$x = $x + $y + $z"; 8 4 = 4 + 3 + 1 8 = 4 + 3 +1 Error 8 4 = 4 + 3 + 1 8 = 4 + 3 +1 Error ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$a = '12345';echo 'qwe{$a}rty'; error qwe12345rty no output qwe{$a}rty error qwe12345rty no output qwe{$a}rty ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?define("GREETING", "PHP is a scripting language");echo $GREETING; $GREETING no output GREETING PHP is a scripting language $GREETING no output GREETING PHP is a scripting language 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 test error, constant value cannot be changed testvalue testtest test error, constant value cannot be changed testvalue 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 111 123 012 Error 111 123 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$y = 2;if (--$y <> ($y != $y++)) {echo $y;} no output 1 0 2 no output 1 0 2 ANSWER DOWNLOAD EXAMIANS APP