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 2 Function b is declared twice.
1 Answers 4 viewsAnswer: Option 3 b is declared as TV() is executed first.
1 Answers 2 viewsAnswer: Option 3 If a break statement isn’t present, all subsequent case blocks will execute until a break statement is located.
1 Answers 3 viewsAnswer: Option 3 In PHP, all variables are case-sensitive.
1 Answers 8 viewsAnswer: Option 1 # is a single line comment.
1 Answers 1 viewsAnswer: Option 4 It would have printed echo “Hello world” if the statement was echo “echo ”Hello World””;.
1 Answers 1 viewsAnswer: Option 2 Constants can be set as values for other constants.
1 Answers 1 views