thanks for your reply
I get it now
using :: is just static
while the other way I could do
$myclass1 = new myclass("yourname")
$myclass2 = new myclass("myname")
then $myclass1 and $myclass2 would refer to the same class but have different properties..
intresting stuff....
but why php can only extend one class?
__________________
------
Offcourse its a dude posting here. Probably a fut ugly one too. Fuck still people falling for this 100 year old trick
|