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”); 1, 2 and 4 1 and 2 1, 2 and 3 All of the mentioned 1, 2 and 4 1 and 2 1, 2 and 3 All of the mentioned ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Some PHP code might not have a namespace and therefore lives in the . . . . . . namespace. PRE Default Automatic Global PRE Default Automatic Global ANSWER DOWNLOAD EXAMIANS APP
Basic PHP We can use _________ to comment a single line?1. /?2. //3. #4. /* */ 1, 3 and 4 Both 2 and 4 Only 2 2, 3 and 4 1, 3 and 4 Both 2 and 4 Only 2 2, 3 and 4 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which statement will output $x on the screen? echo “$x;”; echo “$$x”; echo “\$x”; echo “/$x”; echo “$x;”; echo “$$x”; echo “\$x”; echo “/$x”; ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which of the following is not valid PHP code? $_10 $aVaR ${“MyVar”} $10_somethings &$something $_10 $aVaR ${“MyVar”} $10_somethings &$something ANSWER DOWNLOAD EXAMIANS APP
Basic PHP PHP ..... demand that you declare a data type when you create a variable. does does not does does not ANSWER DOWNLOAD EXAMIANS APP