- I am here to spoil this code
- Error
- My favourite TV show isI am here to spoil this code
- None of the mentioned
Answer: Option 3 The code uses preg_match to check for a keyword and replies based on whether it is true (1) or false (0).
1 Answers 2 viewsAnswer: Option 2 b is undeclared if TV() is not called first.
1 Answers 1 viewsAnswer: Option 1 This one works because b is declared independent of TV() also.
1 Answers 2 viewsAnswer: Option 3 b is declared as TV() is executed first.
1 Answers 2 viewsAnswer: Option 4 This will be the output- I am a Fatal error: Cannot redeclare b()
1 Answers 9 viewsAnswer: Option 3 This will be the output- Fatal error: Call to undefined function b(). You cannot call a function which is inside a function without calling the outside function.
1 Answers 3 viewsAnswer: Option 4 imple order of execution.
1 Answers 1 viewsAnswer: Option 2 The stripos() function finds the position of the first occurrence of a string inside another string.
1 Answers 1 viewsAnswer: Option 4 The ucwords() function converts the first character of each word in a string to uppercase.
1 Answers 2 viewsAnswer: Option 3 The code above converts all “_” to white spaces. Call the filter_var() function with the FILTER_CALLBACK filter and an array containing our function.
1 Answers 1 views