Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:27564 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 87661 invoked by uid 1010); 21 Jan 2007 16:24:55 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 87646 invoked from network); 21 Jan 2007 16:24:55 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 21 Jan 2007 16:24:55 -0000 Authentication-Results: pb1.pair.com header.from=schultz@widescreen.ch; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=schultz@widescreen.ch; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain widescreen.ch from 62.2.95.247 cause and error) X-PHP-List-Original-Sender: schultz@widescreen.ch X-Host-Fingerprint: 62.2.95.247 mxout.hispeed.ch Linux 2.4/2.6 Received: from [62.2.95.247] ([62.2.95.247:49674] helo=smtp.hispeed.ch) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 25/0C-33373-6D393B54 for ; Sun, 21 Jan 2007 11:24:55 -0500 Received: from [127.0.0.1] (84-72-85-223.dclient.hispeed.ch [84.72.85.223]) (authenticated bits=0) by smtp.hispeed.ch (8.12.11.20060308/8.12.11/taifun-1.0) with ESMTP id l0LGOpEj015999; Sun, 21 Jan 2007 17:24:51 +0100 Message-ID: <45B393D6.6030408@widescreen.ch> Date: Sun, 21 Jan 2007 17:24:54 +0100 User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Andreas Korthaus , internals@lists.php.net References: <45B0E1EE.2030102@widescreen.ch> <45B0FC43.1090708@web.de> In-Reply-To: <45B0FC43.1090708@web.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 0704-0, 18.01.2007), Outbound message X-Antivirus-Status: Clean X-Virus-Scanned: ClamAV version 0.88.7, clamav-milter version 0.88.7 on smtp-01.tornado.cablecom.ch X-Virus-Status: Clean X-DCC-spamcheck-01.tornado.cablecom.ch-Metrics: smtp-01.tornado.cablecom.ch 1377; Body=2 Fuz1=2 Fuz2=2 Subject: Re: PHP Object-Caching and Reference Counting From: schultz@widescreen.ch (Lars Schultz) Andreas Korthaus wrote: > Some time ago I created a patch to implement a ref_count() function > which works the way you suggested. But I'm not sure if it's > OK/complete... and I'm not sure if something like that is really > needed in the core (and I'm definetly not the person to decide on that > ;-)). Wow! This is great news...though I have no idea what to do with the patch and how to apply it to the php-source-code. The trouble is that I have to use the default php-engine because it should be runnable on any host...with some extensions. I don't guess it'd be possible to pack the functionality into en extension which could then be loaded more easily into the engine? > Anyway, I attatched a simple patch against current 5_2 branch to this > mail, perhaps it helps. Thanks anyway! It was an interesting read though my c and c++ knowledge is far from complete so i don't understand the workings, really...Maybe, if I feel restless, I'll have a look at the sources, though I wouldn't know where to start.