PHP Operators and Expressions What will be the output of the following PHP code ?class myObject { }define('myObject::CONSTANT', 'test');echo myObject::CONSTANT; no output myObject::CONSTANT test error no output myObject::CONSTANT test error ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?define('IF', 42);echo "IF: ", IF; IF: ERROR No output IF:42 IF: ERROR No output IF:42 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$one = "Hello";$two = "World";echo "$one$two"; Error Hello HelloWorld $one$two Error Hello HelloWorld $one$two 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 Thiswasabadidea This was a bad idea Error This, was, a, bad, idea Thiswasabadidea This was a bad idea Error ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?function fun() {$x = 0;echo $x;$x++;}fun();fun();fun(); 111 012 123 000 111 012 123 000 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"; error hihello infinite loop hello error hihello infinite loop hello ANSWER DOWNLOAD EXAMIANS APP