Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

PHP Object-Oriented PHP Basics (Retired) Inheritance, Interfaces, and Exceptions Inheritance to Interfaces

Sherry Jones
Sherry Jones
2,355 Points

Oop interfaces, ques "Go to the following link..." asks you to answer wrongly and marks it as wrong. Confusing.

The instruction say to select the one answer that is wrong and then, of course, marks it as wrong. Why?

2 Answers

Colin Bell
Colin Bell
29,679 Points

What do you mean it asks you to answer wrongly?

The question is:

Go to the following link on php.net and read about interfaces. Then choose the first paragraph as the answer. While you are there, you should review the page!

If you go to the link, the first paragraph is:

Object interfaces allow you to create code which specifies which methods a class must implement, without having to define how these methods are handled.

Sherry Jones
Sherry Jones
2,355 Points

Must be the literal English teacher in me. "Then" appeared to signify a return to the page with the question when it meant the next step while on the PHP page. The context of the next sentence should have clued me, but I guess I had tunnel vision by that point. Thank you.