PHP Operators and Expressions What will be the output of the following PHP code ?class myObject { }define('myObject::CONSTANT', 'test');echo myObject::CONSTANT; test error no output myObject::CONSTANT test error no output myObject::CONSTANT ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?echo "This"."was"."a"."bad"."idea"; This was a bad idea Error Thiswasabadidea This, was, a, bad, idea This was a bad idea Error Thiswasabadidea This, was, a, bad, idea 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__; PHP is a scripting language 2 ERROR __LINE__ PHP is a scripting language 2 ERROR __LINE__ ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$i = 0;$j = 1;$k = 2;print !(($i + $k) < ($j - $k)); 1 false 0 true 1 false 0 true ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$i = 0;while ($i = 10) {print "hi";}print "hello"; hihello infinite loop error hello hihello infinite loop error hello ANSWER DOWNLOAD EXAMIANS APP