PHP Operators and Expressions What will be the output of the following PHP code ?print_r "Hello world" Hello World Error Missing semicolon error Nothing Hello World Error Missing semicolon error Nothing ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$a = 5;$b = -7;$c =0;$d = ++$a && ++$b || ++$c;print $d;print $a; 15 05 16 06 15 05 16 06 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; I have a valueNEW_GOO_NAME_CONSTANTS I have a valueI have a value I have a value ERROR I have a valueNEW_GOO_NAME_CONSTANTS I have a valueI have a value I have a value ERROR ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions PHP will automatically convert strings to numbers when it needs to. FALSE TRUE FALSE TRUE ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$i = 0;while (++$i && --$i) {print $i;} no output 01234567891011121314…infinitely error 1234567891011121314….infinitely no output 01234567891011121314…infinitely error 1234567891011121314….infinitely 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; Error 0.875 3.5 1.75 Error 0.875 3.5 1.75 ANSWER DOWNLOAD EXAMIANS APP