Re: Re: cvs: php-src / NEWS /ext/pgsql config.m4 config.w32 pgsql.c /ext/pgsql/tests 08escape.phpt 25async_query_params.phpt
| From: | Rasmus Lerdorf | Date: | Wed, 30 Mar 2005 04:43:07 +0000 |
| Subject: | Re: Re: cvs: php-src / NEWS /ext/pgsql config.m4 config.w32 pgsql.c /ext/pgsql/tests 08escape.phpt 25async_query_params.phpt | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-15676@lists.php.net to get a copy of this message | ||
Christopher Kings-Lynne wrote:
(Reposted to correct list - can someone help here?) I want to return a string allocated by the postgresql library. However, PHP ends up efree()ing it I think, which causes a miscount error. How can I deal with this? What can I do about this?If you really don't want to estrndup it for some reason, you are going to need to return a resource and manage that memory yourself through a set of access functions. -Rasmus