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";} result is true error result is 1 no output result is true error result is 1 no output ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?define("__LINE__", "PHP is a scripting language");echo __LINE__; ERROR PHP is a scripting language __LINE__ 2 ERROR PHP is a scripting language __LINE__ 2 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions In order to find if a variable holds an actual number or a string containing characters that can be translated into a number you can use: is_num() is_number() if_numeric is_numeric() is_num() is_number() if_numeric is_numeric() 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
PHP Operators and Expressions What will be the output of the following PHP code ?echo "This"."was"."a"."bad"."idea"; Thiswasabadidea This, was, a, bad, idea This was a bad idea Error Thiswasabadidea This, was, a, bad, idea This was a bad idea Error ANSWER DOWNLOAD EXAMIANS APP