class inheritance

From: Date: Mon, 08 May 2006 23:32:10 +0000
Subject: class inheritance
Groups: php.internals 
Request: Send a blank email to internals+get-23202@lists.php.net to get a copy of this message
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

« previous php.internals (#23202) next »