View Single Post
Old 10-31-2009, 03:15 PM  
ro8in
Confirmed User
 
ro8in's Avatar
 
Industry Role:
Join Date: Sep 2006
Posts: 1,542
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

Last edited by ro8in; 10-31-2009 at 03:17 PM..
ro8in is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote