PHP Operators and Expressions What will be the output of the following PHP code ?define('IF', 42);echo "IF: ", IF; IF:42 No output ERROR IF: IF:42 No output ERROR IF: ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$color = red;echo "$color" . red ; red error nothing red red red error nothing red red ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$a = 10;$b = 10;if ($a = 5)$b--;print $a;print $b--; 108 58 59 109 108 58 59 109 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$i = 5;while (--$i > 0) {$i++;print $i;print "hello";} 5hello5hello5hello5hello5hello…..infinite error no output 4hello4hello4hello4hello4hello…..infinite 5hello5hello5hello5hello5hello…..infinite error no output 4hello4hello4hello4hello4hello…..infinite ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?echo "echo "Hello World""; Hello world Error echo Hello world echo “Hello world” Hello world Error echo Hello world echo “Hello world” 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_number() is_numeric() if_numeric is_num() is_number() is_numeric() if_numeric is_num() ANSWER DOWNLOAD EXAMIANS APP