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 trialDon Shipley
19,488 PointsOOP Quiz question 3 of 7
A ________ is what we call a function inside of a class. I am confused.... From php.net A class may contain its own constants, variables (called "properties"), and functions (called "methods"). Yet methods fails/
4 Answers
Aaron Graham
18,033 PointsTry method without the 's'. Some of these questions are really picky...
Don Shipley
19,488 PointsI did several times failed. than passed with method. failed using method so looked it up on php.net tried methods failed than put in method again passed... And yes these test question can be to picky.. If I get it wrong show me where to study so I can learn to pass.... Thank you Aaron for your reply
Rashaad Prince
7,129 Points"If I get it wrong show me where to study so I can learn to pass" <--- Second that!
ankushdharkar
7,530 PointsYou got the basic answer right and got caught in the wonderful (yet annoying) technicalities of the English language.
'Function' is singular, so the answer is 'method' (singular too).
toy Ade
789 Pointsthe answer is method