I've seen a few codes of OOP in PHP and wondered the same thing about them all.
In some codes you see something like this:
And then you might see:PHP Code:$some_random_thing = $class::SOMETHINGHERE;
What is the difference between them? I think the top example is a static or something? I'm not entirely sure.PHP Code:$some_random_thing = $class->SOMETHINGHERE;
It's not important - I just want to know the difference between them.


Reply With Quote![[PHP] A small question about OOP](http://ragezone.com/hyper728.png)


