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 All of the mentioned 1, 2 and 3 1, 2 and 4 1 and 2 All of the mentioned 1, 2 and 3 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following PHP code?$user = array("Ashley", "Bale", "Shrek", "Blank");for ($x=0; $x < count($user); $x++){if ($user[$x] == "Shrek")continue;printf ($user[$x]);} AshleyBaleBlank ShrekBlank AshleyBale Shrek AshleyBaleBlank ShrekBlank AshleyBale Shrek ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following php code?$num = 1;$num1 = 2;print $num . "+". $num1; 1+2 3 1.+.2 Error 1+2 3 1.+.2 Error ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Variables always start with a ........ in PHP Euro-sign Pond-sign Dollar-sign Yen-sign Euro-sign Pond-sign Dollar-sign Yen-sign ANSWER DOWNLOAD EXAMIANS APP
Basic PHP String values must be enclosed in ...... none of above double quotes both A and B single quotes none of above double quotes both A and B single quotes ANSWER DOWNLOAD EXAMIANS APP
Basic PHP PHP considers the following values as False All of Above constant NULL the integer 0 both A and B the one-character string 0 All of Above constant NULL the integer 0 both A and B the one-character string 0 ANSWER DOWNLOAD EXAMIANS APP