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?

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to