PHP Operators and Expressions What will be the output of the following PHP code ?$i = 0;$x = $i++;$y = ++$i;print $x;print $y; 02 12 21 01 02 12 21 01 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$x =4;$y = 3;function fun($x, $y) {$z = $x + $y / $y + $x;echo "$z";}echo $x;echo $y;echo $z;fun(3, 4); 439 349 347 437 439 349 347 437 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions In order to find if a variable holds an actual number or a string containing characters that can be translated into a number you can use: is_num() is_number() if_numeric is_numeric() is_num() is_number() if_numeric is_numeric() ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$a = 'a';print $a * 2; 2 error 192 0 2 error 192 0 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?function fun($x,$y) {$x = 4;$y = 3;$z = $x + $y / $y + $x;echo "$z";}fun(3, 4); 7 9 0 Error 7 9 0 Error ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$a = '4';print + + $a; 0 error no output 5 0 error no output 5 ANSWER DOWNLOAD EXAMIANS APP