Re: Re: zval "passthrough"?
| From: | Ondrej Ivanič | Date: | Mon, 10 Oct 2005 09:01:16 +0000 |
| Subject: | Re: Re: zval "passthrough"? | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-19545@lists.php.net to get a copy of this message | ||
David Olsson wrote:
malloc to allocate memory. This means that my memory allocations using c++ new should allocate persistent memory chunks. So the persistent/non-persistent memory issue doesn't explain why my std::map simply is empty. The fact that it contain zval pointers pointing to invalid memory I understand but I don't get why it gets emptied. Any ideas?Overload new and delete operators? -- Ondrej Ivanic (ondrej@kmit.sk)