PHP Operators and Expressions What will be the output of the following PHP code ?$i = "";while ($i = 10) {print "hi";}print "hello"; infinite loop error hello hihello infinite loop error hello hihello ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$x = 5;function fun(){$x = 10;echo "$x";}fun();echo "$x"; 0 510 105 Error 0 510 105 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; 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 ERROR I have a valueNEW_GOO_NAME_CONSTANTS ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$var1 = 3;print $var = ++$var; 1 3 0 2 1 3 0 2 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$i = 0;while ((--$i > ++$i) - 1) {print $i;} no output error -1-1-1-1-1-1-1-1-1-1…infinitely 00000000000000000000….infinitely no output error -1-1-1-1-1-1-1-1-1-1…infinitely 00000000000000000000….infinitely 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