hi... haven't used php classes.. so this might not pertain.. but do php classes have the concept of public/private functions? are the parent functions that you're trying to access public/private? -----Original Message----- From: blackwater dev [mailto:blackwaterdev@xxxxxxxxx] Sent: Tuesday, December 12, 2006 11:00 AM To: php-general@xxxxxxxxxxxxx Subject: inheritance php4 Ok, I have a class which inherits from a parent class. My first thought is that the child class inherits all of the functions of the parent but that doesn't seem to be the case, do I really have to put parent::somefunction() to call each one? Why can't I just use $this->parentfunction(); within the child class? Thanks! class Parent{ function getAddress(){} } class Child extends Parent{ function getInfo(){ $this->getAddress(); //throws error } } -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php