Re: resources vs objects?

From: Date: Sun, 30 Apr 2006 05:24:41 +0000
Subject: Re: resources vs objects?
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-23048@lists.php.net to get a copy of this message
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.

« previous php.internals (#23048) next »