Received: from relay.freestart.hu (mx.freestart.hu [213.197.64.3]) by postgresql.org (8.11.3/8.11.1) with ESMTP id f3TBnO353560 for ; Sun, 29 Apr 2001 07:49:24 -0400 (EDT) (envelope-from pgerzson@freestart.hu) Received: from jaguar (line-73-164.dial.freestart.hu [213.197.73.164]) by relay.freestart.hu (Postfix) with SMTP id 4BA1B2E07 for ; Sun, 29 Apr 2001 13:49:33 +0200 (MET DST) Message-ID: <003101c0d0a2$9c2f5180$a449c5d5@jaguar> From: "Gyozo Papp" Cc: "[PHP] PostgreSQL" References: <000b01c0cf30$c86adbc0$0200a8c0@server> <002801c0cf37$90aece60$330a0a0a@rutgersinsurance.com> <01d701c0cfd1$da709660$1a49c5d5@jaguar> <181165689890.20010428173814@harrison.org> Subject: inherited method call - I got it! Date: Sun, 29 Apr 2001 13:50:38 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by postgresql.org id f3TBnO353562 X-Archive-Number: 200104/56 X-Sequence-Number: 309 First, thank all of you for your guess & tips. It wouldn't be so weird to find the right answer if I was thinking about the similarity of PHP and C++ syntax. and one more pleasure, function overriding is enable and working correctly and all the functions are virtual! OO support of PHP is great! (except multiple inheritance) So I 've got the answer, look: class A { // you've already known it! } class B extends A { function f1($x) { A::f1($x*4); // ancestor class name double colon as the same in C++ $this->x *= 2; } }