Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

You think you know PHP. Quiz Results!

DZone's Guide to

You think you know PHP. Quiz Results!

· Web Dev Zone ·
Free Resource

Jumpstart your Angular applications with Indigo.Design, a unified platform for visual design, UX prototyping, code generation, and app development.

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)
Answers of the first question

 


2. Is it possible to extend an interface with an abstract class?

  • Yes correct answer (ref)
  • No
Answers of the second question

 

3. What is the output of the following code?

  • Error
  • 0
  • 1 correct answer (ref)
  • 2
Answers of the third question

 

4. What is the output of the following code?

  • An error
  • h
  • e correct answer (ref)
  • ello world
Answers of the fourth question

 

5. What is the output of the following code?

  • Foo bar
  • Foo Bar correct answer (ref)
  • FOO BAR
  • foo bar
Answers of the fifth question

 

Related posts:

  1. You think you know javascript. Quiz results!
  2. You think you know algorithms. Quiz results!
  3. You think you know algorithms. Quiz results!

Take a look at the Indigo.Design sample applications to learn more about how apps are created with design to code software.

Topics:

Published at DZone with permission of

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}