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; All of the mentioned Only 3 Both 1 and 2 Only 1 All of the mentioned Only 3 Both 1 and 2 Only 1 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP strval() Accepts a value and converts it into an string dictionary Accepts a value and converts it into string equivalent Accepts a value and converts it into a string array None of above Accepts a value and converts it into an string dictionary Accepts a value and converts it into string equivalent Accepts a value and converts it into a string array None of above ANSWER DOWNLOAD EXAMIANS APP
Basic PHP The value of __NAMESPACE__ is a string that contains the current namespace name. In global, un-namespaced code, it contains . . . . . . NULL an empty string 0 gibberish value NULL an empty string 0 gibberish value 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"; } Error 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 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP We can use _________ to comment a single line?1. /?2. //3. #4. /* */ Only 2 2, 3 and 4 Both 2 and 4 1, 3 and 4 Only 2 2, 3 and 4 Both 2 and 4 1, 3 and 4 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP If $a = 12 what will be returned when ($a == 12) ? 5 : 1 is executed? 12 Error 5 1 12 Error 5 1 ANSWER DOWNLOAD EXAMIANS APP