PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
$session is an instantiated object (you don't show us enough code for us to identify what class it might be), and this syntax returns the "logged_in" attribute of that object.
The "logged_in" attribute is probably a boolean in this case
TheBrandon wrote:Can you recommend somewhere to learn about this syntax further?
It definitely interests me.
The PHP manual is always useful: but probably only if you're already familiar with the principles of OOP, and want to know how they can be applied (and what limitations apply) in PHP.
I'm not sure where the best place to learn OOP principles would be, but I'm sure other people can help give you a few leads on that. It is worth learning if you want to do serious coding work.