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"; 0 Error 510 105 0 Error 510 105 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$a = 10;$b = 10;if ($a = 5)$b--;print $a;print $b--; 58 59 108 109 58 59 108 109 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?# echo "Hello world";echo "# Hello world"; Hello world# Hello world Hello world # Hello world Error Hello world# Hello world Hello world # Hello world Error 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}; testvalue testtest test error, constant value cannot be changed testvalue testtest test error, constant value cannot be changed ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What is the output of given statement?Print 17 % 3; none of above 2 5.666667 5.67 none of above 2 5.666667 5.67 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?one = 1;two = 2;three = 3;four = 4;echo "one / two + three / four"; 0.75 1.25 Error 0.05 0.75 1.25 Error 0.05 ANSWER DOWNLOAD EXAMIANS APP