Liquid Fire Posted April 18, 2007 Share Posted April 18, 2007 just wondering extends classes work like in php, when i create and class that entends from another classes, does teh parent classes __construct get called? sl i have class B extends class A and the i do $b = new B();, when i do that does class A __construct get called? Link to comment https://forums.phpfreaks.com/topic/47577-extended-classes/ Share on other sites More sharing options...
boo_lolly Posted April 18, 2007 Share Posted April 18, 2007 there is an OOP child forum here. just FYI. and take a look at the links in my signature under OOP. they should help. Link to comment https://forums.phpfreaks.com/topic/47577-extended-classes/#findComment-232249 Share on other sites More sharing options...
Liquid Fire Posted April 18, 2007 Author Share Posted April 18, 2007 did not see it, if a mod or admin see this, please move it there for me. I will post any more OOP question i have up there. Link to comment https://forums.phpfreaks.com/topic/47577-extended-classes/#findComment-232286 Share on other sites More sharing options...
MadTechie Posted April 18, 2007 Share Posted April 18, 2007 oop: PHP4 manual | PHP5 manual | spl | class index | wiki | history | tut | tut | tut | pdf or HERE Link to comment https://forums.phpfreaks.com/topic/47577-extended-classes/#findComment-232391 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.