I use PHP all the time but I have never understood (never bothered to find out) what advatages there are of one over the other. I normaly use $class->method(); what would be the difference in using $class::method(); sytax ?
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
[php] :: or -> | 0 | 38 | February 24, 2004 | |
Quik PHP question
|
4 | 58 | May 27, 2004 | |
Quik PHP question
|
0 | 117 | May 24, 2004 | |
Is "this.something" always faster than"something" inside a class? | 0 | 68 | August 4, 2008 | |
Using "this"
|
0 | 93 | November 17, 2010 |