PHP Operators and Expressions What will be the output of the following PHP code ?define('IF', 42);echo "IF: ", IF; No output IF: IF:42 ERROR No output IF: IF:42 ERROR ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?var $one = 1;var $two = 2;echo $one / $two * $one / $two * $two; 0 Error 1 0.5 0 Error 1 0.5 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$auth = 1;$status = 1;if ($result = (($auth == 1) && ($status != 0))) {print "result is $result";} no output result is 1 error result is true no output result is 1 error result is true ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$color = red;echo "$color" . red ; red nothing red red error red nothing red red error ANSWER DOWNLOAD EXAMIANS APP
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"; 4 = 4 + 3 + 1 8 = 4 + 3 +1 Error 8 4 = 4 + 3 + 1 8 = 4 + 3 +1 Error 8 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?one = 1;two = 2;three = 3;four = 4;echo "one / two + three / four"; 0.75 0.05 Error 1.25 0.75 0.05 Error 1.25 ANSWER DOWNLOAD EXAMIANS APP