PHP Operators and Expressions What will be the output of the following PHP code ?$a = '12345';echo 'qwe{$a}rty'; no output error qwe12345rty qwe{$a}rty no output error qwe12345rty qwe{$a}rty 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() is_num() if_numeric is_number() is_numeric() is_num() if_numeric ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?< ? php < ? php echo "Hello world"; ? > ? > Nothing Hello Error Hello world Nothing Hello Error Hello world 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";} no output 5hello5hello5hello5hello5hello…..infinite error 4hello4hello4hello4hello4hello…..infinite no output 5hello5hello5hello5hello5hello…..infinite error 4hello4hello4hello4hello4hello…..infinite 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}; error, constant value cannot be changed test testvalue testtest error, constant value cannot be changed test testvalue testtest ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$i = 10;$j = 0;if ($i || ($j = $i + 10)) {echo "true";}echo $j; 0 20 true20 true0 0 20 true20 true0 ANSWER DOWNLOAD EXAMIANS APP