Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:49567 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 62529 invoked from network); 3 Sep 2010 21:50:56 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 3 Sep 2010 21:50:56 -0000 Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.54 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 74.125.82.54 mail-ww0-f54.google.com Received: from [74.125.82.54] ([74.125.82.54:43995] helo=mail-ww0-f54.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 20/51-52399-DBD618C4 for ; Fri, 03 Sep 2010 17:50:53 -0400 Received: by wwb17 with SMTP id 17so1859860wwb.11 for ; Fri, 03 Sep 2010 14:50:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=4tBUcrzHrOpBMlSlpMjK7//ErHGzu6JJC5O1Mcl6Nz4=; b=fGSIrAA4Dqpcx5hBypAiD2TBVPH/Erz9zf5ZPbbzQB4BFXZO+0DUyJWEpaMYcIIvU+ P2JsYFZp+FnKeutdeUVOkDjuyt9+FON0AJkqYYyxabwkOQWx/hm5mekwXIbSk9wW75Dd xtxjsAH26wfrZNkGggCtl+V9e2EUBaQodYdA0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=Vm4OzKzFD4OH85PmpUsQVov/1KHdh3hIjZpfqntX4nu8RGSl+Nvk6VwoLr5p7lB1I7 HuPdeE6V5itz0yffcGhPoVTSt4WAhLNt2tefaWt9Ub3L5H4dY7K6o0+W/ZTrvwVL6+tu fbH1Y/vpQqe0xu/RCM9Y5sndb9iFkK3VNqLaE= MIME-Version: 1.0 Received: by 10.227.147.204 with SMTP id m12mr249848wbv.131.1283550650646; Fri, 03 Sep 2010 14:50:50 -0700 (PDT) Received: by 10.227.149.220 with HTTP; Fri, 3 Sep 2010 14:50:50 -0700 (PDT) In-Reply-To: References: <81.35.47051.C61C08C4@pb1.pair.com> <2B.21.27233.A1ED08C4@pb1.pair.com> Date: Fri, 3 Sep 2010 23:50:50 +0200 Message-ID: To: Gustavo Lopes Cc: internals@lists.php.net Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [PHP-DEV] Re: remove or fix zend_object_proxies From: pierre.php@gmail.com (Pierre Joye) On Fri, Sep 3, 2010 at 11:40 PM, Gustavo Lopes wrote: > On Fri, 03 Sep 2010 22:25:00 +0100, Michael Wallner wrote: > >>> If they're not zend standard objects, don't >>> use zend_objects_destroy_object in your zend_objects_store_put call (or >>> NULL, which defaults to >>> zend_objects_destroy_object). The store accepts anything and even has a >>> clone callback specifically to make easier >>> the cloning of non-standard Zend objects. >> >> I didn't do anything. I tried to use the API like >> zend_object_create_proxy. >> I wonder what you're trying to tell me? >> > > Well... zend_object_create_proxy is broken. > > I'd say Dmitry broke it in revision 200527: > > http://svn.php.net/viewvc/php/php-src/trunk/Zend/zend_objects_API.c?r1=200526&r2=200527& > > zend_object_create_proxy should be changed to pass a no-op implementation to > zend_objects_store_put for the dtor callback or Dmitry's change should be > reverted. Is there any bug report about this breakage? Cheers, -- Pierre @pierrejoye | http://blog.thepimp.net | http://www.libgd.org