Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:28608 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 28208 invoked by uid 1010); 26 Mar 2007 22:17:03 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 28192 invoked from network); 26 Mar 2007 22:17:03 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 26 Mar 2007 22:17:03 -0000 Authentication-Results: pb1.pair.com smtp.mail=stas@zend.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=stas@zend.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 63.205.162.114 as permitted sender) X-PHP-List-Original-Sender: stas@zend.com X-Host-Fingerprint: 63.205.162.114 unknown Windows 2000 SP4, XP SP1 Received: from [63.205.162.114] ([63.205.162.114:16457] helo=us-ex1.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 03/02-07247-D5648064 for ; Mon, 26 Mar 2007 17:17:03 -0500 Received: from [127.0.0.1] ([192.168.16.109]) by us-ex1.zend.com with Microsoft SMTPSVC(6.0.3790.1830); Mon, 26 Mar 2007 15:16:59 -0700 Message-ID: <46084657.50302@zend.com> Date: Mon, 26 Mar 2007 15:16:55 -0700 Organization: Zend Technologies User-Agent: Thunderbird 2.0b2 (Windows/20070116) MIME-Version: 1.0 To: Andrei Zmievski CC: Sebastian Bergmann , internals@lists.php.net References: <4608030B.9060904@zend.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 26 Mar 2007 22:16:59.0279 (UTC) FILETIME=[78CD91F0:01C76FF4] Subject: Re: [PHP-DEV] Order of parent and child classes in EG(class_table) From: stas@zend.com (Stanislav Malyshev) > What about the case where dl() is used? AFAIK the classes defined in > dl()'ed files always go at the end of the class table. Any class that is defined goes at the end of the class table existing at the time, no matter if it's dl() or not. If loaded extension defines classes derived from existing ones, they would be after existing classes. If it defines both parent and child class, then in theory it could do it so that child class would enter the class table before the parent class, but it'd be quite broken extension. -- Stanislav Malyshev, Zend Products Engineer stas@zend.com http://www.zend.com/