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 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 ?$var1 = 0;$var1 = ($var1 + 5)++;echo $var1; 5 error 6 7 5 error 6 7 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$i = 1;if ($i++ && ($i == 1))printf("Yesn$i");elseprintf("Non$i"); Yes 2 No 1 No 2 Yes 1 Yes 2 No 1 No 2 Yes 1 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$x = 4;$y = -3;$z = 11;echo 4 + $y * $z / $x; -3.25 -4.25 4.25 3.25 -3.25 -4.25 4.25 3.25 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?int $one = 1;echo "$one"; $one 0 1 Error $one 0 1 Error ANSWER DOWNLOAD EXAMIANS APP