PHP Operators and Expressions What will be the output of the following PHP code ?$hello = "Hello World";$bye = "Bye";echo $hello;"$bye"; Hello World Error Bye Hello worldBye Hello World Error Bye Hello worldBye ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$color = red;echo "$color" . red ; nothing error red red red nothing error red red red 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 testtest testvalue error, constant value cannot be changed test testtest testvalue 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 4hello4hello4hello4hello4hello…..infinite no output error 5hello5hello5hello5hello5hello…..infinite 4hello4hello4hello4hello4hello…..infinite no output error ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$a = 0x6db7;print $a<<6; error 1797568 0x6dc0 no output error 1797568 0x6dc0 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__; 2 PHP is a scripting language __LINE__ ERROR 2 PHP is a scripting language __LINE__ ERROR ANSWER DOWNLOAD EXAMIANS APP