Basic PHP Multiple namespaces cannot be defined in the same file. FALSE TRUE FALSE TRUE ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Variables always start with a ........ in PHP Dollar-sign Pond-sign Yen-sign Euro-sign Dollar-sign Pond-sign Yen-sign Euro-sign ANSWER DOWNLOAD EXAMIANS APP
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 and 2 All of the mentioned 1, 2 and 4 1, 2 and 3 1 and 2 All of the mentioned 1, 2 and 4 1, 2 and 3 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following PHP code?$num = 10;echo 'What is her age? \n She is $num years old'; What is her age?n She is 10 years old What is her age? n She is $num years old What is her age? She is 10 years old What is her age? She is $num years old What is her age?n She is 10 years old What is her age? n She is $num years old What is her age? She is 10 years old What is her age? She is $num years old ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which of the below statements is equivalent to $add += $add ? $add = $add $add = $add +$add $add = $add + 1 $add = $add + $add + 1 $add = $add $add = $add +$add $add = $add + 1 $add = $add + $add + 1 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP When a simple data type is casted to an array, an array is created with the original value in the first element. False True False True ANSWER DOWNLOAD EXAMIANS APP