Basic PHP Which of the following PHP statements will output Hello World on the screen?1. echo (“Hello World”);2. print (“Hello World”);3. printf (“Hello World”);4. sprintf (“Hello World”); All of the mentioned 1 and 2 1, 2 and 4 1, 2 and 3 All of the mentioned 1 and 2 1, 2 and 4 1, 2 and 3 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP You can test the type of any variable with the ..... function. settype() showtype() gettype() whattype() settype() showtype() gettype() whattype() ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following PHP code?$color = "maroon";$var = $color[2];echo "$var"; $var a r Error $var a r Error ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which of the following php statement/statements will store 111 in variable num?1. int $num = 111;2. int mum = 111;3. $num = 111;4. 111 = $num; Only 1 All of the mentioned Both 1 and 2 Only 3 Only 1 All of the mentioned Both 1 and 2 Only 3 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following code?function track() {static $count = 0;$count++;echo $count;}track();track();track(); 111 123 000 011 111 123 000 011 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which of the below symbols is a newline character? /r \n /n \r /r \n /n \r ANSWER DOWNLOAD EXAMIANS APP