PHP Operators and Expressions What will be the output of the following PHP code ?$x = 5;{$x = 10;echo "$x";}echo "$x"; 510 1010 error 105 510 1010 error 105 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"; 8 8 = 4 + 3 +1 Error 4 = 4 + 3 + 1 8 8 = 4 + 3 +1 Error 4 = 4 + 3 + 1 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?echo "This is India"; This is Error This is India This is India This is Error This is India This is India ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$cars = array("Volvo", "BMW", "Toyota");print $cars[2]; Toyota Volvo BMW Error Toyota Volvo BMW Error ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$x = 5;function fun(){$x = 10;echo "$x";}fun();echo "$x"; 510 105 Error 0 510 105 Error 0 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$i = 5;while (--$i > 0 && ++$i) {print $i;} 555555555…infinitely error 5 54321 555555555…infinitely error 5 54321 ANSWER DOWNLOAD EXAMIANS APP