You think you know PHP. Quiz Results!
Join the DZone community and get the full member experience.
Join For Free1. 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:
PHP
Published at DZone with permission of Stoimen Popov, DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.
Comments