Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:49559 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 80101 invoked from network); 3 Sep 2010 07:56:41 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 3 Sep 2010 07:56:41 -0000 X-Host-Fingerprint: 78.142.172.145 gate-g21.inqnet.at Received: from [78.142.172.145] ([78.142.172.145:5922] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 19/14-47051-73AA08C4 for ; Fri, 03 Sep 2010 03:56:40 -0400 Message-ID: <19.14.47051.73AA08C4@pb1.pair.com> To: internals@lists.php.net Date: Fri, 03 Sep 2010 09:56:36 +0200 User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.8) Gecko/20100806 Lanikai/3.1.2 MIME-Version: 1.0 References: <20100902172904.GC31219@croustillant.local> In-Reply-To: <20100902172904.GC31219@croustillant.local> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Posted-By: 78.142.172.145 Subject: Re: [PHP-DEV] zend_register_class() overwrites ce->create_objectwith parent_ce->create_object? From: mike@php.net (Michael Wallner) On 09/02/2010 07:29 PM, Etienne Kneuss wrote: > Why can't you simply overwrite it afterwards? Just like it's done in > SPL: > > http://php-og.mgdm.net/opengrok/xref/PHP_5_3/ext/spl/spl_functions.c#41 doh! Thanks for pointing a lame duck to the obvious. :) Mike