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, 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 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which of the following is not valid PHP code? $aVaR &$something ${“MyVar”} $10_somethings $_10 $aVaR &$something ${“MyVar”} $10_somethings $_10 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
Basic PHP Which of following variables can be assigned a value to it?1. $3hello2. $_hello3. $this4. $This All of the mentioned 2, 3 and 4 2 and 4 Only 2 All of the mentioned 2, 3 and 4 2 and 4 Only 2 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP With the introduction of namespaces, the same function name can be used in multiple places. TRUE FALSE TRUE FALSE ANSWER DOWNLOAD EXAMIANS APP
Basic PHP As the namespace size grows, using namespaces can become a little repetitious, but PHP also provides the . . . . . statement, which allows you to alias a specific namespace. use label php grant use label php grant ANSWER DOWNLOAD EXAMIANS APP