PHP Operators and Expressions What will be the output of the following PHP code ?$one = 1;print($one);print $one; 11 01 10 Error 11 01 10 Error ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$x = 5;$y = 10;function fun() {$GLOBALS['y'] = $GLOBALS['x'] + $GLOBALS['y'];}fun();echo $y; Error 10 5 15 Error 10 5 15 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?echo "Hello World" Hello world in italics Nothing Hello world Error Hello world in italics Nothing Hello world Error ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$color1 = "red";$color2 = "green";echo "$color1" . "$color2"; redgreen red green red green redgreen red green red green ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?class Constants{define('MIN_VALUE', '0.0');define('MAX_VALUE', '1.0');public static function getMinValue() {return self::MIN_VALUE;}public static function getMaxValue() {return self::MAX_VALUE;}}echo Constants::getMinValue();echo Constants::getMaxValue(); 01 ERROR No output 0.01.0 01 ERROR No output 0.01.0 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$a = 10;$b = 4;$c = fun(10,4);function fun($a,$b) {$b = 3;return $a - $b + $b - $a;}echo $a;echo $b;echo $c; 410 104 4100 1400 410 104 4100 1400 ANSWER DOWNLOAD EXAMIANS APP