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; Both 1 and 2 Only 3 Only 1 All of the mentioned Both 1 and 2 Only 3 Only 1 All of the mentioned ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Under what circumstance is it impossible to assign a default value to a parameter while declaring a function? When the function is being declared as a member of a class When the parameter is Boolean When the function contains only one parameter Never When the parameter is being declared as passed by reference When the function is being declared as a member of a class When the parameter is Boolean When the function contains only one parameter Never When the parameter is being declared as passed by reference ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which of the below namespace declaration is correct? namespace 1_RA; namespace ORA: namespace ORA; namespace ORA_#; namespace 1_RA; namespace ORA: namespace ORA; namespace ORA_#; 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
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 1, 2 and 4 All of the mentioned 1, 2 and 3 1 and 2 1, 2 and 4 All of the mentioned 1, 2 and 3 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following PHP code?$score = 1234;$scoreboard = (array) $score;echo $scoreboard[0]; Error 2 1 1234 Error 2 1 1234 ANSWER DOWNLOAD EXAMIANS APP