PHP Operators and Expressions What will be the output of the following PHP code ?define("__LINE__", "PHP is a scripting language");echo __LINE__; 2 ERROR PHP is a scripting language __LINE__ 2 ERROR PHP is a scripting language __LINE__ ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$hello = "Hello World";$bye = "Bye";echo $hello;"$bye"; Hello worldBye Error Bye Hello World Hello worldBye Error Bye Hello World ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$x = "test";$y = "this";$z = "also";$x .= $y .= $z ;echo $x;echo $y; testthisalsothisalso testthis testthisthisalso error at line 4 testthisalsothisalso testthis testthisthisalso error at line 4 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$b = 1;$c = 4;$a = 5;$d = $b + $c == $a;print $d; 10 1 5 0 10 1 5 0 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 ?$x = 4;$y = 3;$z = 1;echo "$x = $x + $y + $z"; 4 = 4 + 3 + 1 8 = 4 + 3 +1 Error 8 4 = 4 + 3 + 1 8 = 4 + 3 +1 Error 8 ANSWER DOWNLOAD EXAMIANS APP