Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:23202 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 89437 invoked by uid 1010); 8 May 2006 23:14:29 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 89421 invoked from network); 8 May 2006 23:14:29 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 8 May 2006 23:14:29 -0000 X-PHP-List-Original-Sender: tm@ippfp.org X-Host-Fingerprint: 212.227.126.177 moutng.kundenserver.de Received: from ([212.227.126.177:53158] helo=moutng.kundenserver.de) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 9E/F9-63885-4D0DF544 for ; Mon, 08 May 2006 19:14:29 -0400 Received: from [88.72.205.29] (helo=localhost) by mrelayeu.kundenserver.de (node=mrelayeu9) with ESMTP (Nemesis), id 0ML2xA-1FdEvo3iJ7-0000aF; Tue, 09 May 2006 01:14:25 +0200 To: internals Date: Tue, 9 May 2006 01:32:10 +0200 User-Agent: KMail/1.9.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-ID: <200605090132.11551.tm@ippfp.org> X-Provags-ID: kundenserver.de abuse@kundenserver.de login:aa225b5806905afbf14d50f30346eb07 Subject: class inheritance From: tm@ippfp.org (Thomas Moenicke) Hi, I have two classes, A and B: B inherits from A. B is written in PHP, A is implemented inside of an extension. B has an array: class B extends A { var $myArray = array("one", "two", "three"); function __construct() { parent::__construct(); } } Is it possible to access $myArray in the parents constructor? Therefor I need the zval* pointer of the child! I do not want to pass it as an argument. Thanks and regards, Thomas