Basic PHP What will be the output of the following PHP code?$color = "maroon";$var = $color[2];echo "$var"; a r Error $var a r Error $var ANSWER DOWNLOAD EXAMIANS APP
Basic PHP strval() Accepts a value and converts it into string equivalent None of above Accepts a value and converts it into an string dictionary Accepts a value and converts it into a string array Accepts a value and converts it into string equivalent None of above Accepts a value and converts it into an string dictionary Accepts a value and converts it into a string array 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 PHP runs on different platforms (Windows, Linux, Unix, etc.) True False True False 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 asterix percent backslash ampersand asterix percent backslash ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following PHP code?$team = "arsenal";switch ($team) {case "manu":echo "I love man u";case "arsenal":echo "I love arsenal";case "manc":echo "I love manc"; } I love arsenalI love manc I love arsenalI love mancI love manu I love arsenal Error I love arsenalI love manc I love arsenalI love mancI love manu I love arsenal Error ANSWER DOWNLOAD EXAMIANS APP