PHP Operators and Expressions What will be the output of the following PHP code ?$hello = "Hello World";$bye = "Bye";echo $hello;"$bye"; Hello worldBye Error Bye Hello World Hello worldBye Error Bye Hello World ANSWER DOWNLOAD EXAMIANS APP
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}; test error, constant value cannot be changed testvalue testtest test error, constant value cannot be changed testvalue testtest ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$y = 2;if ($y-- == ++$y) {echo $y;} 1 no output 3 2 1 no output 3 2 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";} error result is true result is 1 no output error result is true result is 1 no output ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$one = "Hello";$two = "World";echo "$one$two"; HelloWorld Error $one$two Hello HelloWorld Error $one$two Hello ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$x = 4;$y = 3;function fun($x = 3, $y = 4) {$z = $x+$y/$y+$x;echo "$z";}echo $x;echo $y;echo $z;fun($x, $y); 943 349 439 43 943 349 439 43 ANSWER DOWNLOAD EXAMIANS APP