FAQ
I am trying to use a php_stream* as a global
(and hence persistent) resource, but gdb detects
a memory leak at the end of the request, and subsequent
calls to the stream say the stream is no longer seekable.

How do I declare a php_stream (opened presumably with
php_stream_open_wrapper) to be a persistent resource,
such that I will close it only on module shutdown?

Cheers,

Andrew.

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupphp-internals @
categoriesphp
postedJul 3, '06 at 7:27p
activeJul 3, '06 at 7:27p
posts1
users1
websitephp.net

1 user in discussion

Andrew Mather: 1 post

People

Translate

site design / logo © 2022 Grokbase