KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I'm working on this PHP code collaboration and it seems that some people access PHP StdClass fields like this $body->head and others like $body->{'head'} As far as I can tell these are equivalent. Are they? Does it matter which is used? Which way would you prefer? Any quirks to look out for here?
Tags (comma-separated)
Save Edits
Cancel