PHP Operators and Expressions What will be the output of the following PHP code ?print_r "Hello world" Error Missing semicolon error Hello World Nothing Error Missing semicolon error Hello World Nothing 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}; testtest testvalue test error, constant value cannot be changed testtest testvalue test error, constant value cannot be changed ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$color1 = "red";$color2 = "1";$color3 = "grey";echo "$color1" + "$color2" . "$color3"; red1grey grey 1grey 0 red1grey grey 1grey 0 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$x = 5;$y = 10;$z = "$x + $y";echo "$z"; 15 10 + 5 $x + $y $z 15 10 + 5 $x + $y $z ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$color = red;echo "$color"; red red $color Error red red $color Error ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$one = "one";$two = "two";print($one$two); one nothing onetwo error one nothing onetwo error ANSWER DOWNLOAD EXAMIANS APP