PHP Operators and Expressions What will be the output of the following PHP code ?echo "Hello World" Hello world in italics Error Hello world Nothing Hello world in italics Error Hello world Nothing ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$hello = "Hello World";$bye = "Bye";echo $hello;"$bye"; Hello World Bye Hello worldBye Error Hello World Bye Hello worldBye Error ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$b = 1;$c = 4;$a = 5;$d = $b + $c == $a;print $d; 1 0 5 10 1 0 5 10 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_numeric() if_numeric is_number() is_num() is_numeric() if_numeric is_number() 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 0 Error 105 510 0 Error 105 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?class myObject { }define('myObject::CONSTANT', 'test');echo myObject::CONSTANT; myObject::CONSTANT test no output error myObject::CONSTANT test no output error ANSWER DOWNLOAD EXAMIANS APP