Basic PHP Which of following variables can be assigned a value to it?1. $3hello2. $_hello3. $this4. $This All of the mentioned 2 and 4 2, 3 and 4 Only 2 All of the mentioned 2 and 4 2, 3 and 4 Only 2 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP PHP files have a default file extension of_______. .xml .html .php .ph .xml .html .php .ph 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 3 1, 2 and 4 1 and 2 All of the mentioned 1, 2 and 3 1, 2 and 4 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP strval() Accepts a value and converts it into a string array None of above Accepts a value and converts it into string equivalent Accepts a value and converts it into an string dictionary Accepts a value and converts it into a string array None of above Accepts a value and converts it into string equivalent Accepts a value and converts it into an string dictionary ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Within a namespace, for accessing the built-in PHP classes you can prefix the class name with a . . . . . and let PHP look in the global class list. ampersand backslash asterix percent ampersand backslash asterix percent ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following PHP code?$a = "clue";$a .= "get";echo "$a"; get clueget true false get clueget true false ANSWER DOWNLOAD EXAMIANS APP