PHP Operators and Expressions What will be the output of the following PHP code ?$cars = array("Volvo", "BMW", "Toyota");print $cars[2]; Volvo Toyota Error BMW Volvo Toyota Error BMW 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}; test error, constant value cannot be changed testtest testvalue test error, constant value cannot be changed testtest testvalue 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(); 123 012 111 000 123 012 111 000 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$a = 5;$b = -7;$c =0;$d = ++$a && ++$b || ++$c;print $d;print $a;print $a; 06 16 05 15 06 16 05 15 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$color = "red";$color = "green";echo "$color"; error red green red green error red green red green ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?echo "This is India"; Error This is India This is India This is Error This is India This is India This is ANSWER DOWNLOAD EXAMIANS APP