PHP Operators and Expressions What will be the output of the following PHP code ?$hello = "Hello World";$bye = "Bye";echo $hello;"$bye"; Error Hello worldBye Bye Hello World Error Hello worldBye Bye Hello World ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?class myObject { }define('myObject::CONSTANT', 'test');echo myObject::CONSTANT; myObject::CONSTANT no output error test myObject::CONSTANT no output error test ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$x = 5;function fun(){echo "$x";}fun(); 5 Nothing 0 Error 5 Nothing 0 Error ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$x = 3, 4, 5, 6;echo "$x"; 6 3 Error 4 6 3 Error 4 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$i = 0;while ((--$i > ++$i) - 1) {print $i;} error 00000000000000000000….infinitely no output -1-1-1-1-1-1-1-1-1-1…infinitely error 00000000000000000000….infinitely no output -1-1-1-1-1-1-1-1-1-1…infinitely ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$x = 3.5;$y = 2;$z = 2;echo $x / $y / $z; 0.875 1.75 3.5 Error 0.875 1.75 3.5 Error ANSWER DOWNLOAD EXAMIANS APP