PHP programmers in here please!
if I had a class lets say
class myclass {
function myfunction() {
}
}
Why in the world would I do
$myclass = new myclass
and use the function as
$myclass->myfunction
while I can forget all that and just do
myclass::myfunction()
what can be a possible reason not to use the double colon way??
i can't think of any...
__________________
------
Offcourse its a dude posting here. Probably a fut ugly one too. Fuck still people falling for this 100 year old trick
|