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!
It's just a way of calling a function inside an object. In the instance above, the function "else" from the object "something". If you look in the PHP manual in the objects/classes section you'll see it used all over the place
What you see in a foreach is actually this =>. Look into associative arrays to understand it.
( maybe you did see this -> in a foreach and i'm just assuming wrong )
i understand it all, its classes and all, i had never really looked into any such thing
but yes i have seen something like that where $bla is initiated with the new command and -> tells it that you want a certain function out of that class..