PHP Operators and Expressions What will be the output of the following PHP code ?print("this"."was"."a"."bad"."idea"); nothing error thiswasabadidea this was a bad idea nothing error thiswasabadidea this was a bad idea ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$a = 1;$b = 1;$d = 1;print ++$a + ++$a+$a++;print $a++ + ++$b;print ++$d + $d++ + $a++; 368 error 869 742 368 error 869 742 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() is_numeric() if_numeric is_num() is_number() is_numeric() if_numeric ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$i = 1;if ($i++ && ($i == 1))printf("Yesn$i");elseprintf("Non$i"); Yes 1 No 1 No 2 Yes 2 Yes 1 No 1 No 2 Yes 2 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$one = "Hello";$two = "World";echo "$one$two"; HelloWorld Error $one$two Hello HelloWorld Error $one$two Hello ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?static $x = 0;function fun() {echo $x;$x++;}fun();fun();fun(); Error 012 Nothing 123 Error 012 Nothing 123 ANSWER DOWNLOAD EXAMIANS APP