# Cross-extension resource

- Thread: https://externals.io/message/26749
- Original archive: https://news-web.php.net/php.internals/26749
- Started by Sara Golemon on 2006-12-01T18:06:46+00:00
- Messages: 1
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #26749 — Sara Golemon — 2006-12-01T18:06:46+00:00

URL: https://externals.io/message/26749#26749

> Sorry if the question was answered before, I will try to look harder next
> time.
> 
Don't worry, that comment wasn't meant as a reproach.  Just an 
expression of surprise at the number of times I've been asked about it. 
  Most of these queries have been offlist though, so it's not surprising 
that you didn't see them.

> - The php_mysql.h file doesn't include the constants for the resource name,
> so I defined a constant in my own code.
> - The php_mysql_conn type is not defined in the .h file, so it was also
> replicated.
> 
Yeah, that's the awkward part of sharing resources that weren't designed 
to be shared.  Unfortunately there's no good solution for it beyond what 
you've done.

> You're again right about the inclusion of the function in Appendix A, I was
> worried if this usage was "correct" enough.
> 
Sure sure, the coverage wasn't in-depth, just a note that the function 
exists and here's how to call it.  I'd expect it to need a little 
clarification...

-Sara
