PHP Operators and Expressions What will be the output of the following PHP code ?define("__LINE__", "PHP is a scripting language");echo __LINE__; __LINE__ 2 PHP is a scripting language ERROR __LINE__ 2 PHP is a scripting language ERROR ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions PHP will automatically convert strings to numbers when it needs to. TRUE FALSE TRUE FALSE ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$i = 0;while ($i = 10) {print "hi";}print "hello"; hihello hello infinite loop error hihello hello infinite loop error ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?print_r "Hello world" Missing semicolon error Hello World Nothing Error Missing semicolon error Hello World Nothing Error ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$i = 0;while (++$i && --$i) {print $i;} 01234567891011121314…infinitely 1234567891011121314….infinitely error no output 01234567891011121314…infinitely 1234567891011121314….infinitely error no output ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$one = "one";$two = "one";print($one == $two); false error true 1 false error true 1 ANSWER DOWNLOAD EXAMIANS APP