You think you know PHP. Quiz Results!
1. What will be the output of the following code?
echo date('Y-m-d', strtotime('-1 month ago'));
- Error
- One month ago from the current date and time
- One month in the future from the current date and time correct answer (ref)

2. Is it possible to extend an interface with an abstract class?
- Yes correct answer (ref)
- No

3. What is the output of the following code?
- Error
- 0
- 1 correct answer (ref)
- 2

4. What is the output of the following code?
- An error
- h
- e correct answer (ref)
- ello world

5. What is the output of the following code?
- Foo bar
- Foo Bar correct answer (ref)
- FOO BAR
- foo bar

Related posts:
(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)
Tags:




