Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:23048 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 656 invoked by uid 1010); 30 Apr 2006 05:24:46 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 641 invoked from network); 30 Apr 2006 05:24:46 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 30 Apr 2006 05:24:46 -0000 X-PHP-List-Original-Sender: bfoz@bfoz.net X-Host-Fingerprint: 63.240.77.81 sccrmhc11.comcast.net NetCache Data OnTap 5.x Received: from ([63.240.77.81:46252] helo=sccrmhc11.comcast.net) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 2F/81-18514-D1A44544 for ; Sun, 30 Apr 2006 01:24:45 -0400 Received: from [192.168.0.5] (c-24-6-134-233.hsd1.ca.comcast.net[24.6.134.233]) by comcast.net (sccrmhc11) with ESMTP id <2006043005244201100r1scse>; Sun, 30 Apr 2006 05:24:42 +0000 Message-ID: <44544A19.3060101@bfoz.net> Date: Sat, 29 Apr 2006 22:24:41 -0700 User-Agent: Thunderbird 1.5 (X11/20060401) MIME-Version: 1.0 To: Brandon Fosdick CC: internals@lists.php.net References: <4454491A.3090303@bfoz.net> In-Reply-To: <4454491A.3090303@bfoz.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] resources vs objects? From: bfoz@bfoz.net (Brandon Fosdick) Brandon Fosdick wrote: >> From the point of view of an extension, what's the difference between >> a resource and an object? Is there any reason to favor one over the >> other? > > sqlite seems to use resources for the procedural interface and objects > otherwise. Whereas mysqli uses objects all around in user space, but > then maps them to resources in the background. Why use objects only to > map them to resources? Are resources somehow special? > Sorry for the double post. Thunderbird suddenly went crazy...and seems to have taken firefox with it. I don't know why one part is quoted either, that really should have been a single original message. Sorry about that.