PHP Operators and Expressions What will be the output of the following PHP code ?$x;echo "$x"; Error Nothing 0 1 Error Nothing 0 1 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; 1400 104 410 4100 1400 104 410 4100 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?echo "echo "Hello World""; Error echo “Hello world” echo Hello world Hello world Error echo “Hello world” echo Hello world Hello world ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$one = 1;print($one);print $one; 01 11 Error 10 01 11 Error 10 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); Error 9 7 0 Error 9 7 0 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_numeric() is_number() if_numeric is_num() is_numeric() is_number() if_numeric is_num() ANSWER DOWNLOAD EXAMIANS APP