PHP Operators and Expressions What will be the output of the following PHP code ?$y = 2;if (--$y == 2 || $y xor --$y) {echo $y;} 1 0 no output 2 1 0 no output 2 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$x = 3.5;$y = 2;$z = 2;echo $x / $y / $z; 0.875 Error 3.5 1.75 0.875 Error 3.5 1.75 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$x = "test";$y = "this";$z = "also";$x .= $y .= $z ;echo $x;echo $y; testthis error at line 4 testthisalsothisalso testthisthisalso testthis error at line 4 testthisalsothisalso testthisthisalso ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$x = 10;$y = 4;$z = 3;echo $x % $y % $z; 0 2 Error 1 0 2 Error 1 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?echo $red; Nothing True 0 Error Nothing True 0 Error ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?define("NEW_GOOD_NAME_CONSTANT", "I have a value");define("OLD_BAD_NAME_CONSTANT", NEW_GOOD_NAME_CONSTANT);echo NEW_GOOD_NAME_CONSTANT;echo OLD_BAD_NAME_CONSTANT; ERROR I have a valueNEW_GOO_NAME_CONSTANTS I have a value I have a valueI have a value ERROR I have a valueNEW_GOO_NAME_CONSTANTS I have a value I have a valueI have a value ANSWER DOWNLOAD EXAMIANS APP