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!
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
M Glasser10,868 Points
Variable functions vs. regular string variables? How to tell the difference?
This is an interesting feature of PHP, but seems like you'd potentially run into some serious confusion when determining whether a variable is a function or a regular old string. They look the same, but if there's an existing function that takes the name of the string then it's a variable function. Is there some kind of PHP convention I'm missing or some other way to tell the difference between the two?